Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
gnome-screenshot
gnome-screenshot.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-screenshot.spec of Package gnome-screenshot
# # spec file for package gnome-screenshot # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: gnome-screenshot Version: 3.4.1 Release: 0 Summary: Utility to take pictures of your screen License: GPL-2.0+ Group: System/GUI/GNOME Url: http://www.gnome.org Source: http://download.gnome.org/sources/gnome-screenshot/3.4/%{name}-%{version}.tar.xz # The applets-screenshooter.png icon files are missing in the tarball, see bgo#663191 Source1: applets-screenshooter-16.png Source2: applets-screenshooter-22.png Source3: applets-screenshooter-24.png Source4: applets-screenshooter-32.png Source5: applets-screenshooter-48.png Source6: applets-screenshooter-256.png # End bgo#663191 fixup BuildRequires: intltool >= 0.40.0 BuildRequires: update-desktop-files BuildRequires: pkgconfig(glib-2.0) >= 2.31.0 BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0 BuildRequires: pkgconfig(libcanberra-gtk3) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) Recommends: %{name}-lang Conflicts: gnome-utils < 3.3.1 BuildRoot: %{_tmppath}/%{name}-%{version}-build %glib2_gsettings_schema_requires %description The screenshot tool captures the screen, a window, or an user-defined area and save the snapshot image to a file. %lang_package %prep %setup -q %build %configure --disable-static make %{?_smp_mflags} %install %make_install # install the missing icons, see bgo#663191 for size in 16 22 24 32 48 256; do # Installing with -b, as this will create 'build failures' when the file existed already. It creates a ~ Backup file. install -b -D %{_sourcedir}/applets-screenshooter-${size}.png %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/applets-screenshooter.png done # end bgo#663191 fixup %find_lang %{name} %suse_update_desktop_file %{name} X-SuSE-DesktopUtility %post %glib2_gsettings_schema_post %desktop_database_post %icon_theme_cache_post %postun %glib2_gsettings_schema_postun %desktop_database_postun %icon_theme_cache_postun %files %defattr(-,root,root) %doc COPYING NEWS %{_datadir}/icons/hicolor/*/apps/applets-screenshooter.png %{_datadir}/applications/%{name}.desktop %{_bindir}/%{name} %{_datadir}/glib-2.0/schemas/org.gnome.gnome-screenshot.gschema.xml %{_datadir}/%{name}/ %{_mandir}/man1/%{name}.1%{?ext_man} %dir %{_datadir}/GConf %dir %{_datadir}/GConf/gsettings %dir %{_datadir}/GConf/gsettings/%{name}.convert %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor