PackageKit/PackageKit.spec

207 lines
6.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package PackageKit (Version 0.1.5git20071207a)
#
# Copyright (c) 2007 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/
#
# norootforbuild
Name: PackageKit
Version: 0.1.5git20071207a
Release: 1
License: GPL v2 or later
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: NetworkManager-devel PolicyKit-devel dbus-1-devel dbus-1-glib-devel gcc-c++ glib2-devel libzypp-devel python-devel sqlite-devel
Group: System/Daemons
Summary: Simple software installation management software
Url: http://packagekit.org/
Source: %{name}-%{version}.tar.bz2
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.<2E>a&#287;lar Onur <caglar@pardus.org.tr>
Backend: zypp
Boyd Timothy <btimothy@gmail.com>
Scott Reeves <sreeves@novell.com>
%package devel
Summary: Needed include files and libraries for development.
Requires: %{name} = %{version}
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.<2E>a&#287;lar Onur <caglar@pardus.org.tr>
Backend: zypp
Boyd Timothy <btimothy@gmail.com>
Scott Reeves <sreeves@novell.com>
%prep
%setup -n %{name}-%{version}
%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-default-backend=zypp
%__make %{?jobs: -j%jobs}
%install
%makeinstall
rm -f %{buildroot}/%{_lib}/*.a
rm -f %{buildroot}/%{_lib}/*.la
%clean
rm -rf "$RPM_BUILD_ROOT"
%post devel -p /sbin/ldconfig
%postun devel -p /sbin/ldconfig
%files
%defattr(-,root,root)
%dir %{_sysconfdir}/PackageKit
%dir %{_datadir}/PackageKit
%dir %{_datadir}/PackageKit/helpers
%dir %{_datadir}/PackageKit/helpers/test_spawn
%dir /usr/lib/packagekit-backend
%dir /usr/lib/python2.5/site-packages/packagekit
%dir /var/lib/PackageKit
%dir /var/run/PackageKit
%{_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}/libpackagekit*
%{_libdir}/packagekit-backend/*
%{py_sitedir}/packagekit/*
%{_sbindir}/packagekitd
%{_datadir}/PackageKit/helpers/test_spawn/search-name.sh
%{_datadir}/PolicyKit/policy/packagekit.policy
%{_datadir}/dbus-1/system-services/*
/var/lib/PackageKit/transactions.db
/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
%changelog
* 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.
* Mon Dec 03 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