[packages/kf5-kauth] - rename

witekfl witekfl at pld-linux.org
Wed Jul 9 21:46:17 CEST 2014


commit b84da427a8149f7af1185a166230e4a84d8ff0c8
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Wed Jul 9 21:18:44 2014 +0200

    - rename

 kf5-kauth.spec | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 96 insertions(+)
---
diff --git a/kf5-kauth.spec b/kf5-kauth.spec
new file mode 100644
index 0000000..0548405
--- /dev/null
+++ b/kf5-kauth.spec
@@ -0,0 +1,96 @@
+# TODO:
+# - proper place for *.pri,
+# - set ECM_MKSPECS_INSTALL_DIR in kde5-extra-cmake-modules
+# - _IMPORT_PREFIX also must be set somewhere
+# - runtime Requires if any
+# - these dirs are not own by any package
+#  /usr/include/KF5
+#  /usr/lib/libexec
+#  /usr/lib/plugins
+#  /usr/share/kf5
+%define         _state          stable
+%define		orgname		kauth
+
+Summary:	Execute actions as privileged user
+Name:		kde5-%{orgname}
+Version:	5.0.0
+Release:	0.1
+License:	GPL v2+/LGPL v2.1+
+Group:		X11/Libraries
+Source0:	ftp://ftp.kde.org/pub/kde/%{_state}/frameworks/%{version}/%{orgname}-%{version}.tar.xz
+# Source0-md5:	eeb5e576c9d0d098cfb9def812f04089
+URL:		http://www.kde.org/
+BuildRequires:	Qt5Core-devel >= 5.2.0
+BuildRequires:	Qt5DBus-devel
+BuildRequires:	Qt5Gui-devel >= 5.3.1
+BuildRequires:	Qt5Test-devel
+BuildRequires:	Qt5Widgets-devel
+BuildRequires:	cmake >= 2.8.12
+BuildRequires:	kde5-extra-cmake-modules >= 1.0.0
+BuildRequires:	kde5-kcoreaddons-devel >= %{version}
+BuildRequires:	polkit-qt-1-devel
+BuildRequires:	qt5-linguist
+BuildRequires:	rpmbuild(macros) >= 1.164
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+KAuth provides a convenient, system-integrated way to offload actions
+that need to be performed as a privileged user (root, for example) to
+small (hopefully secure) helper utilities.
+
+%package devel
+Summary:	Header files for %{orgname} development
+Summary(pl.UTF-8):	Pliki nagłówkowe dla programistów używających %{orgname}
+Group:		X11/Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for %{orgname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{orgname}.
+
+%prep
+%setup -q -n %{orgname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+	-DECM_MKSPECS_INSTALL_DIR=%{_libdir}/qt5/mkspecs/modules \
+	-D_IMPORT_PREFIX=%{_prefix} \
+	../
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build/ install \
+        DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{orgname}5_qt --with-qm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{orgname}5_qt.lang
+%defattr(644,root,root,755)
+%doc README.md
+/etc/dbus-1/system.d/org.kde.kf5auth.conf
+%attr(755,root,root) %ghost %{_libdir}/libKF5Auth.so.5
+%attr(755,root,root) %{_libdir}/libKF5Auth.so.5.0.0
+%dir %{_libdir}/libexec/kauth
+%attr(755,root,root) %{_libdir}/libexec/kauth/kauth-policy-gen
+%attr(755,root,root) %{_libdir}/plugins/kauth
+%{_datadir}/kf5/kauth
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KF5/KAuth
+%{_includedir}/KF5/kauth_version.h
+%attr(755,root,root) %{_libdir}/libKF5Auth.so
+%{_libdir}/cmake/KF5Auth
+%{_libdir}/qt5/mkspecs/modules/qt_KAuth.pri
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kf5-kauth.git/commitdiff/2fef16f7f5b6559b25feb491de437039e878454b



More information about the pld-cvs-commit mailing list