ad4bb06
Name:		gshutdown
ad4bb06
Version:	0.2        
aa9a7c0
Release:	5%{?dist}
ad4bb06
Summary:	GShutDown is an advanced shut down utility for GNOME
ad4bb06
ad4bb06
Group:		Applications/System
5545d8e
License:	GPLv2+
ad4bb06
URL:		http://gshutdown.tuxfamily.org/
9768c3f
Source0:	http://gshutdown.tuxfamily.org/release/%{name}-%{version}.tar.gz
ad4bb06
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ad4bb06
ad4bb06
BuildRequires:	libglade2-devel, desktop-file-utils
ad4bb06
BuildRequires:	libnotify-devel, glib2-devel, gettext
ad4bb06
ad4bb06
%description
ad4bb06
GShutdown is an advanced shutdown utility which
ad4bb06
allows you to schedule the shutdown or the restart
ad4bb06
of your computer, or logout your actual session.
ad4bb06
Also can be use under Xfce and KDE.
ad4bb06
ad4bb06
%prep
9768c3f
%setup -q -n %{name}-%{version}
ad4bb06
ad4bb06
ad4bb06
%build
ad4bb06
%configure
ad4bb06
make %{?_smp_mflags}
ad4bb06
ad4bb06
ad4bb06
%install
ad4bb06
rm -rf $RPM_BUILD_ROOT
ad4bb06
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
ad4bb06
ad4bb06
desktop-file-install					\
ad4bb06
	--vendor ""					\
ad4bb06
	--dir $RPM_BUILD_ROOT/%{_datadir}/applications	\
ad4bb06
	--mode 0644					\
ad4bb06
	$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
ad4bb06
ad4bb06
%find_lang %{name}
ad4bb06
ad4bb06
%clean
ad4bb06
rm -rf $RPM_BUILD_ROOT
ad4bb06
ad4bb06
ad4bb06
%post
ad4bb06
touch --no-create %{_datadir}/icons/hicolor || :
ad4bb06
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
ad4bb06
ad4bb06
%postun
ad4bb06
touch --no-create %{_datadir}/icons/hicolor || :
ad4bb06
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
ad4bb06
ad4bb06
ad4bb06
ad4bb06
%files -f %{name}.lang
ad4bb06
%defattr(-,root,root,-)
ad4bb06
%doc COPYING AUTHORS ChangeLog README
ad4bb06
%{_bindir}/%{name}
ad4bb06
%{_datadir}/%{name}
ad4bb06
%{_datadir}/applications/%{name}.desktop
ad4bb06
%{_mandir}/man1/%{name}.1.gz
ad4bb06
%{_datadir}/pixmaps/%{name}.png
ad4bb06
ad4bb06
ad4bb06
%changelog
aa9a7c0
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-5
aa9a7c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
aa9a7c0
5545d8e
* Fri Jul 25 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.2-4
5545d8e
- fix license tag
5545d8e
9be02e6
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.2-3
9be02e6
- Autorebuild for GCC 4.3
9be02e6
ee3dd57
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.2-2
ee3dd57
- Rebuild for selinux ppc32 issue.
ee3dd57
9768c3f
* Mon Jul 09 2007 Xavier Lamien <lxtnow@gmail.com> - 0.2-1
9768c3f
- Updated Release.
9768c3f
ad4bb06
* Tue May 01 2007 Xavier lamien <lxtnow@gmail.com> - 0.2-0.3.rc1
ad4bb06
- Fixed redundant BR and Requires.
ad4bb06
ad4bb06
* Sun Jan 04 2007 Xavier lamien <lxtnow@gmail.com> - 0.2-0.2.rc1
ad4bb06
- added post and postun for installed icons.
ad4bb06
- fixed release tags
ad4bb06
- Added timestamp in "make install".
ad4bb06
- Removed "--add-category" from desktop-file-install.
ad4bb06
ad4bb06
* Sat Jan 03 2007 Xavier lamien <lxtnow@gmail.com> - 0.2-0.1.rc1
ad4bb06
- Initiale RPM release.