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