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://download.berlios.de/xfce-goodies/%{_realname}-%{version}.tar.bz2
10 # Source0-md5: e4587967fe3b3858d93735fee3edb2fc
11 Patch0: %{name}-locale-names.patch
12 Patch1: %{name}-setup-crypto.patch
13 URL: http://foo-projects.org/~benny/projects/thunar-volman/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: dbus-glib-devel >= 0.34
17 BuildRequires: gtk+2-devel >= 2:2.6.0
18 BuildRequires: hal-devel >= 0.5.0
19 BuildRequires: libexo-devel >= 0.3.4
20 BuildRequires: libtool
21 BuildRequires: rpmbuild(macros) >= 1.311
22 BuildRequires: startup-notification-devel
23 BuildRequires: Thunar-devel >= 0.9.0
24 BuildRequires: w3c-libwww-devel
25 BuildRequires: xfce4-dev-tools
26 Requires(post,postun): gtk+2
27 Requires(post,postun): hicolor-icon-theme
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 The Thunar Volume Manager is an extension for the Thunar file manager,
33 which enables automatic management of removable drives and media. For
34 example, if Thunar-volman is installed and configured properly, and
35 you plug in your digital camera, it will automatically launch your
36 preferred photo application and import the new pictures from the
37 camera into your photo collection.
39 %description -l pl.UTF-8
40 Thunar Volume Manager jest rozszerzeniem zarządcy plików Thunar,
41 które pozwala na automatyczne zarządzanie przenośnych dysków i mediów.
42 Na przykład, jeżeli Thunar-volman jest zainstalowany i skonfigurowany
43 poprawnie, przy podłączaniu aparatu cyfrowego automatycznie uruchomi
44 preferowaną aplikację i zaimportuje nowe zdjęcia z aparatu do kolekcji
48 %setup -q -n %{_realname}-%{version}
52 mv -f po/{nb_NO,nb}.po
64 rm -rf $RPM_BUILD_ROOT
67 DESTDIR=$RPM_BUILD_ROOT
69 %find_lang %{_realname}
72 rm -rf $RPM_BUILD_ROOT
75 %update_icon_cache hicolor
78 %update_icon_cache hicolor
80 %files -f %{_realname}.lang
81 %defattr(644,root,root,755)
82 %doc AUTHORS ChangeLog NEWS README THANKS
83 %attr(755,root,root) %{_bindir}/thunar-volman
84 %attr(755,root,root) %{_libdir}/thunar-volman-settings
85 %{_desktopdir}/thunar-volman-settings.desktop
86 %{_iconsdir}/hicolor/*/apps/*