packages: polkit-qt/polkit-qt.spec - updated to 0.9.4 - split core/gui part...
qboosh
qboosh at pld-linux.org
Sun Nov 14 10:35:13 CET 2010
Author: qboosh Date: Sun Nov 14 09:35:13 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- updated to 0.9.4
- split core/gui parts
- real descriptions
---- Files affected:
packages/polkit-qt:
polkit-qt.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: packages/polkit-qt/polkit-qt.spec
diff -u packages/polkit-qt/polkit-qt.spec:1.9 packages/polkit-qt/polkit-qt.spec:1.10
--- packages/polkit-qt/polkit-qt.spec:1.9 Fri Jan 8 09:44:46 2010
+++ packages/polkit-qt/polkit-qt.spec Sun Nov 14 10:35:08 2010
@@ -1,14 +1,15 @@
# $Revision$, $Date$
%define qtver 4.6.0
-Summary: Polkit-qt use the PolicyKit API through Qt-styled API
+Summary: Convenience library for using PolicyKit with Qt-styled API
+Summary(pl.UTF-8): Biblioteka ułatwiająca używanie biblioteki PolicyKit poprzez API w stylu Qt
Name: polkit-qt
-Version: 0.9.3
-Release: 2
-License: GPL v2
+Version: 0.9.4
+Release: 1
+License: LGPL v2+
Group: Libraries
Source0: ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/%{name}-%{version}.tar.bz2
-# Source0-md5: 8be0205f8cb91161fdaf527f7cb6852d
+# Source0-md5: 70c41208716098793c7f946a67c21902
URL: http://www.kde.org/
BuildRequires: PolicyKit-devel
BuildRequires: QtCore-devel >= %{qtver}
@@ -19,6 +20,8 @@
BuildRequires: qt4-build >= %{qtver}
BuildRequires: qt4-qmake >= %{qtver}
BuildRequires: pkgconfig
+Requires: QtCore >= %{qtver}
+Requires: QtDBus >= %{qtver}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -27,23 +30,51 @@
and QAbstractButton that lets you integrate those two component easily
with PolicyKit.
+%description -l pl.UTF-8
+Polkit-qt to biblioteka pozwalająca programistom używać API biblioteki
+PolicyKit za pośrednictwem API w stylu Qt. Jest głównie obudowaniem
+QAction i QAbstractButton pozwalającym integrować te komponenty przy
+użyciu PolicyKita.
+
%package devel
-Summary: Polkit-qt header files.
-License: GPL v2
+Summary: Polkit-qt header files
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Polkit-qt
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: %{name}-gui = %{version}-%{release}
+Requires: QtCore-devel >= %{qtver}
%description devel
Polkit-qt header files.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki Polkit-qt.
+
%package gui
-Summary: Polkit-qt GUI
-License: GPL v2
+Summary: Polkit-qt GUI library
+Summary(pl.UTF-8): Biblioteka Polkit-qt GUI
Group: Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: QtGui >= %{qtver}
%description gui
-Polkit-qt GUI.
+Polkit-qt GUI library.
+
+%description gui -l pl.UTF-8
+Biblioteka Polkit-qt GUI.
+
+%package gui-devel
+Summary: Header files for Polkit-qt GUI library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Polkit-qt GUI
+Group: Development/Libraires
+Requires: %{name}-devel = %{version}-%{release}
+Requires: %{name}-gui = %{version}-%{release}
+Requires: QtGui-devel >= %{qtver}
+
+%description gui-devel
+Header files for Polkit-qt GUI library.
+
+%description gui-devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki Polkit-qt GUI.
%prep
%setup -q
@@ -51,47 +82,64 @@
%build
install -d build
cd build
-%cmake \
+%cmake .. \
+ -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
+ -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
- -LCMS_DIR=%{_libdir} \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
-DLIB_INSTALL_DIR=%{_libdir} \
- -DCMAKE_BUILD_TYPE=%{!?debug:release}%{?debug:debug} \
%if "%{_lib}" == "lib64"
-DLIB_SUFFIX=64 \
%endif
- ../
+ -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
+
%{__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
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%post gui -p /sbin/ldconfig
+%postun gui -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
-%attr(755,root,root) %ghost %{_libdir}/libpolkit-qt-core.so.?
+%doc AUTHORS README
%attr(755,root,root) %{_libdir}/libpolkit-qt-core.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpolkit-qt-core.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libpolkit-qt-core.so
+%dir %{_includedir}/PolicyKit/polkit-qt
+%{_includedir}/PolicyKit/polkit-qt/Context
+%{_includedir}/PolicyKit/polkit-qt/context.h
+%{_includedir}/PolicyKit/polkit-qt/export.h
+%{_includedir}/PolicyKit/polkit-qt/polkitqtversion.h
+%{_pkgconfigdir}/polkit-qt-core.pc
%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.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpolkit-qt-gui.so.0
-%files devel
+%files gui-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
+%{_includedir}/PolicyKit/polkit-qt/Action*
+%{_includedir}/PolicyKit/polkit-qt/Auth
+%{_includedir}/PolicyKit/polkit-qt/action*.h
+%{_includedir}/PolicyKit/polkit-qt/auth.h
+%{_pkgconfigdir}/polkit-qt-gui.pc
+%{_pkgconfigdir}/polkit-qt.pc
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -99,6 +147,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2010/11/14 09:35:08 qboosh
+- updated to 0.9.4
+- split core/gui parts
+- real descriptions
+
Revision 1.9 2010/01/08 08:44:46 arekm
- rel 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/polkit-qt/polkit-qt.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list