]> git.pld-linux.org Git - packages/gnome-screenshot.git/commitdiff
- updated to 3.34.0; uses meson now auto/th/gnome-screenshot-3.34.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 19 Oct 2019 17:56:12 +0000 (19:56 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 19 Oct 2019 17:56:12 +0000 (19:56 +0200)
gnome-screenshot.spec

index 34a8cdceb5cc04d6c6abed1be48b217ebbfeb76b..23b88a22302e244bb0e84951a38299718ef0cfc5 100644 (file)
@@ -1,57 +1,52 @@
-Summary:       Screenshot utility
-Summary(pl.UTF-8):     Narzędzie do robienia zrzutów ekranu
+Summary:       GNOME Screenshot utility
+Summary(pl.UTF-8):     Narzędzie GNOME do robienia zrzutów ekranu
 Name:          gnome-screenshot
-Version:       3.22.0
+Version:       3.34.0
 Release:       1
 License:       GPL v2+
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-screenshot/3.22/%{name}-%{version}.tar.xz
-# Source0-md5: d68636fae1e7a5798cb7394b2a202542
-URL:           http://live.gnome.org/GnomeUtils
-BuildRequires: autoconf >= 2.63
-BuildRequires: automake >= 1:1.11
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-screenshot/3.34/%{name}-%{version}.tar.xz
+# Source0-md5: 779f12548d72d12a5275d5e8563d9855
+URL:           https://gitlab.gnome.org/GNOME/gnome-screenshot
 BuildRequires: gettext-tools >= 0.17
 BuildRequires: glib2-devel >= 1:2.36.0
-BuildRequires: gtk+3-devel >= 3.0.0
-BuildRequires: intltool >= 0.50.2
+BuildRequires: gtk+3-devel >= 3.12.0
 BuildRequires: libcanberra-gtk3-devel
+BuildRequires: meson >= 0.50.0
+BuildRequires: ninja >= 1.5
 BuildRequires: pkgconfig >= 1:0.22
-BuildRequires: rpmbuild(macros) >= 1.592
+BuildRequires: rpmbuild(macros) >= 1.736
 BuildRequires: tar >= 1:1.22
 BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXext-devel
 BuildRequires: xz
 Requires(post,postun): glib2 >= 1:2.36.0
 Requires:      glib2 >= 1:2.36.0
-Requires:      gtk+3 >= 3.0.0
+Requires:      gtk+3 >= 3.12.0
 Provides:      gnome-utils-screenshot = 1:%{version}-%{release}
 Obsoletes:     gnome-utils-screenshot < 1:3.3.91-1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Allows to make a desktop screenshot.
+GNOME Screenshot is a small utility that takes a screenshot of the
+whole desktop; the currently focused window; or an area of the screen.
 
 %description -l pl.UTF-8
-Pozwala na zrobienie zrzutu ekranu biurka.
+GNOME Screenshot to małe narzędzie wykonujące zrzut ekranu: całego
+pulpitu, bieżącego okna lub pewnego obszaru ekranu.
 
 %prep
 %setup -q
 
 %build
-%{__intltoolize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure \
-       --disable-silent-rules
-%{__make}
+%meson build
+
+%ninja_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+%ninja_install -C build
 
 %find_lang %{name}
 
@@ -66,11 +61,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc NEWS
+%doc NEWS README.md
 %attr(755,root,root) %{_bindir}/gnome-screenshot
 %{_datadir}/GConf/gsettings/gnome-screenshot.convert
-%{_datadir}/appdata/org.gnome.Screenshot.appdata.xml
 %{_datadir}/dbus-1/services/org.gnome.Screenshot.service
 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-screenshot.gschema.xml
+%{_datadir}/metainfo/org.gnome.Screenshot.metainfo.xml
 %{_desktopdir}/org.gnome.Screenshot.desktop
+%{_iconsdir}/hicolor/scalable/apps/org.gnome.Screenshot.svg
+%{_iconsdir}/hicolor/symbolic/apps/org.gnome.Screenshot-symbolic.svg
 %{_mandir}/man1/gnome-screenshot.1*
This page took 0.081784 seconds and 4 git commands to generate.