From 08363480b93b1723b83ad35a4670c0fe031e00b9 Mon Sep 17 00:00:00 2001 From: Martin Gansser Date: Fri, 20 Aug 2021 15:43:43 +0200 Subject: [PATCH 1/7] Use plain "perl" instead of %{__perl} macro Do not provide perl(Gtk3::IconSize) --- .gitignore | 1 + sources | 1 + 2 files changed, 2 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6614c18 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/shutter-0.98.tar.gz diff --git a/sources b/sources index e69de29..3faaede 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (shutter-0.98.tar.gz) = 5a3321db635a81f6f67d5789cf374d846f21003a9bd3fd748bb58481d8a5fde450a1c4b5ad4d3edee49804cee6dd8da6ad7b4422eaef96bb333b8b3059cb3e41 From c8c6ba75e0b87b0bead0a518b58f0c7d74227088 Mon Sep 17 00:00:00 2001 From: Martin Gansser Date: Fri, 20 Aug 2021 16:04:37 +0200 Subject: [PATCH 2/7] Use plain "perl" instead of %{__perl} macro Do not provide perl(Gtk3::IconSize) --- shutter.spec | 402 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 402 insertions(+) create mode 100644 shutter.spec diff --git a/shutter.spec b/shutter.spec new file mode 100644 index 0000000..3eaf03f --- /dev/null +++ b/shutter.spec @@ -0,0 +1,402 @@ +# For git snapshots, set to 0 to use release instead: +%global usesnapshot 0 +%if 0%{?usesnapshot} +%global commit0 01d8563a9b7453fa069da2c448e53b5eeff8592e +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) +%global snapshottag .git%{shortcommit0} +%endif + +Name: shutter +Version: 0.98 +%if 0%{?usesnapshot} +Release: 0.1%{?snapshottag}%{?dist} +%else +Release: 5%{?dist} +%endif +Summary: GTK+3-based screenshot application written in Perl + +# share/shutter/resources/icons/draw.svg packaged is CC-BY-SA +# share/shutter/resources/system/plugins/perl/spwatermark/spwatermark.svg is Public Domain +# share/shutter/resources/po/shutter/zh_TW.po is MIT (same as gscrot ) +# share/shutter/resources/icons/drawing_tool/objects/tux.svg is GPLv2 +# share/shutter/resources/icons/drawing_tool/cursor files are GPLv2+ +# share/appdata/shutter.appdata.xml is CC0 +License: GPLv3+ and GPLv2+ and GPLv2 and CC-BY-SA and MIT and CC0 and Public Domain +URL: https://shutter-project.org/ +%if 0%{?usesnapshot} +Source0: https://github.com/shutter-project/shutter/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz +%else +Source0: https://github.com/shutter-project/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +%endif + +# https://bugs.launchpad.net/shutter/+bug/1469840 +BuildArch: noarch + +BuildRequires: desktop-file-utils +BuildRequires: libappstream-glib +BuildRequires: coreutils +BuildRequires: sed +%if 0%{?fedora} +BuildRequires: perl-interpreter +%endif +BuildRequires: perl-generators +BuildRequires: gettext + +Requires: ImageMagick +Requires: tango-icon-theme +Requires: perl(X11::Protocol::Ext::XFIXES) +Requires: hicolor-icon-theme +Requires: perl(Image::ExifTool) +Requires: perl(Goo::Canvas) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +# Filter all provides +%global __provides_exclude_from %{_datadir}/%{name}/resources/system/upload_plugins +# Do not provide perl(Gtk3::IconSize) +%global __provides_exclude %{?__provides_exclude:%{__provides_exclude}|}^perl\\(Gtk3::IconSize\\) + +%description +Shutter is a feature-rich screenshot program for Linux based operating systems +such as Ubuntu. You can take a screenshot of a specific area, window, your whole +screen, or even of a website – apply different effects to it, draw on it to +highlight points, and then upload to an image hosting site, all within one +window. Shutter is free, open-source, and licensed under GPL v3. + +%prep +%if 0%{?usesnapshot} + %autosetup -n %{name}-%{commit0} +%else + %autosetup -p0 -n %{name}-%{version} +%endif +# Remove the bundled perl(X11::Protocol::Ext::XFIXES) +rm -vr share/%{name}/resources/modules/X11 +rm -vr share/%{name}/resources/modules/WebService +# Remove th bundled tango-icon theme +rm -rf share/%{name}/resources/icons/drawing_tool/objects/"Tango icon library" +# fix attribute-invalid : has invalid type attribute +sed -i -e 's|launchable type="desktop"|launchable type="desktop-id"|' share/appdata/shutter.appdata.xml +# fix attribute-invalid : has invalid type attribute +sed -i '2i' share/appdata/shutter.appdata.xml +echo "" >> share/appdata/shutter.appdata.xml +sed -i '//d' share/appdata/shutter.appdata.xml +sed -i '/<\/application>/d' share/appdata/shutter.appdata.xml + +# Move icons into the correct directory +mv share/icons/hicolor/24x24/apps/shutter-panel.png share/icons/hicolor/32x32/apps/shutter-panel.png +mv share/icons/hicolor/24x24/apps/shutter.png share/icons/hicolor/32x32/apps/shutter-panel.png + +%build +./po2mo.sh + +%install +# executable and data +install -d -m 0755 -p %{buildroot}%{_bindir} +install -d -m 0755 -p %{buildroot}%{_datadir} +install -d -m 0755 -p %{buildroot}%{perl_vendorlib} +cp -pfr bin/* %{buildroot}%{_bindir}/ +cp -pfr share/* %{buildroot}%{_datadir}/ +mv %{buildroot}%{_datadir}/%{name}/resources/modules/* \ + %{buildroot}%{perl_vendorlib} +rmdir %{buildroot}%{_datadir}/%{name}/resources/modules/ + +desktop-file-install --delete-original \ + --dir %{buildroot}%{_datadir}/applications \ + %{buildroot}%{_datadir}/applications/%{name}.desktop + +# fixes E: script-without-shebang +chmod 0644 %{buildroot}%{_datadir}/%{name}/resources/system/upload_plugins/upload/*.pm + +%find_lang %{name} --all-name + +# Install AppData +mkdir -p %{buildroot}%{_metainfodir}/ +cp share/appdata/shutter.appdata.xml %{buildroot}%{_metainfodir}/shutter.appdata.xml +rm %{buildroot}/%{_datadir}/appdata/shutter.appdata.xml + +# Symlink duplicated files +rm %{buildroot}%{_datadir}/icons/HighContrast/scalable/apps/shutter-panel.svg +ln -s %{_datadir}/icons/HighContrast/scalable/apps/shutter.svg %{buildroot}%{_datadir}/icons/HighContrast/scalable/apps/shutter-panel.svg +rm %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/shutter-panel.png +ln -s %{_datadir}/icons/hicolor/16x16/apps/shutter.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/shutter-panel.png +rm %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/shutter-panel.png +ln -s %{_datadir}/icons/hicolor/22x22/apps/shutter.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/shutter-panel.png +rm %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/shutter-panel.png +ln -s %{_datadir}/icons/hicolor/32x32/apps/shutter.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/shutter-panel.png +rm %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/shutter.png +ln -s %{_datadir}/pixmaps/shutter.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/shutter.png +rm %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/shutter-panel.svg +ln -s %{_datadir}/icons/hicolor/scalable/apps/shutter.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/shutter-panel.svg +rm %{buildroot}%{_datadir}/shutter/resources/icons/Image.svg +ln -s %{_datadir}/shutter/resources/icons/drawing_tool/draw-image.svg %{buildroot}%{_datadir}/shutter/resources/icons/Image.svg +rm %{buildroot}%{_datadir}/shutter/resources/icons/Normal.cur +ln -s %{_datadir}/shutter/resources/icons/drawing_tool/objects/Cursors/Normal.cur %{buildroot}%{_datadir}/shutter/resources/icons/Normal.cur +rm %{buildroot}%{_datadir}/shutter/resources/icons/drawing_tool/cursor/backtext +ln -s %{_datadir}/shutter/resources/icons/drawing_tool/cursor/text %{buildroot}%{_datadir}/shutter/resources/icons/drawing_tool/cursor/backtext + +# linking tango-icon theme +ln -s %{_datadir}/icons/Tango/scalable %{buildroot}/%{_datadir}/shutter/resources/icons/drawing_tool/objects/Tango + +%check +desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop +appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/%{name}.appdata.xml + +%files -f %{name}.lang +%doc CHANGES README +%license COPYING +%license %{_datadir}/%{name}/resources/license/* +%{_bindir}/%{name} +%{perl_vendorlib}/Shutter/ +%{_metainfodir}/%{name}.appdata.xml +%{_datadir}/applications/%{name}.desktop +%{_datadir}/%{name} +%{_mandir}/man1/%{name}* +%{_datadir}/pixmaps/%{name}.png +%{_datadir}/icons/hicolor/*/apps/*.* +%{_datadir}/icons/HighContrast/ + +%changelog +* Thu Aug 19 2021 Martin Gansser - 0.98-5 +- Use plain "perl" instead of %%{__perl} macro +- Do not provide perl(Gtk3::IconSize) + +* Thu Aug 19 2021 Martin Gansser - 0.98-4 +- Move %%global __provides_exclude_from above the description section +- Add share/shutter/resources/icons/drawing_tool/cursor files are GPLv2+ +- List the licenses of all the packaged files into the License section +- Creating symbolic links (ln -s) instead of hard links in the %%install section +- Do not explicitly run-require perl(GooCanvas2::CairoTypes) and perl(Gtk3::ImageView) + they are found automatically. +- Do not run-require perl-Pango. It is found as perl(Pango) automatically + +* Sun Aug 08 2021 Martin Gansser - 0.98-3 +- Unbundle tango-icon-theme +- Add RR tango-icon-theme + +* Thu Aug 05 2021 Martin Gansser - 0.98-2 +- Update URL +- Use a description from About +- Declare license files +- Add Provides bundled(tango-icon-theme) +- Do not use %%filter_provides_in use %%__provides_exclude_from +- Add BR libappstream-glib +- Add BR coreutils +- Add BR sed +- Move icons into the correct directory +- Symlink duplicated files +- Filter all provides + +* Wed Aug 04 2021 Martin Gansser - 0.98-1 +- Update to 0.98-1 + +* Tue Jun 22 2021 Martin Gansser - 0.97-0.1.git01d8563 +- Update to 0.97-0.1.git01d8563 +- Add RR perl(Gtk3::ImageView) +- Add RR perl(Goo::Canvas) +- Add RR perl(GooCanvas2::CairoTypes) +- Add RR perl-Pango + +* Wed Jul 29 2020 Fedora Release Engineering - 0.94.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jun 26 2020 Jitka Plesnikova - 0.94.3-4 +- Perl 5.32 re-rebuild of bootstrapped packages + +* Mon Jun 22 2020 Jitka Plesnikova - 0.94.3-3 +- Perl 5.32 rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.94.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Dec 09 2019 Till Maas - 0.94.3-1 +- Update to latest release with critical bug fix +- Remove outdated conditional +- Remove broken patch + +* Fri Jul 26 2019 Fedora Release Engineering - 0.93.1-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu May 30 2019 Jitka Plesnikova - 0.93.1-13 +- Perl 5.30 rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.93.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 0.93.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 0.93.1-10 +- Perl 5.28 rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.93.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Aug 05 2017 Rex Dieter - 0.93.1-8 +- use %%license, simplify %%find_lang +- ImageMagick missing from dependencies (#1435789) +- Shutter requires retired orphaned gnome-web-photo (#1436632) +- fix perl-interpretter/gnome-web-photo deps for epel + +* Thu Jul 27 2017 Fedora Release Engineering - 0.93.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Jul 07 2017 Igor Gnatenko - 0.93.1-6 +- Rebuild due to bug in RPM (RHBZ #1468476) + +* Sun Jun 04 2017 Jitka Plesnikova - 0.93.1-5 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.93.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 0.93.1-3 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.93.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Mon Aug 17 2015 Robin Lee - 0.93.1-1 +- Update to 0.93.1 (BZ#1178438, BZ#1247730) +- Requires perl(Gtk2::AppIndicator) (BZ#1228973) +- Fix xdg-email usage (BZ#1209360) +- Specfile untabified + +* Fri Jun 19 2015 Fedora Release Engineering - 0.93-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 03 2015 Jitka Plesnikova - 0.93-3 +- Perl 5.22 rebuild + +* Thu Mar 26 2015 Richard Hughes - 0.93-2 +- Add an AppData file for the software center + +* Sun Oct 19 2014 Robin Lee - 0.93-1 +- Update to 0.93 + +* Wed Aug 27 2014 Jitka Plesnikova - 0.91-2 +- Perl 5.20 rebuild + +* Tue Jun 17 2014 Robin Lee - 0.91-1 +- Update to 0.91 + +* Sun Jun 08 2014 Fedora Release Engineering - 0.90.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Sep 26 2013 Robin Lee - 0.90.1-1 +- Update to 0.90.1 + +* Sun Aug 04 2013 Fedora Release Engineering - 0.90-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 17 2013 Petr Pisar - 0.90-3 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.90-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Dec 19 2012 Robin Lee - 0.90-1 +- Update to 0.90 + +* Mon Aug 20 2012 Robin Lee - 0.89.1-2 +- Remove the bundled perl(X11::Protocol::Ext::XFIXES) + +* Thu Aug 16 2012 Robin Lee - 0.89.1-1 +- Update to 0.89.1 +- Remove the patch for desktop entry file +- Filtered fake provides +- Add Perl MODULE_COMPAT requires +- Requires perl(X11::Protocol::Ext::XFIXES) +- Don't remove the executable bit of the upload plugins + +* Fri Aug 10 2012 Robin Lee - 0.89-1 +- Update to 0.89 (#722700, #753423, #659378, #759686, #754880) +- License changed to GPLv3+ +- Patch updated +- Perl modules moved to %%{perl_vendorlib} +- Scriptlet updated +- Other cleanup + +* Sat Jul 21 2012 Fedora Release Engineering - 0.87.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 0.87.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Sep 11 2011 Liang Suilong - 0.87.3-1 +- Upgrade to shutter-0.87.3 + +* Sat Jun 4 2011 Liang Suilong - 0.87.2-1 +- Upgrade to shutter-0.87.2 +- Add BR: perl(Gtk2::Unique) + +* Wed Feb 09 2011 Fedora Release Engineering - 0.86.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Sep 13 2010 Liang Suilong - 0.86.4-1 +- Upgrade to shutter-0.86.2 +- Add icons for new version + +* Thu May 06 2010 Liang Suilong - 0.86.2-1 +- Upgrade to shutter-0.86.2 +- Add BR: hicolor-icon-theme + +* Mon Apr 19 2010 Liang Suilong - 0.86.1-1 +- Upgrade to shutter-0.86.1 + +* Tue Mar 2 2010 Liang Suilong - 0.85.1-2 +- Remove BR:gtklp +- fix the bug of directory ownership + +* 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 + +* 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 From 1192672718fa452d7d0b4da0d4a8d6480291a21a Mon Sep 17 00:00:00 2001 From: Martin Gansser Date: Tue, 31 Aug 2021 13:17:43 +0200 Subject: [PATCH 3/7] Add RR libwnck3 needed by Wayland --- shutter.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/shutter.spec b/shutter.spec index 3eaf03f..234faa4 100644 --- a/shutter.spec +++ b/shutter.spec @@ -11,7 +11,7 @@ Version: 0.98 %if 0%{?usesnapshot} Release: 0.1%{?snapshottag}%{?dist} %else -Release: 5%{?dist} +Release: 6%{?dist} %endif Summary: GTK+3-based screenshot application written in Perl @@ -46,6 +46,7 @@ Requires: ImageMagick Requires: tango-icon-theme Requires: perl(X11::Protocol::Ext::XFIXES) Requires: hicolor-icon-theme +Requires: libwnck3 Requires: perl(Image::ExifTool) Requires: perl(Goo::Canvas) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) @@ -155,6 +156,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/%{name}.appda %{_datadir}/icons/HighContrast/ %changelog +* Tue Aug 31 2021 Martin Gansser - 0.98-6 +- Add RR libwnck3 needed by Wayland + * Thu Aug 19 2021 Martin Gansser - 0.98-5 - Use plain "perl" instead of %%{__perl} macro - Do not provide perl(Gtk3::IconSize) From ad9f0e5ed7bc3a17f6732c02285ca015257460cf Mon Sep 17 00:00:00 2001 From: Martin Gansser Date: Sat, 4 Sep 2021 02:52:00 +0200 Subject: [PATCH 4/7] Update to 0.99-1 --- .gitignore | 1 + shutter.spec | 19 ++++++------------- sources | 2 +- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 6614c18..07248ca 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /shutter-0.98.tar.gz +/shutter-0.99.tar.gz diff --git a/shutter.spec b/shutter.spec index 234faa4..cdff7a2 100644 --- a/shutter.spec +++ b/shutter.spec @@ -7,11 +7,11 @@ %endif Name: shutter -Version: 0.98 +Version: 0.99 %if 0%{?usesnapshot} Release: 0.1%{?snapshottag}%{?dist} %else -Release: 6%{?dist} +Release: 1%{?dist} %endif Summary: GTK+3-based screenshot application written in Perl @@ -72,18 +72,8 @@ window. Shutter is free, open-source, and licensed under GPL v3. # Remove the bundled perl(X11::Protocol::Ext::XFIXES) rm -vr share/%{name}/resources/modules/X11 rm -vr share/%{name}/resources/modules/WebService -# Remove th bundled tango-icon theme -rm -rf share/%{name}/resources/icons/drawing_tool/objects/"Tango icon library" -# fix attribute-invalid : has invalid type attribute -sed -i -e 's|launchable type="desktop"|launchable type="desktop-id"|' share/appdata/shutter.appdata.xml -# fix attribute-invalid : has invalid type attribute -sed -i '2i' share/appdata/shutter.appdata.xml -echo "" >> share/appdata/shutter.appdata.xml -sed -i '//d' share/appdata/shutter.appdata.xml -sed -i '/<\/application>/d' share/appdata/shutter.appdata.xml # Move icons into the correct directory -mv share/icons/hicolor/24x24/apps/shutter-panel.png share/icons/hicolor/32x32/apps/shutter-panel.png mv share/icons/hicolor/24x24/apps/shutter.png share/icons/hicolor/32x32/apps/shutter-panel.png %build @@ -156,8 +146,11 @@ appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/%{name}.appda %{_datadir}/icons/HighContrast/ %changelog +* Sat Sep 04 2021 Martin Gansser - 0.99-1 +- Update to 0.99-1 + * Tue Aug 31 2021 Martin Gansser - 0.98-6 -- Add RR libwnck3 needed by Wayland +- Add RR libwnck3 needed by X11 * Thu Aug 19 2021 Martin Gansser - 0.98-5 - Use plain "perl" instead of %%{__perl} macro diff --git a/sources b/sources index 3faaede..297fbb7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (shutter-0.98.tar.gz) = 5a3321db635a81f6f67d5789cf374d846f21003a9bd3fd748bb58481d8a5fde450a1c4b5ad4d3edee49804cee6dd8da6ad7b4422eaef96bb333b8b3059cb3e41 +SHA512 (shutter-0.99.tar.gz) = 335c85730f49978d4b69ee2d5bbaa5d660d652d386a70618fdeb46c639bd209cee99743b44a8ef1019404f52328692de91bfbe47b14bea202efd089f80d36f82 From b54e335dae8bcb2041184990bda42b0caa4136e5 Mon Sep 17 00:00:00 2001 From: Martin Gansser Date: Sun, 5 Sep 2021 11:55:53 +0200 Subject: [PATCH 5/7] Cleanup spec file --- shutter.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/shutter.spec b/shutter.spec index cdff7a2..8e40768 100644 --- a/shutter.spec +++ b/shutter.spec @@ -11,7 +11,7 @@ Version: 0.99 %if 0%{?usesnapshot} Release: 0.1%{?snapshottag}%{?dist} %else -Release: 1%{?dist} +Release: 2%{?dist} %endif Summary: GTK+3-based screenshot application written in Perl @@ -73,9 +73,6 @@ window. Shutter is free, open-source, and licensed under GPL v3. rm -vr share/%{name}/resources/modules/X11 rm -vr share/%{name}/resources/modules/WebService -# Move icons into the correct directory -mv share/icons/hicolor/24x24/apps/shutter.png share/icons/hicolor/32x32/apps/shutter-panel.png - %build ./po2mo.sh @@ -111,7 +108,7 @@ rm %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/shutter-panel.png ln -s %{_datadir}/icons/hicolor/16x16/apps/shutter.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/shutter-panel.png rm %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/shutter-panel.png ln -s %{_datadir}/icons/hicolor/22x22/apps/shutter.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/shutter-panel.png -rm %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/shutter-panel.png +rm %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/shutter.png ln -s %{_datadir}/icons/hicolor/32x32/apps/shutter.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/shutter-panel.png rm %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/shutter.png ln -s %{_datadir}/pixmaps/shutter.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/shutter.png @@ -146,6 +143,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/%{name}.appda %{_datadir}/icons/HighContrast/ %changelog +* Sun Sep 05 2021 Martin Gansser - 0.99-2 +- Cleanup spec file + * Sat Sep 04 2021 Martin Gansser - 0.99-1 - Update to 0.99-1 From 6da58d3319fcb11e7cdb1df6ac2d8a1c660d3c3f Mon Sep 17 00:00:00 2001 From: Martin Gansser Date: Mon, 18 Oct 2021 12:51:46 +0200 Subject: [PATCH 6/7] Update to 0.99.1-1 --- .gitignore | 1 + shutter.spec | 9 +++++---- sources | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 07248ca..586d674 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /shutter-0.98.tar.gz /shutter-0.99.tar.gz +/shutter-0.99.1.tar.gz diff --git a/shutter.spec b/shutter.spec index 8e40768..45d2735 100644 --- a/shutter.spec +++ b/shutter.spec @@ -7,11 +7,11 @@ %endif Name: shutter -Version: 0.99 +Version: 0.99.1 %if 0%{?usesnapshot} Release: 0.1%{?snapshottag}%{?dist} %else -Release: 2%{?dist} +Release: 1%{?dist} %endif Summary: GTK+3-based screenshot application written in Perl @@ -110,8 +110,6 @@ rm %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/shutter-panel.png ln -s %{_datadir}/icons/hicolor/22x22/apps/shutter.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/shutter-panel.png rm %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/shutter.png ln -s %{_datadir}/icons/hicolor/32x32/apps/shutter.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/shutter-panel.png -rm %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/shutter.png -ln -s %{_datadir}/pixmaps/shutter.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/shutter.png rm %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/shutter-panel.svg ln -s %{_datadir}/icons/hicolor/scalable/apps/shutter.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/shutter-panel.svg rm %{buildroot}%{_datadir}/shutter/resources/icons/Image.svg @@ -143,6 +141,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/%{name}.appda %{_datadir}/icons/HighContrast/ %changelog +* Mon Oct 18 2021 Martin Gansser - 0.99.1-1 +- Update to 0.99.1-1 + * Sun Sep 05 2021 Martin Gansser - 0.99-2 - Cleanup spec file diff --git a/sources b/sources index 297fbb7..5fe250a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (shutter-0.99.tar.gz) = 335c85730f49978d4b69ee2d5bbaa5d660d652d386a70618fdeb46c639bd209cee99743b44a8ef1019404f52328692de91bfbe47b14bea202efd089f80d36f82 +SHA512 (shutter-0.99.1.tar.gz) = 4d6ee699d3b31194c6685019a9493968d7a4988ee86f9348cf5aaa15c573b0a5f515ba6e5d786faf8054762ae134fea5ca2add10dbb3e14905247daf1303c751 From bcfab62546f27fbdf5bfe46848431fd1f6e03369 Mon Sep 17 00:00:00 2001 From: Martin Gansser Date: Tue, 26 Oct 2021 15:12:00 +0200 Subject: [PATCH 7/7] Update to 0.99.2-1 --- .gitignore | 1 + shutter.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 586d674..c1bee86 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /shutter-0.98.tar.gz /shutter-0.99.tar.gz /shutter-0.99.1.tar.gz +/shutter-0.99.2.tar.gz diff --git a/shutter.spec b/shutter.spec index 45d2735..dc9b20c 100644 --- a/shutter.spec +++ b/shutter.spec @@ -7,7 +7,7 @@ %endif Name: shutter -Version: 0.99.1 +Version: 0.99.2 %if 0%{?usesnapshot} Release: 0.1%{?snapshottag}%{?dist} %else @@ -141,6 +141,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/%{name}.appda %{_datadir}/icons/HighContrast/ %changelog +* Tue Oct 26 2021 Martin Gansser - 0.99.2-1 +- Update to 0.99.2-1 + * Mon Oct 18 2021 Martin Gansser - 0.99.1-1 - Update to 0.99.1-1 diff --git a/sources b/sources index 5fe250a..e9765ad 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (shutter-0.99.1.tar.gz) = 4d6ee699d3b31194c6685019a9493968d7a4988ee86f9348cf5aaa15c573b0a5f515ba6e5d786faf8054762ae134fea5ca2add10dbb3e14905247daf1303c751 +SHA512 (shutter-0.99.2.tar.gz) = 5fcb094f0e6f732da3648e58ef62aa1e5537132ffb0bff80972e1891f58fe5e63ec63bc7bec63e84268c095e3cd43d60d358be61e2d050dfcc49ffb042d34cfb