source: projects/specs/trunk/t/thunar-volman/thunar-volman-vl.spec @ 6284

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

Xfce-4.10.0 + thunderbird-13.0

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