Group :: Desktop gráfico/XFce
RPM: xfce4-screenshooter
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
#define git_date .git20120414
%define git_date %nil
Name: xfce4-screenshooter
Version: 1.10.4
Release: alt1%git_date
Summary: Screenshot Xfce4 panel plugin
Summary (ru_RU.UTF-8): Дополнение для панели Xfce позволяющее делать снимки экрана
License: GPLv2+
Group: Graphical desktop/XFce
Url: https://docs.xfce.org/apps/screenshooter/start
Packager: Xfce Team <xfce at packages.altlinux.org>
Vcs: https://gitlab.xfce.org/apps/xfce4-screenshooter.git
Source: %name-%version.tar
Patch: %name-%version-%release.patch
BuildPreReq: rpm-build-xfce4 xfce4-dev-tools
BuildPreReq: libxfce4panel-gtk3-devel libxfce4ui-gtk3-devel libxfce4util-devel libexo-gtk3-devel libxfconf-devel
BuildPreReq: libxml2-devel libXi-devel
BuildRequires: libpango-devel >= 1.44.0
BuildRequires: intltool libsoup3.0-devel libXext-devel libXfixes-devel
BuildRequires: help2man
Provides: xfce4-screenshooter-plugin = %version-%release
Obsoletes: xfce4-screenshooter-plugin < %version-%release
%define _unpackaged_files_terminate_build 1
%description
This application allows you to capture the entire screen, the active
window or a selected region.
You can set the delay that elapses before the screenshot is taken
and the action that will be done with the screenshot: save it to a PNG
file, copy it to the clipboard, or open it using another application.
A plugin for the Xfce panel is also available.
%description -l ru_RU.UTF-8
Стандартное приложение Xfce позволяющее делать снимки экрана. Программа
основана на gnome-screenshot и имеет схожие функции. Имеется возможность
управления как мышкой так и с помощью "горячих" клавишь.
Дополнение для панели Xfce так же включено.
%prep
%setup
%patch -p1
# Don't use git tag in version.
#sed -i 's/m4_define(\[xfce4_screenshooter_version_tag\], \[git\])/m4_define(\[xfce4_screenshooter_version_tag\], \[\])/' configure.ac.in
mkdir m4/
%build
%xfce4reconf
%configure \
--enable-debug=minimum
%make_build
%install
%makeinstall_std
%find_lang %name
%files -f %name.lang
%doc README.md AUTHORS NEWS
%_libdir/xfce4/panel/plugins/*.so
%_datadir/xfce4/panel/plugins/*.desktop
%_iconsdir/hicolor/*/apps/*.png
%_iconsdir/hicolor/*/apps/*.svg
%_datadir/applications/*.desktop
%_datadir/metainfo/*.xml
%_bindir/xfce4-screenshoot*
%_mandir/man1/xfce4-screenshooter*
%exclude %_libdir/xfce4/panel/plugins/*.la
%changelog
…
Todas as alterações você pod ver aqui
%define git_date %nil
Name: xfce4-screenshooter
Version: 1.10.4
Release: alt1%git_date
Summary: Screenshot Xfce4 panel plugin
Summary (ru_RU.UTF-8): Дополнение для панели Xfce позволяющее делать снимки экрана
License: GPLv2+
Group: Graphical desktop/XFce
Url: https://docs.xfce.org/apps/screenshooter/start
Packager: Xfce Team <xfce at packages.altlinux.org>
Vcs: https://gitlab.xfce.org/apps/xfce4-screenshooter.git
Source: %name-%version.tar
Patch: %name-%version-%release.patch
BuildPreReq: rpm-build-xfce4 xfce4-dev-tools
BuildPreReq: libxfce4panel-gtk3-devel libxfce4ui-gtk3-devel libxfce4util-devel libexo-gtk3-devel libxfconf-devel
BuildPreReq: libxml2-devel libXi-devel
BuildRequires: libpango-devel >= 1.44.0
BuildRequires: intltool libsoup3.0-devel libXext-devel libXfixes-devel
BuildRequires: help2man
Provides: xfce4-screenshooter-plugin = %version-%release
Obsoletes: xfce4-screenshooter-plugin < %version-%release
%define _unpackaged_files_terminate_build 1
%description
This application allows you to capture the entire screen, the active
window or a selected region.
You can set the delay that elapses before the screenshot is taken
and the action that will be done with the screenshot: save it to a PNG
file, copy it to the clipboard, or open it using another application.
A plugin for the Xfce panel is also available.
%description -l ru_RU.UTF-8
Стандартное приложение Xfce позволяющее делать снимки экрана. Программа
основана на gnome-screenshot и имеет схожие функции. Имеется возможность
управления как мышкой так и с помощью "горячих" клавишь.
Дополнение для панели Xfce так же включено.
%prep
%setup
%patch -p1
# Don't use git tag in version.
#sed -i 's/m4_define(\[xfce4_screenshooter_version_tag\], \[git\])/m4_define(\[xfce4_screenshooter_version_tag\], \[\])/' configure.ac.in
mkdir m4/
%build
%xfce4reconf
%configure \
--enable-debug=minimum
%make_build
%install
%makeinstall_std
%find_lang %name
%files -f %name.lang
%doc README.md AUTHORS NEWS
%_libdir/xfce4/panel/plugins/*.so
%_datadir/xfce4/panel/plugins/*.desktop
%_iconsdir/hicolor/*/apps/*.png
%_iconsdir/hicolor/*/apps/*.svg
%_datadir/applications/*.desktop
%_datadir/metainfo/*.xml
%_bindir/xfce4-screenshoot*
%_mandir/man1/xfce4-screenshooter*
%exclude %_libdir/xfce4/panel/plugins/*.la
%changelog
…
Todas as alterações você pod ver aqui