|
|
0653a47 |
# Review at https://bugzilla.redhat.com/show_bug.cgi?id=398111
|
|
|
0653a47 |
|
|
Kevin Fenzi |
b0c494c |
%global minor_version 1.0
|
|
|
22abb1e |
|
|
|
22abb1e |
Name: xfce4-time-out-plugin
|
|
|
8a2e4df |
Version: 1.0.1
|
|
|
c65f769 |
Release: 9%{?dist}
|
|
|
22abb1e |
Summary: Xfce panel plugin for taking breaks from the computer
|
|
|
22abb1e |
|
|
|
22abb1e |
Group: User Interface/Desktops
|
|
|
22abb1e |
License: GPLv2+
|
|
|
22abb1e |
URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
|
|
|
8a2e4df |
#VSC: git: git://git.xfce.org/panel-plugins/xfce4-time-out-plugin
|
|
|
22abb1e |
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minor_version}/%{name}-%{version}.tar.bz2
|
|
|
22abb1e |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
22abb1e |
|
|
|
8a2e4df |
BuildRequires: pkgconfig(libxfce4panel-1.0) >= 4.8.0
|
|
|
8a2e4df |
BuildRequires: pkgconfig(libxfce4ui-1) >= 4.8.0
|
|
|
22abb1e |
BuildRequires: libxml2-devel
|
|
|
22abb1e |
BuildRequires: libICE-devel
|
|
|
22abb1e |
BuildRequires: gettext, intltool
|
|
|
a8115b1 |
Requires: xfce4-panel >= 4.8.0
|
|
|
7817425 |
|
|
|
7817425 |
%description
|
|
|
7817425 |
This plugin makes it possible to take periodical breaks from the computer every
|
|
|
7817425 |
X minutes. During breaks it locks your screen. It optionally allows you to
|
|
|
7817425 |
postpone breaks for a certain time.
|
|
|
7817425 |
|
|
|
b7e5cc8 |
|
|
|
7817425 |
%prep
|
|
|
7817425 |
%setup -q
|
|
|
7817425 |
|
|
|
b7e5cc8 |
|
|
|
7817425 |
%build
|
|
|
7817425 |
%configure
|
|
|
b7e5cc8 |
make %{?_smp_mflags}
|
|
|
b7e5cc8 |
|
|
|
7817425 |
|
|
|
7817425 |
%install
|
|
|
7817425 |
rm -rf $RPM_BUILD_ROOT
|
|
Kevin Fenzi |
b0c494c |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
326f864 |
chmod -c +x $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libtime-out.so
|
|
|
8a2e4df |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
7817425 |
%find_lang %{name}
|
|
|
7817425 |
|
|
|
22abb1e |
|
|
|
7817425 |
%post
|
|
|
22abb1e |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
b7e5cc8 |
|
|
|
7817425 |
|
|
|
7817425 |
%postun
|
|
|
22abb1e |
if [ $1 -eq 0 ] ; then
|
|
|
22abb1e |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
22abb1e |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
b7e5cc8 |
fi
|
|
|
b7e5cc8 |
|
|
|
7817425 |
|
|
|
22abb1e |
%posttrans
|
|
|
22abb1e |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
22abb1e |
|
|
|
22abb1e |
|
|
|
7817425 |
%clean
|
|
|
7817425 |
rm -rf $RPM_BUILD_ROOT
|
|
|
7817425 |
|
|
|
b7e5cc8 |
|
|
|
7817425 |
%files -f %{name}.lang
|
|
|
7817425 |
%defattr(-,root,root,-)
|
|
Kevin Fenzi |
b0c494c |
%doc AUTHORS COPYING ChangeLog NEWS README THANKS
|
|
|
8a2e4df |
%{_libdir}/xfce4/panel/plugins/
|
|
|
8a2e4df |
%{_datadir}/xfce4/panel/plugins/*.desktop
|
|
|
22abb1e |
%{_datadir}/icons/hicolor/*/*/*
|
|
|
7817425 |
|
|
|
b7e5cc8 |
|
|
|
7817425 |
%changelog
|
|
|
c65f769 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-9
|
|
|
c65f769 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
c65f769 |
|
|
|
0314e03 |
* Sat Feb 28 2015 Kevin Fenzi <kevin@scrye.com> 1.0.1-8
|
|
|
0314e03 |
- Rebuild for Xfce 4.12
|
|
|
0314e03 |
|
|
|
fa70d5a |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-7
|
|
|
fa70d5a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
fa70d5a |
|
|
|
3f246ef |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-6
|
|
|
3f246ef |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
3f246ef |
|
|
|
47945f8 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5
|
|
|
47945f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
47945f8 |
|
|
|
c65fbad |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-4
|
|
|
c65fbad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
c65fbad |
|
|
|
b35778e |
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
|
|
|
b35778e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
b35778e |
|
|
|
326f864 |
* Tue Apr 24 2012 Ville Skyttä <ville.skytta@iki.fi> - 1.0.1-2
|
|
|
326f864 |
- Fix -debuginfo.
|
|
|
326f864 |
|
|
|
8a2e4df |
* Wed Apr 18 2012 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.1-1
|
|
|
8a2e4df |
- Update to 1.0.1
|
|
|
8a2e4df |
- Add VCS key
|
|
|
8a2e4df |
|
|
|
3b22d37 |
* Sun Apr 15 2012 Kevin Fenzi <kevin@scrye.com> - 1.0.0-5
|
|
|
3b22d37 |
- Rebuild for Xfce 4.10(pre2)
|
|
|
3b22d37 |
|
|
|
fb83a25 |
* Thu Apr 05 2012 Kevin Fenzi <kevin@scrye.com> - 1.0.0-4
|
|
|
fb83a25 |
- Rebuild for Xfce 4.10
|
|
|
fb83a25 |
|
|
|
c27c676 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
|
|
|
c27c676 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
c27c676 |
|
|
|
9a7c57f |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
|
|
|
9a7c57f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
9a7c57f |
|
|
Kevin Fenzi |
b0c494c |
* Mon Dec 27 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.0-1
|
|
Kevin Fenzi |
b0c494c |
- Update to 1.0.0
|
|
Kevin Fenzi |
b0c494c |
- Drop all patches (obsolete)
|
|
Kevin Fenzi |
b0c494c |
|
|
Kevin Fenzi |
b0c494c |
* Sun Dec 19 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.1-6
|
|
Kevin Fenzi |
b0c494c |
- Rebuild for xfce4-panel 4.7
|
|
Kevin Fenzi |
b0c494c |
|
|
|
22abb1e |
* Sun Dec 19 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.1-5
|
|
|
22abb1e |
- Hide the time label on startup if settings say so (bugzilla.xfce.org #3224)
|
|
|
22abb1e |
- Update translations from Xfce Transifex
|
|
|
22abb1e |
- Update icon-cache scriptlets
|
|
|
22abb1e |
|
|
|
c200dab |
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-4
|
|
|
c200dab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
c200dab |
|
|
|
10db7c7 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
|
|
|
10db7c7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
10db7c7 |
|
|
|
b7e5cc8 |
* Sun Jan 18 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.1-2
|
|
|
b7e5cc8 |
- Rebuild for Xfce 4.6 (Beta 3)
|
|
|
b7e5cc8 |
|
|
|
b7e5cc8 |
* Sun Nov 25 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.1-1
|
|
|
7817425 |
- Initial Fedora package
|