From 3502c1dfe03294ad627f30aeebdfad3647cfd445 Mon Sep 17 00:00:00 2001 From: Xavier LAMIEN Date: Jun 19 2007 12:43:59 +0000 Subject: Imported new package --- diff --git a/.cvsignore b/.cvsignore index e69de29..a3ce232 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +gshutdown-0.2rc1.tar.gz diff --git a/gshutdown.spec b/gshutdown.spec new file mode 100644 index 0000000..964e329 --- /dev/null +++ b/gshutdown.spec @@ -0,0 +1,77 @@ +Name: gshutdown +Version: 0.2 +Release: 0.3.rc1%{?dist} +Summary: GShutDown is an advanced shut down utility for GNOME + +Group: Applications/System +License: GPL +URL: http://gshutdown.tuxfamily.org/ +Source0: http://gshutdown.tuxfamily.org/release/%{name}-%{version}rc1.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}rc1 + + +%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 +* 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. diff --git a/sources b/sources index e69de29..fcc1f1d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f3b3c3eb86a4f18765bc30134a8a1464 gshutdown-0.2rc1.tar.gz