From d45c7327834a1ec4340dd9b084c1f14074b6f030 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 11 Aug 2009 05:14:49 +0000 Subject: [PATCH 1/6] Initialize branch F-10 for shutter --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..dc32377 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-10 From 8ef09d25c924d2ef9f13b1ea9e6e980637c2df27 Mon Sep 17 00:00:00 2001 From: Liang Suilong Date: Tue, 11 Aug 2009 06:44:40 +0000 Subject: [PATCH 2/6] Liang Suilong's Update --- .cvsignore | 1 + import.log | 1 + shutter.spec | 118 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 121 insertions(+) create mode 100644 import.log create mode 100644 shutter.spec diff --git a/.cvsignore b/.cvsignore index e69de29..c8f695f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +shutter-0.80.1.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..b5b5488 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +shutter-0_80_1-1_fc11:F-10:shutter-0.80.1-1.fc11.src.rpm:1249973017 diff --git a/shutter.spec b/shutter.spec new file mode 100644 index 0000000..1cf31cd --- /dev/null +++ b/shutter.spec @@ -0,0 +1,118 @@ +#%define ppa_version ppa6 +Name: shutter +Version: 0.80.1 +Release: 1%{?dist} +Summary: GTK+ 2.0 screenshot application written in perl +Group: Applications/Multimedia +License: GPL+ or Artistic +URL: http://shutter-project.org +Source0: http://shutter-project.org/wp-content/uploads/releases/tars/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: desktop-file-utils +Requires: gnome-web-photo, gtklp +Requires: perl(Gtk2::ImageView) +Requires: perl(X11::Protocol) + +%description +Shutter is a GTK+ 2.0 screenshot application written in perl. +Shutter covers all features of common command line tools like +scrot or import and adds reasonable new features combined +with a comfortable GUI using the GTK+ 2.0 framework + + +%prep +%setup -q -n %{name}-%{version} +rm -rf share/app-install/ +rm -rf share/shutter/resources/po/ +rm -rf share/shutter/resources/modules/{File,Net,Proc,Sort,X11} +rm -rf share/doc + +%build + +%install +rm -rf $RPM_BUILD_ROOT +# executable and data +install -d -m 0755 -p $RPM_BUILD_ROOT%{_bindir} +install -d -m 0755 -p $RPM_BUILD_ROOT%{_datadir} +cp -pfr bin/* $RPM_BUILD_ROOT%{_bindir}/ +cp -pfr share/* $RPM_BUILD_ROOT%{_datadir}/ + +desktop-file-install --delete-original \ + --dir ${RPM_BUILD_ROOT}/%{_datadir}/applications \ + ${RPM_BUILD_ROOT}/%{_datadir}/applications/%{name}.desktop + +%find_lang %{name} +%find_lang %{name}-plugins +cat %{name}-plugins.lang >> %{name}.lang + +%post +update-desktop-database %{_datadir}/applications &>/dev/null || : + + +%postun +update-desktop-database %{_datadir}/applications &>/dev/null || : + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc README COPYING +%{_bindir}/%{name} +%{_datadir}/applications/%{name}.desktop +%{_datadir}/%{name} +%{_mandir}/man1/%{name}* +%{_datadir}/pixmaps/ + + +%changelog +* Mon Aug 3 2009 Liang Suilong - 0.80.1-1 +- Updrade to shutter-0.80.1 + +* Mon Aug 3 2009 Liang Suilong - 0.80-5 +- Update %%install script + +* Wed Jul 29 2009 Liang Suilong - 0.80-4 +- Update %%install script + +* Mon Jul 20 2009 Liang Suilong - 0.80-3 +- Add perl(X11::Protocol) as require + +* Thu Jun 25 2009 Liang Suilong - 0.80-2 +- Upstream to shutter-0.80 Final GA + +* Thu Jun 25 2009 Liang Suilong - 0.80-1.ppa6 +- Upstream to shutter-0.80~ppa6 +- Update the SPEC file + +* Thu Jun 25 2009 Liang Suilong - 0.70.2-3.ppa4 +- Remove share/shutter/resources/pofiles/ +- Remove share/shutter/resources/modules/File +- Remove share/shutter/resources/pofiles/Proc + +* Wed Apr 15 2009 Liang Suilong - 0.70.2-2.ppa4 +- Add a desktop-file-utils as BuildRequires + +* Wed Apr 15 2009 Liang Suilong - 0.70.2-2.ppa3 +- Add a desktop-file-utils as BuildRequires + +* Sun Jan 18 2009 Liang Suilong - 0.70.2-1 +- Upstream to 0.70.2 + +* Sun Jan 18 2009 Liang Suilong - 0.70.1-1 +- Upstream to 0.70.1 + +* Sun Jan 18 2009 Liang Suilong - 0.70-1 +- Upstream to 0.70 + +* Sun Jan 18 2009 Liang Suilong - 0.64-2 +- Add several Requires so that advanced functions can run. +- Fix the authoritie of install path. + +* Fri Jan 02 2009 bbbush - 0.64-1 +- update to 0.64, clean up spec + +* Mon Dec 29 2008 Liang Suilong - 0.63-3 +- Initial package for Fedora diff --git a/sources b/sources index e69de29..cf44cc8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fe328193f496847f0a563f294eed0b1f shutter-0.80.1.tar.gz From f34d18c07034d7cd4b0dbd18a36c3e0fdca20c42 Mon Sep 17 00:00:00 2001 From: Liang Suilong Date: Sun, 16 Aug 2009 06:14:07 +0000 Subject: [PATCH 3/6] *** empty log message *** --- shutter.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/shutter.spec b/shutter.spec index 1cf31cd..25b290c 100644 --- a/shutter.spec +++ b/shutter.spec @@ -1,7 +1,7 @@ #%define ppa_version ppa6 Name: shutter Version: 0.80.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK+ 2.0 screenshot application written in perl Group: Applications/Multimedia License: GPL+ or Artistic @@ -10,7 +10,7 @@ Source0: http://shutter-project.org/wp-content/uploads/releases/tars/%{name}-%{v BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils -Requires: gnome-web-photo, gtklp +Requires: gnome-web-photo Requires: perl(Gtk2::ImageView) Requires: perl(X11::Protocol) @@ -68,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Aug 16 2009 Liang Suilong - 0.80.1-2 +- Remove requires: gtklp + * Mon Aug 3 2009 Liang Suilong - 0.80.1-1 - Updrade to shutter-0.80.1 From bc189e309a1e6ab35754a914bb5653923e48f453 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:39:38 +0000 Subject: [PATCH 4/6] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f3d2796..9786475 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := shutter 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 +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From c410219a73a87941b437d74b827a70d9ae2c8068 Mon Sep 17 00:00:00 2001 From: Liang Suilong Date: Mon, 7 Dec 2009 13:19:37 +0000 Subject: [PATCH 5/6] *** empty log message *** --- .cvsignore | 1 + shutter.spec | 16 ++++++++++------ sources | 1 + 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.cvsignore b/.cvsignore index c8f695f..505fa68 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ shutter-0.80.1.tar.gz +shutter-0.85.1.tar.gz diff --git a/shutter.spec b/shutter.spec index 25b290c..f9cacbe 100644 --- a/shutter.spec +++ b/shutter.spec @@ -1,7 +1,7 @@ #%define ppa_version ppa6 Name: shutter -Version: 0.80.1 -Release: 2%{?dist} +Version: 0.85.1 +Release: 1%{?dist} Summary: GTK+ 2.0 screenshot application written in perl Group: Applications/Multimedia License: GPL+ or Artistic @@ -10,9 +10,10 @@ Source0: http://shutter-project.org/wp-content/uploads/releases/tars/%{name}-%{v BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils -Requires: gnome-web-photo +Requires: gnome-web-photo, gtklp Requires: perl(Gtk2::ImageView) Requires: perl(X11::Protocol) +Requires: nautilus-sendto %description Shutter is a GTK+ 2.0 screenshot application written in perl. @@ -65,11 +66,14 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/%{name} %{_mandir}/man1/%{name}* %{_datadir}/pixmaps/ - +%{_datadir}/icons/hicolor/*/apps/%{name}.* %changelog -* Sun Aug 16 2009 Liang Suilong - 0.80.1-2 -- Remove requires: gtklp +* Mon Dec 7 2009 Liang Suilong - 0.85.1-1 +- Upgrade to shutter-0.85.1 + +* Sat Nov 21 2009 Liang Suilong - 0.85-1 +- Upgrade to shutter-0.85 * Mon Aug 3 2009 Liang Suilong - 0.80.1-1 - Updrade to shutter-0.80.1 diff --git a/sources b/sources index cf44cc8..b34da8d 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ fe328193f496847f0a563f294eed0b1f shutter-0.80.1.tar.gz +65523d7b3199ac1d03c1577e68725e36 shutter-0.85.1.tar.gz From bb7821b2258290356219990456b81d93c6e538d3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 12:45:58 +0000 Subject: [PATCH 6/6] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 9786475..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: shutter -# $Id$ -NAME := shutter -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 $$d/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/branch b/branch deleted file mode 100644 index dc32377..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-10 diff --git a/import.log b/import.log deleted file mode 100644 index b5b5488..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -shutter-0_80_1-1_fc11:F-10:shutter-0.80.1-1.fc11.src.rpm:1249973017