packages: polkit-qt-1/polkit-qt-1.spec (NEW) - polkit-qt successor; initial...

shadzik shadzik at pld-linux.org
Thu Dec 24 00:18:46 CET 2009


Author: shadzik                      Date: Wed Dec 23 23:18:46 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- polkit-qt successor; initial may not work

---- Files affected:
packages/polkit-qt-1:
   polkit-qt-1.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/polkit-qt-1/polkit-qt-1.spec
diff -u /dev/null packages/polkit-qt-1/polkit-qt-1.spec:1.1
--- /dev/null	Thu Dec 24 00:18:46 2009
+++ packages/polkit-qt-1/polkit-qt-1.spec	Thu Dec 24 00:18:40 2009
@@ -0,0 +1,123 @@
+# $Revision$, $Date$
+%define		qtver	4.6.0
+
+Summary:	Polkit-qt-1 wrapper library around polkit-gobject and polkit-agent
+Name:		polkit-qt-1
+Version:	0.95.1
+Release:	1
+License:	GPL v2
+Group:		Libraries
+Source0:	ftp://ftp.kde.org/pub/kde/stable/%{name}/%{name}-%{version}.tar.bz2
+# Source0-md5:	b5c5017058ab0f3bc7eb337a7c66e0bc
+URL:		http://www.kde.org/
+BuildRequires:	QtCore-devel >= %{qtver}
+BuildRequires:	QtDBus-devel >= %{qtver}
+BuildRequires:	QtGui-devel >= %{qtver}
+BuildRequires:	automoc4
+BuildRequires:	cmake
+BuildRequires:	polkit-devel >= 0.95
+BuildRequires:	qt4-build >= %{qtver}
+BuildRequires:	qt4-qmake >= %{qtver}
+BuildRequires:	pkgconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Polkit-qt-1 is a wrapper library around polkit-gobject and polkit-agent, which lets developers write easily applications using polkit-1, and even write custom authentication agents.
+
+%package devel
+Summary:	Polkit-qt-1 development files
+License:	GPL v2
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-gui = %{version}-%{release}
+
+%description devel
+Polkit-qt-1 header files.
+
+%package gui
+Summary:	Polkit-qt-1 use the PolicyKit API through Qt-styled API
+License:	GPL v2
+Group:		Libraries
+
+%description gui
+Polkit-qt-1 gui.
+
+%prep
+%setup -q
+
+%build
+install -d build
+cd build
+%cmake \
+	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+	-LCMS_DIR=%{_libdir} \
+	-DLIB_INSTALL_DIR=%{_libdir} \
+	-DCMAKE_BUILD_TYPE=%{!?debug:release}%{?debug:debug} \
+%if "%{_lib}" == "lib64"
+	-DLIB_SUFFIX=64 \
+%endif
+	../
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	kde_htmldir=%{_kdedocdir} \
+	kde_libs_htmldir=%{_kdedocdir}
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %ghost %{_libdir}/libpolkit-qt-core.so.?
+%attr(755,root,root) %{_libdir}/libpolkit-qt-core.so.*.*.*
+
+%files gui
+%defattr(644,root,root,755)
+%attr(755,root,root) %ghost %{_libdir}/libpolkit-qt-gui.so.?
+%attr(755,root,root) %{_libdir}/libpolkit-qt-gui.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libpolkit-qt-core.so
+%attr(755,root,root) %{_libdir}/libpolkit-qt-gui.so
+%{_includedir}/PolicyKit/polkit-qt
+%{_libdir}/pkgconfig/*.pc
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/12/23 23:18:40  shadzik
+- polkit-qt successor; initial may not work
+
+Revision 1.7  2009/12/23 22:55:38  shadzik
+- 0.9.3 final and last release
+- will be soon obsolete
+
+Revision 1.6  2009/12/20 13:56:04  shadzik
+- current snap 1064260
+
+Revision 1.5  2009/11/17 21:51:20  zbyniu
+- missing BRs; cleanup
+
+Revision 1.4  2009/07/29 19:59:39  arekm
+- rel 2
+
+Revision 1.3  2009/06/11 20:37:19  cactus
+- up to 0.9.2 r980477
+- use svn export instread checkout
+
+Revision 1.2  2009/05/26 11:52:16  paszczus
+- updated to r973053
+
+Revision 1.1  2009/04/29 06:58:11  paszczus
+- initial
================================================================


More information about the pld-cvs-commit mailing list