diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0b13f5a --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/xfce4-time-out-plugin-*.tar.bz2 +/xfce4-time-out-plugin-*.tar.xz diff --git a/Makefile b/Makefile deleted file mode 100644 index aa90817..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: xfce4-time-out-plugin -# $Id$ -NAME := xfce4-time-out-plugin -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/changelog b/changelog new file mode 100644 index 0000000..5775a84 --- /dev/null +++ b/changelog @@ -0,0 +1,132 @@ +* Sat Jan 21 2023 Fedora Release Engineering - 1.1.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 1.1.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jan 22 2022 Fedora Release Engineering - 1.1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 1.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Mar 02 2021 Mukundan Ragavan - 1.1.2-1 +- Update to 1.1.2 + +* Thu Jan 28 2021 Fedora Release Engineering - 1.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Aug 01 2020 Fedora Release Engineering - 1.1.1-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 07 2020 Mukundan Ragavan - 1.1.1-1 +- Update to 1.1.1 + +* Fri Jan 31 2020 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Nov 29 2019 Mukundan Ragavan - 1.1.0-1 +- Update to 1.1.0 + +* Tue Aug 13 2019 Mukundan Ragavan - 1.0.3-1 +- Update to 1.0.3 + +* Sat Jul 27 2019 Fedora Release Engineering - 1.0.2-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Fedora Release Engineering - 1.0.2-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Aug 11 2018 Mukundan Ragavan - 1.0.2-20 +- Rebuilt (xfce 4.13) + +* Sat Jul 14 2018 Fedora Release Engineering - 1.0.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 1.0.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 1.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sat Nov 12 2016 Filipe Rosset - 1.0.2-1 +- Update to 1.0.2 +- [gtk3] Bump dependencies to check for libxfce4ui-2/libxfce4panel-2.0 +- Spec clean-up + +* Fri Feb 05 2016 Fedora Release Engineering - 1.0.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 1.0.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Feb 28 2015 Kevin Fenzi 1.0.1-8 +- Rebuild for Xfce 4.12 + +* Mon Aug 18 2014 Fedora Release Engineering - 1.0.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 1.0.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 1.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Feb 15 2013 Fedora Release Engineering - 1.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sun Jul 22 2012 Fedora Release Engineering - 1.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Apr 24 2012 Ville Skyttä - 1.0.1-2 +- Fix -debuginfo. + +* Wed Apr 18 2012 Christoph Wickert - 1.0.1-1 +- Update to 1.0.1 +- Add VCS key + +* Sun Apr 15 2012 Kevin Fenzi - 1.0.0-5 +- Rebuild for Xfce 4.10(pre2) + +* Thu Apr 05 2012 Kevin Fenzi - 1.0.0-4 +- Rebuild for Xfce 4.10 + +* Sat Jan 14 2012 Fedora Release Engineering - 1.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Feb 07 2011 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Dec 27 2010 Christoph Wickert - 1.0.0-1 +- Update to 1.0.0 +- Drop all patches (obsolete) + +* Sun Dec 19 2010 Christoph Wickert - 0.1.1-6 +- Rebuild for xfce4-panel 4.7 + +* Sun Dec 19 2010 Christoph Wickert - 0.1.1-5 +- Hide the time label on startup if settings say so (bugzilla.xfce.org #3224) +- Update translations from Xfce Transifex +- Update icon-cache scriptlets + +* Mon Jul 27 2009 Fedora Release Engineering - 0.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sun Jan 18 2009 Christoph Wickert - 0.1.1-2 +- Rebuild for Xfce 4.6 (Beta 3) + +* Sun Nov 25 2007 Christoph Wickert - 0.1.1-1 +- Initial Fedora package diff --git a/sources b/sources index e69de29..27ccb3a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (xfce4-time-out-plugin-1.2.0.tar.xz) = 47e29870e765b4369d1bcc2a45d9726b1f49553b7f57d1757489c5d060f2d1eb2b93c9b007d8a316550f48227dc1fb894f9a6cd6e5eb34e4e090f49826b6e251 diff --git a/xfce4-time-out-plugin.spec b/xfce4-time-out-plugin.spec new file mode 100644 index 0000000..4934b3d --- /dev/null +++ b/xfce4-time-out-plugin.spec @@ -0,0 +1,65 @@ +# Review at https://bugzilla.redhat.com/show_bug.cgi?id=398111 +# VCS https://gitlab.xfce.org/panel-plugins/xfce4-time-out-plugin + +%global minor_version 1.2 +%global xfceversion 4.20 + +Name: xfce4-time-out-plugin +Version: 1.2.0 +Release: %autorelease +Summary: Xfce panel plugin for taking breaks from the computer + +License: GPL-2.0-or-later +URL: https://docs.xfce.org/panel-plugins/xfce4-time-out-plugin/start +Source0: https://archive.xfce.org/src/panel-plugins/%{name}/%{minor_version}/%{name}-%{version}.tar.xz + +BuildRequires: gcc-c++ +BuildRequires: gettext +BuildRequires: git-core +BuildRequires: libICE-devel +BuildRequires: libxfce4ui-devel >= %{xfceversion} +BuildRequires: libxml2-devel +BuildRequires: meson +BuildRequires: xfce4-panel-devel >= %{xfceversion} + +Requires: xfce4-panel >= %{xfceversion} + +%description +This plugin makes it possible to take periodical breaks from the computer every +X minutes. During breaks it locks your screen. It optionally allows you to +postpone breaks for a certain time. + + +%prep +%autosetup + + +%build +%meson +%meson_build + + +%install +%meson_install + +chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/libtime-out.so + +# Rename non-standard hye locale to hy +if [ -d %{buildroot}%{_datadir}/locale/hye ]; then + mv %{buildroot}%{_datadir}/locale/hye %{buildroot}%{_datadir}/locale/hy +fi + +%find_lang %{name} + + +%files -f %{name}.lang +%license COPYING +%doc AUTHORS NEWS README.md +%{_libdir}/xfce4/panel/plugins/libtime-out.so +%{_datadir}/xfce4/panel/plugins/*.desktop +%{_datadir}/icons/hicolor/*/*/* + + +%changelog +%autochangelog +