cosmetics, update URL, use %license

epel9
Rex Dieter 9 years ago
parent 37e2ca41a4
commit 352767ddc8

19
.gitignore vendored

@ -1,20 +1 @@
/knotifyconfig-4.100.0.tar.xz
/knotifyconfig-5.0.0.tar.xz
/knotifyconfig-5.1.0.tar.xz
/knotifyconfig-5.2.0.tar.xz
/knotifyconfig-5.3.0.tar.xz
/knotifyconfig-5.4.0.tar.xz
/knotifyconfig-5.5.0.tar.xz
/knotifyconfig-5.6.0.tar.xz
/knotifyconfig-5.7.0.tar.xz
/knotifyconfig-5.8.0.tar.xz
/knotifyconfig-5.9.0.tar.xz
/knotifyconfig-5.10.0.tar.xz
/knotifyconfig-5.11.0.tar.xz
/knotifyconfig-5.12.0.tar.xz
/knotifyconfig-5.13.0.tar.xz
/knotifyconfig-5.14.0.tar.xz
/knotifyconfig-5.15.0.tar.xz
/knotifyconfig-5.16.0.tar.xz
/knotifyconfig-5.17.0.tar.xz
/knotifyconfig-5.18.0.tar.xz /knotifyconfig-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 3 module for KNotify configuration Summary: KDE Frameworks 5 Tier 3 module for KNotify configuration
License: LGPLv2+ License: LGPLv2+
URL: http://www.kde.org URL: http://projects.kde.org/knotifyconfig
%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,19 +17,18 @@ 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: kf5-rpm-macros >= %{version}
BuildRequires: extra-cmake-modules >= %{version} BuildRequires: extra-cmake-modules >= %{version}
BuildRequires: phonon-qt5-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: kf5-kxmlgui-devel >= %{version}
BuildRequires: kf5-kwidgetsaddons-devel >= %{version}
BuildRequires: kf5-knotifications-devel >= %{version}
BuildRequires: kf5-kconfigwidgets-devel >= %{version}
BuildRequires: kf5-kcompletion-devel >= %{version} BuildRequires: kf5-kcompletion-devel >= %{version}
BuildRequires: kf5-kconfig-devel >= %{version} BuildRequires: kf5-kconfig-devel >= %{version}
BuildRequires: kf5-kconfigwidgets-devel >= %{version}
BuildRequires: kf5-ki18n-devel >= %{version} BuildRequires: kf5-ki18n-devel >= %{version}
BuildRequires: kf5-kio-devel >= %{version} BuildRequires: kf5-kio-devel >= %{version}
BuildRequires: kf5-knotifications-devel >= %{version}
BuildRequires: kf5-kwidgetsaddons-devel >= %{version}
BuildRequires: kf5-kxmlgui-devel >= %{version}
BuildRequires: kf5-rpm-macros >= %{version}
BuildRequires: phonon-qt5-devel
BuildRequires: qt5-qtbase-devel
Requires: kf5-filesystem >= %{version} Requires: kf5-filesystem >= %{version}
@ -40,7 +39,6 @@ Requires: kf5-filesystem >= %{version}
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}.
@ -50,13 +48,14 @@ developing applications that use %{name}.
%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/fast DESTDIR=%{buildroot} -C %{_target_platform} make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang knotifyconfig5_qt --with-qt --all-name %find_lang knotifyconfig5_qt --with-qt --all-name
@ -66,18 +65,22 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files -f knotifyconfig5_qt.lang %files -f knotifyconfig5_qt.lang
%doc COPYING.LIB README.md %doc README.md
%license COPYING.LIB
%{_kf5_libdir}/libKF5NotifyConfig.so.* %{_kf5_libdir}/libKF5NotifyConfig.so.*
%files devel %files devel
%{_kf5_includedir}/knotifyconfig_version.h %{_kf5_includedir}/knotifyconfig_version.h
%{_kf5_includedir}/KNotifyConfig %{_kf5_includedir}/KNotifyConfig/
%{_kf5_libdir}/libKF5NotifyConfig.so %{_kf5_libdir}/libKF5NotifyConfig.so
%{_kf5_libdir}/cmake/KF5NotifyConfig %{_kf5_libdir}/cmake/KF5NotifyConfig/
%{_kf5_archdatadir}/mkspecs/modules/qt_KNotifyConfig.pri %{_kf5_archdatadir}/mkspecs/modules/qt_KNotifyConfig.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