1 | Name: xfce4-screenshooter |
---|
2 | Summary: Screen capture tool for Xfce |
---|
3 | Summary(ja): Xfce のスクリーンキャプチャツール |
---|
4 | Version: 1.8.1 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv2+ |
---|
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 |
---|
22 | BuildRequires: libXext-devel >= 1.0.0 |
---|
23 | BuildRequires: libXfixes-devel >= 4.0.0 |
---|
24 | BuildRequires: libSM-devel |
---|
25 | |
---|
26 | Requires(post,postun): desktop-file-utils |
---|
27 | |
---|
28 | Vendor: Project Vine |
---|
29 | Distribution: Vine Linux |
---|
30 | Packager: Takemikaduchi |
---|
31 | |
---|
32 | |
---|
33 | %description |
---|
34 | 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. |
---|
35 | |
---|
36 | A plugin for the Xfce panel is also available. |
---|
37 | |
---|
38 | |
---|
39 | |
---|
40 | %prep |
---|
41 | %setup -q |
---|
42 | |
---|
43 | %build |
---|
44 | %configure --disable-static |
---|
45 | make %{?_smp_mflags} |
---|
46 | |
---|
47 | |
---|
48 | %install |
---|
49 | rm -rf $RPM_BUILD_ROOT |
---|
50 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
51 | |
---|
52 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
53 | |
---|
54 | desktop-file-install \ |
---|
55 | --add-category="X-XFCE" \ |
---|
56 | --delete-original \ |
---|
57 | --dir=%{buildroot}%{_datadir}/applications \ |
---|
58 | ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce4-screenshooter.desktop |
---|
59 | |
---|
60 | %find_lang %{name} |
---|
61 | |
---|
62 | %clean |
---|
63 | rm -rf $RPM_BUILD_ROOT |
---|
64 | |
---|
65 | |
---|
66 | %post |
---|
67 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
68 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
69 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
70 | |
---|
71 | %postun |
---|
72 | if [ $1 -eq 0 ]; then |
---|
73 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
74 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
75 | fi |
---|
76 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
77 | |
---|
78 | |
---|
79 | %files -f %{name}.lang |
---|
80 | %defattr(-,root,root,-) |
---|
81 | %doc AUTHORS ChangeLog NEWS TODO COPYING |
---|
82 | %{_bindir}/xfce4-screenshooter |
---|
83 | %{_libdir}/xfce4/panel/plugins/libscreenshooterplugin.so* |
---|
84 | %{_datadir}/applications/%{name}.desktop |
---|
85 | %{_datadir}/icons/hicolor/*/apps/* |
---|
86 | %{_datadir}/xfce4/doc/ast |
---|
87 | %{_datadir}/xfce4/panel/plugins/screenshooter.desktop |
---|
88 | %{_docdir}/%{name} |
---|
89 | %{_mandir}/man1/xfce4-screenshooter.1.gz |
---|
90 | |
---|
91 | %changelog |
---|
92 | * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.8.1-1 |
---|
93 | - initial build for Vine Linux |
---|
94 | |
---|