83 lines
1.9 KiB
RPMSpec
83 lines
1.9 KiB
RPMSpec
%undefine __cmake_in_source_build
|
|
%global framework prison
|
|
|
|
Name: kf5-%{framework}
|
|
Summary: KDE Frameworks 5 Tier 1 barcode library
|
|
Version: 5.113.0
|
|
Release: 1
|
|
|
|
License: BSD
|
|
URL: https://invent.kde.org/frameworks/%{framework}
|
|
|
|
%global majmin %majmin_ver_kf5
|
|
%global stable %stable_kf5
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
|
|
|
|
BuildRequires: extra-cmake-modules >= %{majmin}
|
|
BuildRequires: kf5-rpm-macros >= %{majmin}
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
BuildRequires: pkgconfig(Qt5Quick)
|
|
|
|
BuildRequires: pkgconfig(libdmtx)
|
|
BuildRequires: pkgconfig(libqrencode)
|
|
|
|
Requires: kf5-filesystem >= %{majmin}
|
|
|
|
%description
|
|
Prison is a Qt-based barcode abstraction layer/library that provides
|
|
an uniform access to generation of barcodes with data.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
|
|
%prep
|
|
%autosetup -n %{framework}-%{version} -p1
|
|
|
|
|
|
%build
|
|
%cmake_kf5
|
|
|
|
%make_build
|
|
|
|
|
|
%install
|
|
%make_install
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%files
|
|
%doc README*
|
|
%license LICENSES/*.txt
|
|
%{_kf5_datadir}/qlogging-categories5/%{framework}.*
|
|
%{_kf5_libdir}/libKF5Prison.so.5*
|
|
%{_kf5_qmldir}/org/kde/prison/
|
|
|
|
%files devel
|
|
%{_kf5_includedir}/Prison/
|
|
%{_kf5_libdir}/libKF5Prison.so
|
|
%{_kf5_libdir}/cmake/KF5Prison/
|
|
%{_kf5_archdatadir}/mkspecs/modules/qt_Prison.pri
|
|
|
|
|
|
%changelog
|
|
* Thu Jan 04 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 5.113.0-1
|
|
- Update package to version 5.113.0
|
|
|
|
* Thu Aug 03 2023 zhangkea <zhangkea@uniontech.cn> - 5.108.0-1
|
|
- Update version to 5.108.0
|
|
|
|
* Tue Mar 14 2023 tanyulong <tanyulong@kylinos.cn> - 5.100.0-1
|
|
- Update package to version 5.100.0
|
|
|
|
* Thu Jul 14 2022 misaka00251 <misaka00251@misakanet.cn> - 5.97.0-1
|
|
- Init package (Thanks to fedora team)
|