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 URL: http://foo-projects.org/~benny/projects/thunar-volman/
13 BuildRequires: Thunar-devel >= 0.9.0
14 BuildRequires: dbus-glib-devel >= 0.34
15 BuildRequires: gtk+2-devel >= 2:2.6.0
16 BuildRequires: hal-devel >= 0.5.0
17 BuildRequires: libexo-devel >= 0.3.4
18 BuildRequires: libtool
19 BuildRequires: rpmbuild(macros) >= 1.311
20 BuildRequires: startup-notification-devel
21 BuildRequires: w3c-libwww-devel
22 Requires(post,postun): gtk+2
23 Requires(post,postun): hicolor-icon-theme
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 The Thunar Volume Manager is an extension for the Thunar file manager,
29 which enables automatic management of removable drives and media. For
30 example, if Thunar-volman is installed and configured properly, and
31 you plug in your digital camera, it will automatically launch your
32 preferred photo application and import the new pictures from the
33 camera into your photo collection.
35 %description -l pl.UTF-8
36 Thunar Volume Manager jest rozszerzeniem zarządcy plików Thunar,
37 które pozwala na automatyczne zarządzanie przenośnych dysków i mediów.
38 Na przykład, jeżeli Thunar-volman jest zainstalowany i skonfigurowany
39 poprawnie, przy podłączaniu aparatu cyfrowego automatycznie uruchomi
40 preferowaną aplikację i zaimportuje nowe zdjęcia z aparatu do kolekcji
44 %setup -q -n %{_realname}-%{version}
47 mv -f po/{nb_NO,nb}.po
55 rm -rf $RPM_BUILD_ROOT
58 DESTDIR=$RPM_BUILD_ROOT
60 %find_lang %{_realname}
63 rm -rf $RPM_BUILD_ROOT
66 %update_icon_cache hicolor
69 %update_icon_cache hicolor
71 %files -f %{_realname}.lang
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog NEWS README THANKS
74 %attr(755,root,root) %{_bindir}/thunar-volman
75 %attr(755,root,root) %{_libdir}/thunar-volman-settings
76 %{_desktopdir}/thunar-volman-settings.desktop
77 %{_iconsdir}/hicolor/*/apps/*