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

Revision 9400, 3.0 KB checked in by inagaki, 9 years ago (diff)

2015-03-01 Ryoichi INAGAKI <ryo1@…>

  • mousepad, parole, xarchiver, xfburn, xfce4-screenshooter, xfce4-taskmanager: updated
  • orage, thunar-*-plugin, xfce4-dict, xfce4-mixer, xfce4-notifyd, xfce4-terminal: rebuilt
  • ristretto: NEW
  • xfce4-appfinder: enabled gtk3


Line 
1Name:           xfce4-screenshooter
2Summary:        Screen capture tool for Xfce
3Summary(ja):    Xfce のスクリーンキャプチャツール
4Version:        1.8.2
5Release:        1%{?_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: libxml2-devel >= 2.4.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=$RPM_BUILD_ROOT%{_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}/appdata/xfce4-screenshooter.appdata.xml
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
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
97* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.8.1-2
98- rebuild with VineSeed environment
99
100* Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.8.1-1
101- initial build for Vine Linux
102
Note: See TracBrowser for help on using the repository browser.