source: projects/specs/trunk/x/xfce4-screenshooter/xfce4-screenshooter-vl.spec @ 6284

Revision 6284, 2.8 KB checked in by Takemikaduchi, 12 years ago (diff)

Xfce-4.10.0 + thunderbird-13.0

Line 
1Name:           xfce4-screenshooter
2Summary:        Screen capture tool for Xfce
3Summary(ja):    Xfce のスクリーンキャプチャツール
4Version:        1.8.1
5Release:        1%{?_dist_release}
6
7# xfce4-settings-helper is GPLv2 only.
8License:        GPLv2+ and GPLv2
9Group:          User Interface/Desktops
10URL:            http://goodies.xfce.org/projects/applications/%{name}
11
12Source0:        http://archive.xfce.org/src/apps/%{name}/1.8/%{name}-%{version}.tar.bz2
13
14BuildRoot:     %{_tmppath}/%{name}-%{version}-root
15
16BuildRequires: desktop-file-utils
17BuildRequires: libxfce4util-devel >= 4.4.0
18BuildRequires: libxfce4ui-devel >= 4.7.0
19BuildRequires: xfce4-panel-devel >= 4.4.0
20BuildRequires: gtk2-devel >= 2.16.0
21BuildRequires: libsoup-devel >= 2.26.0
22BuildRequires: libexo-devel >= 0.5.0
23BuildRequires: libXext-devel >= 1.0.0
24BuildRequires: libXfixes-devel >= 4.0.0
25BuildRequires: libSM-devel
26
27Requires(post,postun):  desktop-file-utils
28
29Vendor:         Project Vine
30Distribution:   Vine Linux
31Packager:       Takemikaduchi
32
33
34%description
35This 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
37A plugin for the Xfce panel is also available.
38
39
40
41%prep
42%setup -q
43
44%build
45%configure --disable-static
46make %{?_smp_mflags}
47
48
49%install
50rm -rf $RPM_BUILD_ROOT
51make install DESTDIR=$RPM_BUILD_ROOT
52
53find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
54
55desktop-file-install \
56        --add-category="X-XFCE" \
57        --delete-original \
58        --dir=%{buildroot}%{_datadir}/applications \
59        ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce4-screenshooter.desktop
60
61%find_lang %{name}
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66
67%post
68touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
69gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
70update-desktop-database %{_datadir}/applications &> /dev/null || :
71
72%postun
73if [ $1 -eq 0 ]; then
74    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
75    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
76fi
77update-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*
85%{_datadir}/applications/%{name}.desktop
86%{_datadir}/icons/hicolor/*/apps/*
87%{_datadir}/xfce4/doc/ast
88%{_datadir}/xfce4/panel/plugins/screenshooter.desktop
89%{_docdir}/%{name}
90%{_mandir}/man1/xfce4-screenshooter.1.gz
91
92%changelog
93* Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.8.1-1
94- initial build for Vine Linux
95
Note: See TracBrowser for help on using the repository browser.