PackageKit/PackageKit.spec

281 lines
9.3 KiB
RPMSpec

#
# spec file for package PackageKit (Version 0.2.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: PackageKit
Version: 0.2.1
Release: 9
License: GPL v2 or later
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: NetworkManager-devel PolicyKit-devel dbus-1-glib-devel fdupes gcc-c++ glib2-devel gtk-doc intltool libzypp-devel perl-XML-Parser python-devel sqlite-devel
Group: System/Daemons
Summary: Simple software installation management software
Url: http://packagekit.org/
Source: %{name}-%{version}.tar.bz2
Patch: PackageKit_release.patch
Patch1: PackageKit-ac.patch
Patch2: PackageKit-zypp.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
Requires: dbus-1 PolicyKit
%{py_requires}
%description
PackageKit is a system designed to make installing and updating
software on your computer easier. The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.
Authors:
--------
Richard Hughes <richard@hughsie.com>
Tom Parker <palfrey@tevp.net>
Ken VanDine <ken@vandine.org>
Tim Lauridsen <tla@rasmil.dk>
Luke Macken <lmacken@redhat.com>
Backend: conary
Og Maciel <omaciel@foresightlinux.org>
Elliot Peele <elliot@bentlogic.net>
Backend: pisi
S.Ça&#287;lar Onur <caglar@pardus.org.tr>
Backend: zypp
Boyd Timothy <btimothy@gmail.com>
Scott Reeves <sreeves@novell.com>
%package devel
License: GPL v2 or later
Summary: Needed include files and libraries for development
Requires: %{name} = %{version}
Requires: glib2-devel NetworkManager-devel sqlite3-devel
AutoReqProv: on
Group: System/Daemons
%description devel
This package contains all necessary include files, libraries,
configuration files and development tools (with manual pages) needed to
compile and link applications using PackageKit.
Authors:
--------
Richard Hughes <richard@hughsie.com>
Tom Parker <palfrey@tevp.net>
Ken VanDine <ken@vandine.org>
Tim Lauridsen <tla@rasmil.dk>
Luke Macken <lmacken@redhat.com>
Backend: conary
Og Maciel <omaciel@foresightlinux.org>
Elliot Peele <elliot@bentlogic.net>
Backend: pisi
S.Ça&#287;lar Onur <caglar@pardus.org.tr>
Backend: zypp
Boyd Timothy <btimothy@gmail.com>
Scott Reeves <sreeves@novell.com>
%prep
%setup -q -n %{name}-%{version}
%patch -p1
%patch1
%patch2
%build
# uncomment out the following line if autotools should be run again (i.e.,
# one of the patches has modified configure.in/ac or a Makefile.am).
autoreconf -f -i
%configure \
--disable-scrollkeeper \
--with-security-framework=polkit \
--enable-zypp \
--with-default-backend=zypp
%__make %{?jobs: -j%jobs}
%install
%makeinstall
rm -f %{buildroot}/%{_lib}/*.a
rm -f %{buildroot}/%{_lib}/*.la
rm -f %{buildroot}/%{_libdir}/packagekit-backend/*.*a
%find_lang %{name}
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf "$RPM_BUILD_ROOT"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%dir %{_sysconfdir}/PackageKit
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%dir %{_datadir}/gtk-doc/html/PackageKit/
%dir %{_datadir}/PackageKit
%dir %{_datadir}/PackageKit/helpers
%dir %{_datadir}/PackageKit/helpers/test_spawn
%dir %{_libdir}/packagekit-backend
%dir %{_libdir}/python2.5/site-packages/packagekit
%dir %{_libdir}/pm-utils
%dir %{_libdir}/pm-utils/sleep.d
%dir /var/lib/PackageKit
%dir /var/run/PackageKit
%dir /usr/share/locale/no_nb
%dir /usr/share/locale/no_nb/LC_MESSAGES
%dir /usr/share/locale/sr@latin
%dir /usr/share/locale/sr@latin/LC_MESSAGES
%{_sysconfdir}/bash_completion.d/pk-completion.bash
%{_sysconfdir}/PackageKit/PackageKit.conf
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.PackageKit.conf
%{_bindir}/packagekit-bugreport.sh
%{_bindir}/pkcon
%{_bindir}/pkmon
%{_libdir}/pk-import-specspo
%{_libdir}/pk-import-desktop
%{_libdir}/pm-utils/sleep.d/95packagekit
%{_libdir}/libpackagekit.so.*
%{_libdir}/packagekit-backend/*.so
%{_libdir}/PackageKitDbusTest.py
%{py_sitedir}/packagekit/*
%{_sbindir}/packagekitd
%{_datadir}/gtk-doc/html/PackageKit/*
%{_datadir}/PackageKit/helpers/test_spawn/search-name.sh
%{_datadir}/PolicyKit/policy/org.freedesktop.packagekit.policy
%{_datadir}/dbus-1/system-services/*
%verify(not md5 size mtime) /var/lib/PackageKit/transactions.db
%verify(not md5 size mtime) /var/run/PackageKit/job_count.dat
%files devel
%defattr(-,root,root)
%dir %{_includedir}/packagekit-backend
%dir %{_includedir}/packagekit
%{_includedir}/packagekit-backend/*
%{_includedir}/packagekit/*
%{_libdir}/pkgconfig/packagekit.pc
%{_libdir}/libpackagekit.*a
%{_libdir}/libpackagekit.so
%changelog
* Sat May 24 2008 aj@suse.de
- Follow zypp changes.
* Tue May 13 2008 sreeves@suse.de
- Fix for BNC #388165 - mark some files with verify (not)
* Sat May 10 2008 sreeves@suse.de
- Move to official upstream 0.2.1 release.
Fix to accept multiple license prompts
Handle signed repos - import keys.
* Thu May 01 2008 sreeves@suse.de
- Change packagekit daemon timeout to 15 seconds - BNC #374043
* Mon Apr 28 2008 sreeves@suse.de
- Move to libzypp 4.15
Fix BNC#378342 - gpk-update-viewer crash
* Sun Apr 27 2008 coolo@suse.de
- replace deprecated zypp calls
* Thu Apr 17 2008 schwab@suse.de
- Fix configure script.
* Mon Apr 14 2008 sreeves@suse.de
- Update to version 0.2.0
new dbus model
change packagekitd timeout to 120 seconds
* Sat Apr 05 2008 sreeves@suse.de
- Update to version 0.1.11
Fix parse errors on bad markup
Emit verbose messages on dependency failures
Fix crash when getting dependencies.
* Thu Mar 27 2008 sreeves@suse.de
- Update to version 0.1.9.2
Mem leak fixes
Fix multiple popups on install
Fix parse error causing missing name
* Fri Mar 14 2008 sreeves@suse.de
- Update version. Includes working "update system"
* Wed Mar 05 2008 sreeves@suse.de
- keep up with the new libzypp API
* Fri Feb 29 2008 coolo@suse.de
- make it compile again with new libzypp API
* Thu Feb 28 2008 sreeves@suse.de
- Update to ~0.1.9 (git pull on 2/28) release (with the policy file intltool
calls patched out temporarily until we get a newer intltool in factory.
add --enable-zypp to the configure line
* Tue Jan 08 2008 btimothy@suse.de
- Upgraded to 0.1.5 (released upstream).
- Added "--with-security-framework=polkit" to the configure.
* Mon Dec 10 2007 btimothy@suse.de
- Added extra directories to the %%files section so it'll build in
factory.
* Fri Dec 07 2007 btimothy@suse.de
- Update to version 0.1.5git20071207a which does rudimentary
package dependency checking.
* Tue Dec 04 2007 btimothy@suse.de
- Update to version 0.1.5git20071203f to fix a compiler error.
* Tue Dec 04 2007 btimothy@suse.de
- Update to version 0.1.5git20071203e which includes installed
packages when getting the description of a package.
pk-application uses this when you highlight an installed package.
* Tue Dec 04 2007 btimothy@suse.de
- Update to version 0.1.5git20071203d which includes installed
packages when searching by name in addition to packages found in
configured repositories.
* Tue Dec 04 2007 btimothy@suse.de
- Removed "= 1.1.3" for dbus-1 Requires line.
* Tue Dec 04 2007 btimothy@suse.de
- Update to version 0.1.5git20071203c.
- Added a couple new entries to the %%files section for
pk-completion.bash and packagekit-bugreport.sh.
* Mon Dec 03 2007 btimothy@suse.de
- Update to version 0.1.5git20071203b.
* Mon Dec 03 2007 btimothy@suse.de
- Update to version 0.1.5git20071203a.
* Fri Nov 30 2007 btimothy@suse.de
- Update to version 0.1.5git20071130a (remove the dash).
* Fri Nov 30 2007 btimothy@suse.de
- Update to version 0.1.5-20071130a taken from git master.
* Wed Nov 21 2007 btimothy@suse.de
- Added a new tar.bz2 file to do rudimentary package install.
* Mon Nov 19 2007 btimothy@suse.de
- Adjusted to install the PackageKit.service for dbus into the
/usr/share/dbus-1/system-services directory. This is what
allows the system activation stuff to work.
* Fri Nov 16 2007 btimothy@suse.de
- Grabbed new PackageKit-0.1.4.tar.bz2 built from this morning's
git repo (has stubbed-out zypp backend).
- Configure so zypp is the default backend.
* Thu Nov 15 2007 jpr@suse.de
- Reduce requires, most of them are automatic
- Remove gcc from BuildRequires its automatic
* Thu Nov 15 2007 jpr@suse.de
- fix build on 64bit by not hardcoding "lib"
- make description a little more manageable
- use %%{py_requires} instead of hardcoded python
- use "devel" instead of "-n Package-devel" because adding the
Package- partis automatic
* Wed Nov 14 2007 btimothy@suse.de
- Revert the last change and hardcode /usr/share because otherwise
it gets installed to /dbus-1/services. We'll have to figure this
one out later.
* Wed Nov 14 2007 btimothy@suse.de
- Use %%{_datadir} instead of /usr/share when specifying where
the dbus-1/services directory is at configure.
* Wed Nov 14 2007 btimothy@suse.de
- Specify /usr/share/dbus-1/services at configure so we don't have
to modify the make install step.
* Tue Nov 13 2007 btimothy@suse.de
- init