0.6.2; add -libs and -devel subpackages

This commit is contained in:
Matthias Clasen 2011-01-27 01:00:29 -05:00
parent 8bf29bc647
commit 2a2e442ec2
3 changed files with 41 additions and 3 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
accountsservice-0.6.1.tar.bz2
/accountsservice-0.6.2.tar.bz2

View File

@ -1,6 +1,6 @@
Name: accountsservice
Version: 0.6.1
Version: 0.6.2
Release: 1%{?dist}
Summary: D-Bus interfaces for querying and manipulating user account information
@ -8,7 +8,7 @@ Group: System Environment/Daemons
License: GPLv3+
URL: http://www.fedoraproject.org/wiki/Features/UserAccountDialog
#VCS: git:git://git.freedesktop.org/accountsservice
Source0: http://mclasen.fedorapeople.org/accounts/accountsservice-0.6.1.tar.bz2
Source0: http://mclasen.fedorapeople.org/accounts/accountsservice-0.6.2.tar.bz2
BuildRequires: glib2-devel
BuildRequires: dbus-glib-devel
@ -20,11 +20,34 @@ Requires: polkit
Requires: ConsoleKit
Requires: shadow-utils
%package libs
Summary: Client-side library to talk to accountservice
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description libs
The accountsservice-libs package contains a library that can
be used by applications that want to interact with the accountsservice
daemon.
%package devel
Summary: Development files for accountsservice-libs
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
%description devel
The accountsservice-devel package contains headers and other
files needed to build applications that use accountsservice-libs.
%description
The accountsservice project provides a set of D-Bus interfaces for
querying and manipulating user account information and an implementation
of these interfaces, based on the useradd, usermod and userdel commands.
%prep
%setup -q
@ -35,6 +58,8 @@ make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/*.la
rm $RPM_BUILD_ROOT%{_libdir}/*.a
%find_lang accounts-service
@ -52,8 +77,20 @@ make install DESTDIR=$RPM_BUILD_ROOT
%dir %{_localstatedir}/lib/AccountsService/icons
/lib/systemd/system/accounts-daemon.service
%files libs
%{_libdir}/libaccountsservice.so.*
%{_libdir}/girepository-1.0/AccountsService-1.0.typelib
%files devel
%{_includedir}/accountsservice-1.0
%{_libdir}/libaccountsservice.so
%{_libdir}/pkgconfig/accountsservice.pc
%{_datadir}/gir-1.0/AccountsService-1.0.gir
%changelog
* Thu Jan 27 2011 Matthias Clasen <mclasen@redhat.com> 0.6.2-1
- Update to 0.6.2
* Wed Jul 21 2010 Matthias Clasen <mclasen@redhat.com> 0.6.1-1
- Update to 0.6.1
- Install systemd unit file

View File

@ -1 +1 @@
91d2819b2bd3b0d18de9e2a26fafba37 accountsservice-0.6.1.tar.bz2
b020ea17b8bce6a56fc87d1e3add66b6 accountsservice-0.6.2.tar.bz2