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

Revision 8073, 2.8 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

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