cosmetics, update URL, use %license

epel9
Rex Dieter 9 years ago
parent 34897381c2
commit c596a8d91f

20
.gitignore vendored

@ -1,21 +1 @@
/kidletime-4.99.0.tar.xz
/kidletime-4.100.0.tar.xz
/kidletime-5.0.0.tar.xz
/kidletime-5.1.0.tar.xz
/kidletime-5.2.0.tar.xz
/kidletime-5.3.0.tar.xz
/kidletime-5.4.0.tar.xz
/kidletime-5.5.0.tar.xz
/kidletime-5.6.0.tar.xz
/kidletime-5.7.0.tar.xz
/kidletime-5.8.0.tar.xz
/kidletime-5.9.0.tar.xz
/kidletime-5.10.0.tar.xz
/kidletime-5.11.0.tar.xz
/kidletime-5.12.0.tar.xz
/kidletime-5.13.0.tar.xz
/kidletime-5.14.0.tar.xz
/kidletime-5.15.0.tar.xz
/kidletime-5.16.0.tar.xz
/kidletime-5.17.0.tar.xz
/kidletime-5.18.0.tar.xz /kidletime-5.18.0.tar.xz

@ -2,11 +2,11 @@
Name: kf5-%{framework} Name: kf5-%{framework}
Version: 5.18.0 Version: 5.18.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 1 integration module for idle time detection Summary: KDE Frameworks 5 Tier 1 integration module for idle time detection
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
URL: http://www.kde.org URL: http://projects.kde.org/kidletime
%global versiondir %(echo %{version} | cut -d. -f1-2) %global versiondir %(echo %{version} | cut -d. -f1-2)
%global revision %(echo %{version} | cut -d. -f3) %global revision %(echo %{version} | cut -d. -f3)
@ -17,11 +17,10 @@ URL: http://www.kde.org
%endif %endif
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
BuildRequires: extra-cmake-modules >= %{version}
BuildRequires: kf5-rpm-macros >= %{version}
BuildRequires: libX11-devel BuildRequires: libX11-devel
BuildRequires: libxcb-devel BuildRequires: libxcb-devel
BuildRequires: kf5-rpm-macros >= %{version}
BuildRequires: extra-cmake-modules >= %{version}
BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtx11extras-devel BuildRequires: qt5-qtx11extras-devel
@ -34,7 +33,6 @@ KDE Frameworks 5 Tier 1 integration module for idle time detection.
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: qt5-qtbase-devel Requires: qt5-qtbase-devel
%description devel %description devel
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
@ -43,37 +41,42 @@ developing applications that use %{name}.
%prep %prep
%setup -q -n %{framework}-%{version} %setup -q -n %{framework}-%{version}
%build %build
mkdir -p %{_target_platform} mkdir %{_target_platform}
pushd %{_target_platform} pushd %{_target_platform}
%{cmake_kf5} .. %{cmake_kf5} ..
popd popd
make %{?_smp_mflags} -C %{_target_platform} make %{?_smp_mflags} -C %{_target_platform}
%install %install
%make_install -C %{_target_platform} make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%doc COPYING COPYING.LIB README.md %doc README.md
%license COPYING COPYING.LIB
%{_kf5_libdir}/libKF5IdleTime.so.* %{_kf5_libdir}/libKF5IdleTime.so.*
%dir %{_kf5_plugindir}/org.kde.kidletime.platforms %dir %{_kf5_plugindir}/org.kde.kidletime.platforms/
%{_kf5_plugindir}/org.kde.kidletime.platforms/KF5IdleTimeXcbPlugin0.so %{_kf5_plugindir}/org.kde.kidletime.platforms/KF5IdleTimeXcbPlugin0.so
%files devel %files devel
%doc
%{_kf5_includedir}/kidletime_version.h %{_kf5_includedir}/kidletime_version.h
%{_kf5_includedir}/KIdleTime %{_kf5_includedir}/KIdleTime/
%{_kf5_libdir}/libKF5IdleTime.so %{_kf5_libdir}/libKF5IdleTime.so
%{_kf5_libdir}/cmake/KF5IdleTime %{_kf5_libdir}/cmake/KF5IdleTime/
%{_kf5_archdatadir}/mkspecs/modules/qt_KIdleTime.pri %{_kf5_archdatadir}/mkspecs/modules/qt_KIdleTime.pri
%changelog %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 * Sun Jan 03 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.18.0-1
- KDE Frameworks 5.18.0 - KDE Frameworks 5.18.0

Loading…
Cancel
Save