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