fix license and standardize the specfile
obsoletes the kdbusaddons package [release 5.9.0-4mamba;Sat Apr 25 2015]
This commit is contained in:
parent
33fce78690
commit
09610db27d
@ -1,7 +1,8 @@
|
|||||||
%define majver %(echo %version | cut -d. -f1-2)
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
|
|
||||||
Name: kdbusaddons
|
Name: kdbusaddons
|
||||||
Version: 5.9.0
|
Version: 5.9.0
|
||||||
Release: 3mamba
|
Release: 4mamba
|
||||||
Summary: Convenience classes for DBus
|
Summary: Convenience classes for DBus
|
||||||
Group: System/Tools
|
Group: System/Tools
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -9,7 +10,7 @@ Distribution: openmamba
|
|||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.kde.org
|
URL: http://www.kde.org
|
||||||
Source: http://download.kde.org/stable/frameworks/%{majver}/kdbusaddons-%{version}.tar.xz
|
Source: http://download.kde.org/stable/frameworks/%{majver}/kdbusaddons-%{version}.tar.xz
|
||||||
License: GPL
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
@ -17,6 +18,13 @@ BuildRequires: libqt5-devel
|
|||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
BuildRequires: extra-cmake-modules
|
||||||
|
BuildRequires: rpm-macros-kde5
|
||||||
|
BuildRequires: libQt5Gui
|
||||||
|
BuildRequires: libQt5X11Extras
|
||||||
|
BuildRequires: libQt5Core
|
||||||
|
BuildRequires: libQt5DBus
|
||||||
|
BuildRequires: libQt5Test
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
@ -26,6 +34,8 @@ KDBusAddons provides convenience classes on top of QtDBus, as well as an API to
|
|||||||
%package -n lib%{name}
|
%package -n lib%{name}
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: Convenience classes for DBus
|
Summary: Convenience classes for DBus
|
||||||
|
Obsoletes: kdbusaddons =< 5.9.0-3mamba
|
||||||
|
Provides: kdbusaddons = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
%description -n lib%{name}
|
%description -n lib%{name}
|
||||||
KDBusAddons provides convenience classes on top of QtDBus, as well as an API to create KDED modules.
|
KDBusAddons provides convenience classes on top of QtDBus, as well as an API to create KDED modules.
|
||||||
@ -47,14 +57,14 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build
|
%cmake_kde5 -d build
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall -C build
|
%makeinstall -C build
|
||||||
|
|
||||||
%find_lang %{name} || touch %{name}.lang
|
%find_lang kdbusaddons5_qt --with-qt --all-name || touch kdbusaddons5_qt.lang
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -62,28 +72,26 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%post -n lib%{name} -p /sbin/ldconfig
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
%postun -n lib%{name} -p /sbin/ldconfig
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -n lib%{name} -f kdbusaddons5_qt.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/kquitapp5
|
%{_kde5_bindir}/kquitapp5
|
||||||
|
%{_kde5_libdir}/libKF5DBusAddons.so.*
|
||||||
%files -n lib%{name}
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libKF5DBusAddons.so.*
|
|
||||||
%{_datadir}/locale/*/LC_MESSAGES/kdbusaddons5_qt.qm
|
|
||||||
%doc COPYING.LIB
|
%doc COPYING.LIB
|
||||||
|
|
||||||
%files -n lib%{name}-devel
|
%files -n lib%{name}-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_includedir}/KF5/KDBusAddons
|
%{_kde5_includedir}/KDBusAddons
|
||||||
%{_includedir}/KF5/KDBusAddons/*
|
%{_kde5_includedir}/kdbusaddons_version.h
|
||||||
%{_includedir}/KF5/kdbusaddons_version.h
|
%{_kde5_libdir}/cmake/KF5DBusAddons
|
||||||
%dir %{_libdir}/cmake/KF5DBusAddons
|
%{_kde5_libdir}/libKF5DBusAddons.so
|
||||||
%{_libdir}/cmake/KF5DBusAddons/KF5DBusAddons*.cmake
|
%{_kde5_mkspecsdir}/qt_KDBusAddons.pri
|
||||||
%{_libdir}/libKF5DBusAddons.so
|
|
||||||
/usr/mkspecs/modules/qt_KDBusAddons.pri
|
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Apr 25 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.9.0-4mamba
|
||||||
|
- fix license and standardize the specfile
|
||||||
|
- obsoletes the kdbusaddons package
|
||||||
|
|
||||||
* Sat Apr 11 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.0-3mamba
|
* Sat Apr 11 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.0-3mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user