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

Revision 8068, 2.2 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1%global minorversion 0.8
2
3Name:           thunar-volman
4Summary:        Thunar extension for volume management
5Version:        0.8.0
6Release:        2%{?_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
25Vendor: Project Vine
26Distribution: Vine Linux
27
28%description
29thunar-volman is an extension for the Thunar File Manager, which enables
30automatic management of removable drives and media. For example, if
31thunar-volman is installed and configured properly, and you plug in your
32digitcal camera, it will automatically spawn your preferred photo application
33and import the new pictures from your camera.
34
35
36%prep
37%setup -q
38
39%build
40%configure --disable-static
41make %{?_smp_mflags}
42
43
44%install
45rm -rf $RPM_BUILD_ROOT
46make install DESTDIR=$RPM_BUILD_ROOT
47
48%find_lang %{name}
49
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54
55%post
56/sbin/ldconfig
57touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
58gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
59update-desktop-database %{_datadir}/applications &> /dev/null || :
60
61%postun
62/sbin/ldconfig
63if [ $1 -eq 0 ]; then
64    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
65    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
66fi
67update-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
Note: See TracBrowser for help on using the repository browser.