|
|
|
@ -2,11 +2,11 @@
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
|
Version: 5.18.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: KDE Frameworks 5 Tier 1 addon with archive functions
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+ and BSD
|
|
|
|
|
URL: http://www.kde.org
|
|
|
|
|
URL: http://projects.kde.org/karchive
|
|
|
|
|
|
|
|
|
|
%global versiondir %(echo %{version} | cut -d. -f1-2)
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
@ -17,13 +17,12 @@ URL: http://www.kde.org
|
|
|
|
|
%endif
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
BuildRequires: bzip2-devel
|
|
|
|
|
BuildRequires: xz-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{version}
|
|
|
|
|
BuildRequires: extra-cmake-modules >= %{version}
|
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{version}
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
BuildRequires: xz-devel
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
|
|
|
|
|
Requires: kf5-filesystem >= %{version}
|
|
|
|
|
|
|
|
|
@ -35,7 +34,6 @@ KDE Frameworks 5 Tier 1 addon with archive functions.
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
@ -44,34 +42,40 @@ developing applications that use %{name}.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{framework}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
|
pushd %{_target_platform}
|
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install -C %{_target_platform}
|
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS COPYING COPYING.LIB README.md
|
|
|
|
|
%doc AUTHORS README.md
|
|
|
|
|
%license COPYING COPYING.LIB
|
|
|
|
|
%{_kf5_libdir}/libKF5Archive.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_kf5_includedir}/karchive_version.h
|
|
|
|
|
%{_kf5_includedir}/KArchive
|
|
|
|
|
%{_kf5_includedir}/KArchive/
|
|
|
|
|
%{_kf5_libdir}/libKF5Archive.so
|
|
|
|
|
%{_kf5_libdir}/cmake/KF5Archive
|
|
|
|
|
%{_kf5_libdir}/cmake/KF5Archive/
|
|
|
|
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KArchive.pri
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jan 14 2016 Rex Dieter <rdieter@fedoraproject.org> 5.18.0-2
|
|
|
|
|
- cosmetics, update URL, use %%license
|
|
|
|
|
|
|
|
|
|
* Sun Jan 03 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.18.0-1
|
|
|
|
|
- KDE Frameworks 5.18.0
|
|
|
|
|
|
|
|
|
|