]>
Commit | Line | Data |
---|---|---|
302308bd JB |
1 | Summary: GNOME Screenshot utility |
2 | Summary(pl.UTF-8): Narzędzie GNOME do robienia zrzutów ekranu | |
27275c33 | 3 | Name: gnome-screenshot |
3fc232f2 | 4 | Version: 41.0 |
cbe5e7f0 | 5 | Release: 1 |
ab1a8082 | 6 | License: GPL v2+ |
27275c33 | 7 | Group: X11/Applications |
3fc232f2 JB |
8 | Source0: https://download.gnome.org/sources/gnome-screenshot/41/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 3d0199188d8ba07399e468a61e0174e8 | |
302308bd | 10 | URL: https://gitlab.gnome.org/GNOME/gnome-screenshot |
92059576 | 11 | BuildRequires: gettext-tools >= 0.17 |
3183d9a5 | 12 | BuildRequires: glib2-devel >= 1:2.36.0 |
302308bd | 13 | BuildRequires: gtk+3-devel >= 3.12.0 |
27275c33 | 14 | BuildRequires: libcanberra-gtk3-devel |
ccb57d43 | 15 | BuildRequires: libhandy1-devel >= 0.90.0 |
302308bd JB |
16 | BuildRequires: meson >= 0.50.0 |
17 | BuildRequires: ninja >= 1.5 | |
27275c33 | 18 | BuildRequires: pkgconfig >= 1:0.22 |
302308bd | 19 | BuildRequires: rpmbuild(macros) >= 1.736 |
27275c33 | 20 | BuildRequires: tar >= 1:1.22 |
ab1a8082 | 21 | BuildRequires: xorg-lib-libX11-devel |
b25054a7 | 22 | BuildRequires: xorg-lib-libXext-devel |
27275c33 | 23 | BuildRequires: xz |
ab1a8082 | 24 | Requires(post,postun): glib2 >= 1:2.36.0 |
3183d9a5 | 25 | Requires: glib2 >= 1:2.36.0 |
302308bd | 26 | Requires: gtk+3 >= 3.12.0 |
ccb57d43 | 27 | Requires: libhandy1 >= 0.90.0 |
045cef86 ER |
28 | Provides: gnome-utils-screenshot = 1:%{version}-%{release} |
29 | Obsoletes: gnome-utils-screenshot < 1:3.3.91-1 | |
27275c33 MB |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
32 | %description | |
302308bd JB |
33 | GNOME Screenshot is a small utility that takes a screenshot of the |
34 | whole desktop; the currently focused window; or an area of the screen. | |
27275c33 MB |
35 | |
36 | %description -l pl.UTF-8 | |
302308bd JB |
37 | GNOME Screenshot to małe narzędzie wykonujące zrzut ekranu: całego |
38 | pulpitu, bieżącego okna lub pewnego obszaru ekranu. | |
27275c33 MB |
39 | |
40 | %prep | |
41 | %setup -q | |
42 | ||
43 | %build | |
302308bd JB |
44 | %meson build |
45 | ||
46 | %ninja_build -C build | |
27275c33 MB |
47 | |
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
302308bd | 51 | %ninja_install -C build |
27275c33 MB |
52 | |
53 | %find_lang %{name} | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %post | |
59 | %glib_compile_schemas | |
60 | ||
61 | %postun | |
62 | %glib_compile_schemas | |
63 | ||
64 | %files -f %{name}.lang | |
65 | %defattr(644,root,root,755) | |
302308bd | 66 | %doc NEWS README.md |
27275c33 | 67 | %attr(755,root,root) %{_bindir}/gnome-screenshot |
ab1a8082 | 68 | %{_datadir}/dbus-1/services/org.gnome.Screenshot.service |
27275c33 | 69 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-screenshot.gschema.xml |
302308bd | 70 | %{_datadir}/metainfo/org.gnome.Screenshot.metainfo.xml |
ab1a8082 | 71 | %{_desktopdir}/org.gnome.Screenshot.desktop |
302308bd JB |
72 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Screenshot.svg |
73 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Screenshot-symbolic.svg | |
27275c33 | 74 | %{_mandir}/man1/gnome-screenshot.1* |