[6284] | 1 | Name: xfce4-screenshooter |
---|
| 2 | Summary: Screen capture tool for Xfce |
---|
| 3 | Summary(ja): Xfce のスクリーンキャプチャツール |
---|
[9400] | 4 | Version: 1.8.2 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
[6284] | 6 | |
---|
[6299] | 7 | License: GPLv2+ |
---|
[6284] | 8 | Group: User Interface/Desktops |
---|
| 9 | URL: http://goodies.xfce.org/projects/applications/%{name} |
---|
| 10 | |
---|
| 11 | Source0: http://archive.xfce.org/src/apps/%{name}/1.8/%{name}-%{version}.tar.bz2 |
---|
| 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
| 15 | BuildRequires: desktop-file-utils |
---|
| 16 | BuildRequires: libxfce4util-devel >= 4.4.0 |
---|
| 17 | BuildRequires: libxfce4ui-devel >= 4.7.0 |
---|
| 18 | BuildRequires: xfce4-panel-devel >= 4.4.0 |
---|
| 19 | BuildRequires: gtk2-devel >= 2.16.0 |
---|
| 20 | BuildRequires: libsoup-devel >= 2.26.0 |
---|
| 21 | BuildRequires: libexo-devel >= 0.5.0 |
---|
[9400] | 22 | BuildRequires: libxml2-devel >= 2.4.0 |
---|
[6284] | 23 | BuildRequires: libXext-devel >= 1.0.0 |
---|
| 24 | BuildRequires: libXfixes-devel >= 4.0.0 |
---|
| 25 | BuildRequires: libSM-devel |
---|
| 26 | |
---|
| 27 | Requires(post,postun): desktop-file-utils |
---|
| 28 | |
---|
| 29 | Vendor: Project Vine |
---|
| 30 | Distribution: Vine Linux |
---|
| 31 | Packager: Takemikaduchi |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %description |
---|
| 35 | 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, open it using another application, or host it on ZimageZ, a free online image hosting service. |
---|
| 36 | |
---|
| 37 | A plugin for the Xfce panel is also available. |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | %prep |
---|
| 42 | %setup -q |
---|
| 43 | |
---|
| 44 | %build |
---|
| 45 | %configure --disable-static |
---|
| 46 | make %{?_smp_mflags} |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %install |
---|
| 50 | rm -rf $RPM_BUILD_ROOT |
---|
| 51 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 52 | |
---|
| 53 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 54 | |
---|
| 55 | desktop-file-install \ |
---|
| 56 | --add-category="X-XFCE" \ |
---|
| 57 | --delete-original \ |
---|
[9400] | 58 | --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
[6284] | 59 | ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce4-screenshooter.desktop |
---|
| 60 | |
---|
| 61 | %find_lang %{name} |
---|
| 62 | |
---|
| 63 | %clean |
---|
| 64 | rm -rf $RPM_BUILD_ROOT |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %post |
---|
| 68 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 69 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 70 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
| 71 | |
---|
| 72 | %postun |
---|
| 73 | if [ $1 -eq 0 ]; then |
---|
| 74 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 75 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 76 | fi |
---|
| 77 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
| 78 | |
---|
| 79 | |
---|
| 80 | %files -f %{name}.lang |
---|
| 81 | %defattr(-,root,root,-) |
---|
| 82 | %doc AUTHORS ChangeLog NEWS TODO COPYING |
---|
| 83 | %{_bindir}/xfce4-screenshooter |
---|
| 84 | %{_libdir}/xfce4/panel/plugins/libscreenshooterplugin.so* |
---|
[9400] | 85 | %{_datadir}/appdata/xfce4-screenshooter.appdata.xml |
---|
[6284] | 86 | %{_datadir}/applications/%{name}.desktop |
---|
| 87 | %{_datadir}/icons/hicolor/*/apps/* |
---|
| 88 | %{_datadir}/xfce4/panel/plugins/screenshooter.desktop |
---|
| 89 | %{_mandir}/man1/xfce4-screenshooter.1.gz |
---|
| 90 | |
---|
| 91 | %changelog |
---|
[9400] | 92 | * Sat Mar 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.8.2-1 |
---|
| 93 | - new upstream release |
---|
| 94 | - built with libxfce4util 4.12.1 |
---|
| 95 | - added BR: libxml2-devel |
---|
| 96 | |
---|
[8073] | 97 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.8.1-2 |
---|
| 98 | - rebuild with VineSeed environment |
---|
| 99 | |
---|
[6284] | 100 | * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.8.1-1 |
---|
| 101 | - initial build for Vine Linux |
---|
| 102 | |
---|