Mageia Bugzilla – Attachment 12980 Details for
Bug 25183
Shutter does not work with some LANG variants
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
spec file for 0.99.2
shutter.spec (text/x-matlab), 2.10 KB, created by
papoteur
on 2021-11-09 22:40:39 CET
(
hide
)
Description:
spec file for 0.99.2
Filename:
MIME Type:
Creator:
papoteur
Created:
2021-11-09 22:40:39 CET
Size:
2.10 KB
patch
obsolete
>%global __requires_exclude perl\\(Shutter::.*\\) >%global __provides_exclude perl\\(.*\\) > >Summary: Feature-rich screenshot application >Name: shutter >Version: 0.99.2 >Release: %mkrel 1 >License: GPLv3+ >Group: Graphical desktop/GNOME >URL: https://github.com/shutter-project/shutter >Source: https://github.com/shutter-project/shutter/archive/refs/tags/v%{version}.tar.gz ># https://bugs.launchpad.net/shutter/+bug/1369330 ># https://bugs.launchpad.net/shutter/+bug/1403935 ># https://bugs.launchpad.net/shutter/+bug/1565017 >Patch4: shutter-JSON-v0.2.0.patch >Patch5: CVE-2016-10081.patch >BuildArch: noarch >Requires: typelib(Wnck) = 3.0 >Requires: typelib(GooCanvas) = 2.0 >Recommends: perl-Image-ExifTool > >%description >Shutter is a feature-rich screenshot program. 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. > >%prep >%setup -q -n %{name}-%{version} ># Please DO NOT convert to %%autopatch - I dislike it, and it prevents from ># using the -b flag. -- Shlomi Fish > ># Confuses the shutter installer. >rm -f $(find . -name '*.LEFT_BRACE_WARN') >rm -f $(find . -name '*.UTF8_LOCALE_') > >%build >sh po2mo.sh > >%install ># Remove non-standard groups >perl -i -ln -e 'print unless m{\A\[(Select|Screen|Window|Active) Shortcut Group\]\s*\z}..m{\A\s*\z}' share/applications/%{name}.desktop > >install -d -m 755 %{buildroot}%{_bindir} >install -m 755 bin/shutter %{buildroot}%{_bindir} > >install -d -m 755 %{buildroot}%{_datadir} >cp -pr share/* %{buildroot}%{_datadir} > >%find_lang %{name} >%find_lang %{name}-plugins >%find_lang %{name}-upload-plugins >cat %{name}-plugins.lang >> %{name}.lang >cat %{name}-upload-plugins.lang >> %{name}.lang > >%files -f %{name}.lang >%doc COPYING README >%{_bindir}/%{name} >%{_datadir}/%{name}/ >%{_datadir}/appdata/%{name}.appdata.xml >%{_datadir}/applications/%{name}.desktop >%{_mandir}/man1/* >%{_iconsdir}/hicolor/* >%{_datadir}/pixmaps/%{name}.png >%{_iconsdir}/HighContrast/scalable/apps/%{name}-panel.svg >%{_iconsdir}/HighContrast/scalable/apps/%{name}.svg
%global __requires_exclude perl\\(Shutter::.*\\) %global __provides_exclude perl\\(.*\\) Summary: Feature-rich screenshot application Name: shutter Version: 0.99.2 Release: %mkrel 1 License: GPLv3+ Group: Graphical desktop/GNOME URL: https://github.com/shutter-project/shutter Source: https://github.com/shutter-project/shutter/archive/refs/tags/v%{version}.tar.gz # https://bugs.launchpad.net/shutter/+bug/1369330 # https://bugs.launchpad.net/shutter/+bug/1403935 # https://bugs.launchpad.net/shutter/+bug/1565017 Patch4: shutter-JSON-v0.2.0.patch Patch5: CVE-2016-10081.patch BuildArch: noarch Requires: typelib(Wnck) = 3.0 Requires: typelib(GooCanvas) = 2.0 Recommends: perl-Image-ExifTool %description Shutter is a feature-rich screenshot program. 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. %prep %setup -q -n %{name}-%{version} # Please DO NOT convert to %%autopatch - I dislike it, and it prevents from # using the -b flag. -- Shlomi Fish # Confuses the shutter installer. rm -f $(find . -name '*.LEFT_BRACE_WARN') rm -f $(find . -name '*.UTF8_LOCALE_') %build sh po2mo.sh %install # Remove non-standard groups perl -i -ln -e 'print unless m{\A\[(Select|Screen|Window|Active) Shortcut Group\]\s*\z}..m{\A\s*\z}' share/applications/%{name}.desktop install -d -m 755 %{buildroot}%{_bindir} install -m 755 bin/shutter %{buildroot}%{_bindir} install -d -m 755 %{buildroot}%{_datadir} cp -pr share/* %{buildroot}%{_datadir} %find_lang %{name} %find_lang %{name}-plugins %find_lang %{name}-upload-plugins cat %{name}-plugins.lang >> %{name}.lang cat %{name}-upload-plugins.lang >> %{name}.lang %files -f %{name}.lang %doc COPYING README %{_bindir}/%{name} %{_datadir}/%{name}/ %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_mandir}/man1/* %{_iconsdir}/hicolor/* %{_datadir}/pixmaps/%{name}.png %{_iconsdir}/HighContrast/scalable/apps/%{name}-panel.svg %{_iconsdir}/HighContrast/scalable/apps/%{name}.svg
View Attachment As Raw
Actions:
View
Attachments on
bug 25183
: 12980 |
12981