SPECS: PackageKit.spec (NEW) - new; saving work - release 0.1

megabajt megabajt at pld-linux.org
Fri Feb 29 14:46:21 CET 2008


Author: megabajt                     Date: Fri Feb 29 13:46:20 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new; saving work
- release 0.1

---- Files affected:
SPECS:
   PackageKit.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/PackageKit.spec
diff -u /dev/null SPECS/PackageKit.spec:1.1
--- /dev/null	Fri Feb 29 14:46:20 2008
+++ SPECS/PackageKit.spec	Fri Feb 29 14:46:15 2008
@@ -0,0 +1,218 @@
+# $Revision$, $Date$
+# TODO:
+# - improve poldek backend
+# - checks for libpoldek / libpoclidek in configure.ac
+#
+Summary:	System daemon that is a D-BUS abstraction layer for package management
+Name:		PackageKit
+Version:	0.1.8
+Release:	0.1
+License:	GPL v2+
+Group:		Applications
+Source0:	http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.gz
+# Source0-md5:	47f60d925f4bfad5c300c4cb5f444c75
+Patch0:		%{name}-poldek.patch
+URL:		http://www.packagekit.org/
+BuildRequires:	NetworkManager-devel >= 0.6.5
+BuildRequires:	PolicyKit-devel >= 0.7
+BuildRequires:	autoconf >= 2.52
+BuildRequires:	automake
+BuildRequires:	dbus-devel >= 1.1.4
+BuildRequires:	dbus-glib-devel >= 0.74
+BuildRequires:	gettext-devel
+BuildRequires:	glib2-devel >= 1:2.14.0
+BuildRequires:	gtk-doc >= 1.9
+BuildRequires:	libtool
+BuildRequires:	pkgconfig
+BuildRequires:	poldek-devel >= 0.30
+BuildRequires:	python-devel
+BuildRequires:	rpm-pythonprov
+BuildRequires:	sqlite3-devel
+Requires:	%{name}-libs = %{version}-%{release}
+Requires:	poldek-libs >= 0.30
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PackageKit is a D-Bus abstraction layer that allows the session user
+to manage packages in a secure way using a cross-distro,
+cross-architecture API.
+
+%package libs
+Summary:	PackageKit library
+Summary(pl.UTF-8):	Biblioteka PackageKit
+Group:		Libraries
+
+%description libs
+PackageKit library.
+
+%description libs -l pl.UTF-8
+Biblioteka PackageKit.
+
+%package devel
+Summary:	Header files for PackageKit
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki PackageKit
+Group:		Development/Libraries
+Requires:	%{name}-libs = %{version}-%{release}
+Requires:	glib2-devel >= 1:2.14.0
+
+%description devel
+Header files for PackageKit library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki PackageKit.
+
+%package static
+Summary:	Static PackageKit library
+Summary(pl.UTF-8):	Statyczna biblioteka PackageKit
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static PackageKit library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka PackageKit.
+
+%package apidocs
+Summary:	PackageKit library API documentation
+Summary(pl.UTF-8):	Dokumentacja API biblioteki PackageKit
+Group:		Documentation
+Requires:	gtk-doc-common
+
+%description apidocs
+PackageKit library API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki PackageKit.
+
+%package -n bash-completion-packagekit
+Summary:	bash-completion for PackageKit
+Summary(pl.UTF-8):	bashowe uzupełnianie nazw dla PackageKit
+Group:		Applications/Shells
+Requires:	bash-completion
+
+%description -n bash-completion-packagekit
+This package provides bash-completion for PackageKit.
+
+%description -n bash-completion-packagekit -l pl.UTF-8
+Pakiet ten dostarcza bashowe uzupełnianie nazw dla PackageKit.
+
+%package -n pm-utils-packagekit
+Summary:	PackageKit script for pm-utils
+Group:		Applications/System
+Requires:	pm-utils
+
+%description -n pm-utils-packagekit
+PackageKit script for pm-utils.
+
+%package -n python-packagekit
+Summary:	PackageKit Python bindings
+Summary(pl.UTF-8):	Wiązania PackageKit dla Pythona
+Group:		Development/Languages/Python
+Requires:	python-dbus
+Requires:	python-pygobject
+
+%description -n python-packagekit
+PackageKit Python bindings.
+
+%description -n python-packagekit
+Wiązania PackageKit dla Pythona.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--enable-poldek \
+	--with-html-dir=%{_gtkdocdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/packagekit-backend/*.{la,a}
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog HACKING NEWS README TODO
+%attr(755,root,root) %{_bindir}/packagekit-bugreport.sh
+%attr(755,root,root) %{_bindir}/pk-import-desktop
+%attr(755,root,root) %{_bindir}/pk-import-specspo
+%attr(755,root,root) %{_bindir}/pkcon
+%attr(755,root,root) %{_bindir}/pkmon
+%dir %{_libdir}/packagekit-backend
+%attr(755,root,root) %{_libdir}/packagekit-backend/libpk_backend_poldek.so
+%attr(755,root,root) %{_sbindir}/packagekitd
+%dir %{_sysconfdir}/PackageKit
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/PackageKit/PackageKit.conf
+%{_sysconfdir}/dbus-1/system.d/org.freedesktop.PackageKit.conf
+%{_datadir}/PolicyKit/policy/packagekit.policy
+%{_datadir}/dbus-1/system-services/org.freedesktop.PackageKit.service
+%{_mandir}/man1/pkmon.1*
+%{_mandir}/man1/pkcon.1*
+%dir /var/lib/PackageKit
+%ghost /var/lib/PackageKit/transactions.db
+%dir /var/run/PackageKit
+%ghost /var/run/PackageKit/job_count.dat
+
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libpackagekit.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpackagekit.so.3
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libpackagekit.so
+%{_libdir}/libpackagekit.la
+%{_pkgconfigdir}/packagekit.pc
+%{_includedir}/packagekit
+%{_includedir}/packagekit-backend
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libpackagekit.a
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/PackageKit
+
+%files -n bash-completion-packagekit
+%defattr(644,root,root,755)
+%{_sysconfdir}/bash_completion.d/pk-completion.bash
+
+%files -n pm-utils-packagekit
+%defattr(644,root,root,755)
+%{_libdir}/pm-utils/sleep.d/95packagekit
+
+%files -n python-packagekit
+%defattr(644,root,root,755)
+%dir %{py_sitescriptdir}/packagekit
+%{py_sitescriptdir}/packagekit/*.py[co]
+
+%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  2008-02-29 13:46:15  megabajt
+- new; saving work
+- release 0.1
+
================================================================


More information about the pld-cvs-commit mailing list