1 | %global minorversion 0.8 |
---|
2 | |
---|
3 | Name: thunar-volman |
---|
4 | Summary: Thunar extension for volume management |
---|
5 | Version: 0.8.0 |
---|
6 | Release: 2%{?_dist_release} |
---|
7 | |
---|
8 | Group: User Interface/Desktops |
---|
9 | License: LGPLv2+ |
---|
10 | URL: http://goodies.xfce.org/projects/thunar-plugins/thunar-volman |
---|
11 | |
---|
12 | Source0: http://archive.xfce.org/src/xfce/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2 |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | |
---|
16 | BuildRequires: Thunar-devel >= 1.2.0 |
---|
17 | BuildRequires: libexo-devel >= 0.8.0 |
---|
18 | BuildRequires: glib2-devel >= 2.18.0 |
---|
19 | BuildRequires: gtk2-devel >= 2.24.0 |
---|
20 | BuildRequires: libgudev1-devel >= 145 |
---|
21 | BuildRequires: libxfce4ui-devel >= 4.10.0 |
---|
22 | BuildRequires: libxfce4util-devel >= 4.10.0 |
---|
23 | BuildRequires: xfconf-devel >= 4.10.0 |
---|
24 | |
---|
25 | Vendor: Project Vine |
---|
26 | Distribution: Vine Linux |
---|
27 | |
---|
28 | %description |
---|
29 | thunar-volman is an extension for the Thunar File Manager, which enables |
---|
30 | automatic management of removable drives and media. For example, if |
---|
31 | thunar-volman is installed and configured properly, and you plug in your |
---|
32 | digitcal camera, it will automatically spawn your preferred photo application |
---|
33 | and import the new pictures from your camera. |
---|
34 | |
---|
35 | |
---|
36 | %prep |
---|
37 | %setup -q |
---|
38 | |
---|
39 | %build |
---|
40 | %configure --disable-static |
---|
41 | make %{?_smp_mflags} |
---|
42 | |
---|
43 | |
---|
44 | %install |
---|
45 | rm -rf $RPM_BUILD_ROOT |
---|
46 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
47 | |
---|
48 | %find_lang %{name} |
---|
49 | |
---|
50 | |
---|
51 | %clean |
---|
52 | rm -rf $RPM_BUILD_ROOT |
---|
53 | |
---|
54 | |
---|
55 | %post |
---|
56 | /sbin/ldconfig |
---|
57 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
58 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
59 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
60 | |
---|
61 | %postun |
---|
62 | /sbin/ldconfig |
---|
63 | if [ $1 -eq 0 ]; then |
---|
64 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
65 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
66 | fi |
---|
67 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
68 | |
---|
69 | |
---|
70 | %files -f %{name}.lang |
---|
71 | %defattr(-,root,root,-) |
---|
72 | %doc AUTHORS ChangeLog NEWS README |
---|
73 | %{_bindir}/thunar-volman |
---|
74 | %{_bindir}/thunar-volman-settings |
---|
75 | %{_datadir}/applications/thunar-volman-settings.desktop |
---|
76 | %{_datadir}/icons/hicolor/*/apps/* |
---|
77 | |
---|
78 | |
---|
79 | %changelog |
---|
80 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.8.0-2 |
---|
81 | - rebuild with VineSeed environment |
---|
82 | |
---|
83 | * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.8.0-1 |
---|
84 | - initial build for Vine Linux |
---|
85 | |
---|