1 %define _realname thunar-volman
2 Summary: Volumes manager for Thunar
3 Summary(pl.UTF-8): Zarządca napędów dla Thunara
8 Group: X11/Applications
9 Source0: http://goodies.xfce.org/releases/thunar-volman/%{_realname}-%{version}.tar.bz2
10 # Source0-md5: 4fd81b62690797317ca649ab20609dae
11 Patch0: %{name}-desktop.patch
12 URL: http://goodies.xfce.org/projects/thunar-plugins/thunar-volman
13 BuildRequires: autoconf >= 2.50
14 BuildRequires: automake >= 1:1.8
15 BuildRequires: dbus-glib-devel >= 0.34
16 BuildRequires: gtk+2-devel >= 2:2.10.6
17 BuildRequires: hal-devel >= 0.5.0
18 BuildRequires: exo-devel >= 0.3.100
19 BuildRequires: intltool
20 BuildRequires: libtool
21 BuildRequires: rpmbuild(macros) >= 1.311
22 BuildRequires: Thunar-devel >= 1.0.0
23 BuildRequires: xfce4-dev-tools >= 4.6.0
24 Requires(post,postun): gtk+2
25 Requires(post,postun): hicolor-icon-theme
26 Requires: Thunar >= 1.0.0
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 The Thunar Volume Manager is an extension for the Thunar file manager,
31 which enables automatic management of removable drives and media. For
32 example, if Thunar-volman is installed and configured properly, and
33 you plug in your digital camera, it will automatically launch your
34 preferred photo application and import the new pictures from the
35 camera into your photo collection.
37 %description -l pl.UTF-8
38 Thunar Volume Manager jest rozszerzeniem zarządcy plików Thunar,
39 które pozwala na automatyczne zarządzanie przenośnych dysków i mediów.
40 Na przykład, jeżeli Thunar-volman jest zainstalowany i skonfigurowany
41 poprawnie, przy podłączaniu aparatu cyfrowego automatycznie uruchomi
42 preferowaną aplikację i zaimportuje nowe zdjęcia z aparatu do kolekcji
46 %setup -q -n %{_realname}-%{version}
60 rm -rf $RPM_BUILD_ROOT
63 DESTDIR=$RPM_BUILD_ROOT
65 mv $RPM_BUILD_ROOT%{_datadir}/locale/nb{_NO,}
67 %find_lang %{_realname}
70 rm -rf $RPM_BUILD_ROOT
73 %update_icon_cache hicolor
76 %update_icon_cache hicolor
78 %files -f %{_realname}.lang
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog NEWS README THANKS
81 %attr(755,root,root) %{_bindir}/thunar-volman
82 %attr(755,root,root) %{_libdir}/thunar-volman-settings
83 %{_desktopdir}/thunar-volman-settings.desktop
84 %{_iconsdir}/hicolor/*/apps/*