Blob Blame History Raw
Name:           accountsdialog
Version:        0.4.1
Release:        2%{?dist}
Summary:        An application to view and modify user accounts information

Group:          Applications/System
License:        GPLv3+
URL:            http://www.fedoraproject.org/wiki/Features/UserAccountDialog
Source0:        http://download.gnome.org/sources/accountsdialog/0.4/accountsdialog-0.4.1.tar.bz2

# hide nonfunctional UI
Patch0:         hide-unimplemented-parts.patch
# Fix cheese-enabled compilation
Patch1:         0001-Explicitely-require-gstreamer-0.10-for-linking.patch
Patch2:         0001-Remove-unused-m4-macros.patch
BuildRequires:  autoconf automake libtool gnome-common

BuildRequires:  intltool
BuildRequires:  glib2-devel
BuildRequires:  gtk2-devel
BuildRequires:  gnome-desktop-devel
BuildRequires:  dbus-glib-devel
BuildRequires:  unique-devel
BuildRequires:  polkit-gnome-devel
BuildRequires:  GConf2-devel
BuildRequires:  iso-codes-devel
BuildRequires:  cheese-libs-devel
BuildRequires:  apg
BuildRequires:  desktop-file-utils

Requires:       accountsservice
Requires:       apg
Requires:       GConf2

%description
The AccountsDialog project provides an application to view and modify
user account information that is provided by the AccountsService. It
also lets you configure some aspects of the gdm login screen.

%prep
%setup -q
%patch0 -p1 -b .hide-unimplemented-parts
%patch1 -p1 -b .gst-linking
%patch2 -p1 -b .no-m4
autoreconf -f

%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'

desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/accountsdialog.desktop

%find_lang accounts-dialog

%clean
rm -rf $RPM_BUILD_ROOT


%files -f accounts-dialog.lang
%defattr(-,root,root,-)
%doc COPYING README AUTHORS
%{_bindir}/accounts-dialog
%{_datadir}/accountsdialog
%{_datadir}/applications/accountsdialog.desktop


%changelog
* Tue Feb 09 2010 Bastien Nocera <bnocera@redhat.com> 0.4.1-2
- Compile with webcam avatar capture

* Tue Feb  2 2010 Matthias Clasen <mclasen@redhat.com> 0.4.1-1
- Update to 0.4.1
- Incorporate package review feedback
- Hide unimplemented parts of the UI

* Fri Jan 29 2010 Matthias Clasen <mclasen@redhat.com> 0.4-1
- Initial packaging, based on work of Richard Hughes