standardize the specfile
add some missing build requirements [release 5.9.0-2mamba;Sat Apr 25 2015]
This commit is contained in:
parent
6b6e7ef8a6
commit
b40d26f015
50
kauth.spec
50
kauth.spec
@ -1,7 +1,8 @@
|
|||||||
%define majver %(echo %version | cut -d. -f1-2)
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
|
|
||||||
Name: kauth
|
Name: kauth
|
||||||
Version: 5.9.0
|
Version: 5.9.0
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Execute actions as privileged user
|
Summary: Execute actions as privileged user
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -18,6 +19,14 @@ 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: libQt5Core
|
||||||
|
BuildRequires: libQt5Gui
|
||||||
|
BuildRequires: libQt5Widgets
|
||||||
|
BuildRequires: libQt5DBus
|
||||||
|
BuildRequires: libkcoreaddons-devel
|
||||||
|
BuildRequires: libpolkit-qt5-1-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -44,14 +53,15 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build
|
%cmake_kde5 -d build \
|
||||||
|
-DLIBEXEC_INSTALL_DIR=%{_kde5_libexecdir}
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall -C build
|
%makeinstall -C build
|
||||||
|
|
||||||
#%find_lang kauth5-qt
|
%find_lang kauth5-qt --with-qt --all-name || touch kcodecs5_qt.lang
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -59,32 +69,30 @@ 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 -n lib%{name}
|
%files -n lib%{name} -f kauth5-qt.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sysconfdir}/dbus-1/system.d/org.kde.kf5auth.conf
|
%{_kde5_libdir}/libKF5Auth.so.*
|
||||||
%{_libdir}/libKF5Auth.so.*
|
%{_kde5_qtplugindir}/kauth
|
||||||
%dir %{_libdir}/plugins/kauth
|
%{_kde5_libexecdir}/kauth/kauth-policy-gen
|
||||||
%dir %{_libdir}/plugins/kauth/helper
|
%{_kde5_sysconfdir}/dbus-1/system.d/org.kde.kf5auth.conf
|
||||||
%{_libdir}/plugins/kauth/helper/kauth_helper_plugin.so
|
|
||||||
%{_libdir}/plugins/kauth/backend/kauth_backend_plugin.so
|
|
||||||
%{_libdir}/libexec/kauth/kauth-policy-gen
|
|
||||||
%{_datadir}/locale/*/LC_MESSAGES/kauth5_qt.qm
|
|
||||||
%doc COPYING.LIB
|
%doc COPYING.LIB
|
||||||
|
|
||||||
%files -n lib%{name}-devel
|
%files -n lib%{name}-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/KF5/kauth_version.h
|
%{_kde5_includedir}/kauth_version.h
|
||||||
%dir %{_includedir}/KF5/KAuth
|
%{_kde5_includedir}/KAuth
|
||||||
%{_includedir}/KF5/KAuth/*
|
%{_kde5_libdir}/cmake/KF5Auth
|
||||||
%dir %{_libdir}/cmake/KF5Auth
|
%{_kde5_libdir}/libKF5Auth.so
|
||||||
%{_libdir}/cmake/KF5Auth/KF5Auth*.cmake
|
%{_kde5_mkspecsdir}/qt_KAuth.pri
|
||||||
%{_libdir}/libKF5Auth.so
|
%{_kde5_datadir}/kf5/kauth/dbus_policy.stub
|
||||||
/usr/mkspecs/modules/qt_KAuth.pri
|
%{_kde5_datadir}/kf5/kauth/dbus_service.stub
|
||||||
%{_datadir}/kf5/kauth/dbus_policy.stub
|
|
||||||
%{_datadir}/kf5/kauth/dbus_service.stub
|
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Apr 25 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.9.0-2mamba
|
||||||
|
- standardize the specfile
|
||||||
|
- add some missing build requirements
|
||||||
|
|
||||||
* Wed Apr 15 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
|
* Wed Apr 15 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user