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://archive.xfce.org/src/apps/thunar-volman/0.8/%{_realname}-%{version}.tar.bz2
10 # Source0-md5: 250af757ea629c7c27f554d17119080c
11 Patch0: %{name}-desktop.patch
12 URL: http://goodies.xfce.org/projects/thunar-plugins/thunar-volman
13 BuildRequires: Thunar-devel >= 1.4.0
14 BuildRequires: dbus-glib-devel >= 0.34
15 BuildRequires: exo-devel >= 0.8.0
16 BuildRequires: gettext-devel
17 BuildRequires: glib2-devel >= 1:2.18.0
18 BuildRequires: gtk+2-devel >= 2:2.22.0
19 BuildRequires: libnotify-devel >= 0.4.0
20 BuildRequires: libxfce4ui-devel >= 4.10.0
21 BuildRequires: libxfce4util-devel >= 4.10.0
22 BuildRequires: pkgconfig
23 BuildRequires: rpmbuild(macros) >= 1.311
24 BuildRequires: udev-glib-devel >= 145
25 BuildRequires: xfce4-dev-tools >= 4.10.0
26 BuildRequires: xfconf-devel >= 4.10.0
27 Requires: gtk-update-icon-cache
29 Requires: hicolor-icon-theme
30 Requires: Thunar >= 1.2.0
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 The Thunar Volume Manager is an extension for the Thunar file manager,
35 which enables automatic management of removable drives and media. For
36 example, if Thunar-volman is installed and configured properly, and
37 you plug in your digital camera, it will automatically launch your
38 preferred photo application and import the new pictures from the
39 camera into your photo collection.
41 %description -l pl.UTF-8
42 Thunar Volume Manager jest rozszerzeniem zarządcy plików Thunar, które
43 pozwala na automatyczne zarządzanie przenośnych dysków i mediów. Na
44 przykład, jeżeli Thunar-volman jest zainstalowany i skonfigurowany
45 poprawnie, przy podłączaniu aparatu cyfrowego automatycznie uruchomi
46 preferowaną aplikację i zaimportuje nowe zdjęcia z aparatu do kolekcji
50 %setup -q -n %{_realname}-%{version}
58 rm -rf $RPM_BUILD_ROOT
61 DESTDIR=$RPM_BUILD_ROOT
64 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
66 %find_lang %{_realname}
69 rm -rf $RPM_BUILD_ROOT
72 %update_icon_cache hicolor
75 %update_icon_cache hicolor
77 %files -f %{_realname}.lang
78 %defattr(644,root,root,755)
79 %doc AUTHORS ChangeLog NEWS README THANKS
80 %attr(755,root,root) %{_bindir}/thunar-volman
81 %attr(755,root,root) %{_bindir}/thunar-volman-settings
82 %{_desktopdir}/thunar-volman-settings.desktop
83 %{_iconsdir}/hicolor/*/apps/*