ad4bb0
Name:		gshutdown
ad4bb0
Version:	0.2        
8460c4
Release:	25%{?dist}
ad4bb0
Summary:	GShutDown is an advanced shut down utility for GNOME
ad4bb0
ad4bb0
Group:		Applications/System
5545d8
License:	GPLv2+
ad4bb0
URL:		http://gshutdown.tuxfamily.org/
9768c3
Source0:	http://gshutdown.tuxfamily.org/release/%{name}-%{version}.tar.gz
ad4bb0
Igor Gnatenko 2fd2f3
BuildRequires:  gcc
ad4bb0
BuildRequires:	libglade2-devel, desktop-file-utils
ad4bb0
BuildRequires:	libnotify-devel, glib2-devel, gettext
ad4bb0
213d5a
Patch0: gshutdown-0.2.libnotify-api.patch
213d5a
Patch1: gshutdown-0.2.explicitlink.patch
fc3f2e
Patch2: gshutdown-0.2-glib.patch
1d1267
Patch3: gshutdown-0.2-format-security.patch
213d5a
ad4bb0
%description
ad4bb0
GShutdown is an advanced shutdown utility which
ad4bb0
allows you to schedule the shutdown or the restart
ad4bb0
of your computer, or logout your actual session.
ad4bb0
Also can be use under Xfce and KDE.
ad4bb0
ad4bb0
%prep
9768c3
%setup -q -n %{name}-%{version}
213d5a
%patch0 -p1 -b .libnotify-api
213d5a
%patch1 -p1 -b .explicitlink
fc3f2e
%patch2 -p1 -b .glib
1d1267
%patch3 -p1
ad4bb0
ad4bb0
%build
ad4bb0
%configure
ad4bb0
make %{?_smp_mflags}
ad4bb0
ad4bb0
ad4bb0
%install
ad4bb0
rm -rf $RPM_BUILD_ROOT
ad4bb0
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
ad4bb0
ad4bb0
desktop-file-install					\
ad4bb0
	--vendor ""					\
ad4bb0
	--dir $RPM_BUILD_ROOT/%{_datadir}/applications	\
ad4bb0
	--mode 0644					\
ad4bb0
	$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
ad4bb0
ad4bb0
%find_lang %{name}
ad4bb0
ad4bb0
ad4bb0
ad4bb0
ad4bb0
%files -f %{name}.lang
ad4bb0
%doc COPYING AUTHORS ChangeLog README
ad4bb0
%{_bindir}/%{name}
ad4bb0
%{_datadir}/%{name}
ad4bb0
%{_datadir}/applications/%{name}.desktop
ad4bb0
%{_mandir}/man1/%{name}.1.gz
ad4bb0
%{_datadir}/pixmaps/%{name}.png
ad4bb0
ad4bb0
ad4bb0
%changelog
8460c4
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-25
8460c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
8460c4
ecfa5d
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-24
ecfa5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ecfa5d
17f350
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2-23
17f350
- Remove obsolete scriptlets
17f350
641949
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-22
641949
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
641949
c80cbf
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-21
c80cbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c80cbf
1946c2
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-20
1946c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1946c2
6047dd
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-19
6047dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6047dd
0f0183
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-18
0f0183
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0f0183
9c5d49
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-17
9c5d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
9c5d49
1d1267
* Wed Aug 06 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.2-16
1d1267
- Add gshutdown-0.2.format-security.patch (F21FTBFS RHBZ#1106732, RHBZ#1037106).
1d1267
- Fix bogus %%changelog entries.
1d1267
8fade1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-15
8fade1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8fade1
4c4f0b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-14
4c4f0b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4c4f0b
e1e956
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-13
e1e956
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e1e956
fc3f2e
* Wed Aug 01 2012 Jon Ciesla <limburgher@gmail.com> - 0.2-12
fc3f2e
- Tom Lane's glib fixes for libpng15 rebuild, BZ 843648.
fc3f2e
61711a
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-11
61711a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
61711a
e783d9
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-10
e783d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e783d9
d2475f
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.2-9
d2475f
- Rebuild for new libpng
d2475f
213d5a
* Thu Apr 07 2011 Caolán McNamara <caolanm@redhat.com> - 0.2-8
213d5a
- Resolves: rhbz#599784 rebuild for new libnotify api, etc.
213d5a
00825c
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-7
00825c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
00825c
c4a37d
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-6
c4a37d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c4a37d
aa9a7c
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-5
aa9a7c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
aa9a7c
5545d8
* Fri Jul 25 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.2-4
5545d8
- fix license tag
5545d8
9be02e
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.2-3
9be02e
- Autorebuild for GCC 4.3
9be02e
ee3dd5
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.2-2
ee3dd5
- Rebuild for selinux ppc32 issue.
ee3dd5
9768c3
* Mon Jul 09 2007 Xavier Lamien <lxtnow@gmail.com> - 0.2-1
9768c3
- Updated Release.
9768c3
ad4bb0
* Tue May 01 2007 Xavier lamien <lxtnow@gmail.com> - 0.2-0.3.rc1
ad4bb0
- Fixed redundant BR and Requires.
ad4bb0
1d1267
* Thu Jan 04 2007 Xavier lamien <lxtnow@gmail.com> - 0.2-0.2.rc1
ad4bb0
- added post and postun for installed icons.
ad4bb0
- fixed release tags
ad4bb0
- Added timestamp in "make install".
ad4bb0
- Removed "--add-category" from desktop-file-install.
ad4bb0
1d1267
* Wed Jan 03 2007 Xavier lamien <lxtnow@gmail.com> - 0.2-0.1.rc1
1d1267
- Initial RPM release.