]>
Commit | Line | Data |
---|---|---|
50f1da19 | 1 | %define _realname thunar-volman |
2 | Summary: Volumes manager for Thunar | |
30a78a85 | 3 | Summary(pl.UTF-8): Zarządca napędów dla Thunara |
50f1da19 | 4 | Name: Thunar-volman |
fd259b12 JR |
5 | Version: 0.8.0 |
6 | Release: 1 | |
66953650 | 7 | License: GPL v2+ |
30a78a85 | 8 | Group: X11/Applications |
fd259b12 | 9 | Source0: http://archive.xfce.org/src/apps/thunar-volman/0.8/%{_realname}-%{version}.tar.bz2 |
0606a3b7 | 10 | # Source0-md5: 2f166662dd100d5195da238af417f305 |
70e029e3 | 11 | Patch0: %{name}-desktop.patch |
66953650 | 12 | URL: http://goodies.xfce.org/projects/thunar-plugins/thunar-volman |
fd259b12 | 13 | BuildRequires: Thunar-devel >= 1.4.0 |
50f1da19 | 14 | BuildRequires: dbus-glib-devel >= 0.34 |
fd259b12 | 15 | BuildRequires: exo-devel >= 0.8.0 |
7c025bd0 | 16 | BuildRequires: gettext-devel |
0606a3b7 MB |
17 | BuildRequires: glib2-devel >= 1:2.18.0 |
18 | BuildRequires: gtk+2-devel >= 2:2.22.0 | |
19 | BuildRequires: libnotify-devel >= 0.4.0 | |
fd259b12 JR |
20 | BuildRequires: libxfce4ui-devel >= 4.10.0 |
21 | BuildRequires: libxfce4util-devel >= 4.10.0 | |
7c025bd0 | 22 | BuildRequires: pkgconfig |
30a78a85 | 23 | BuildRequires: rpmbuild(macros) >= 1.311 |
0606a3b7 | 24 | BuildRequires: udev-glib-devel >= 145 |
fd259b12 JR |
25 | BuildRequires: xfce4-dev-tools >= 4.10.0 |
26 | BuildRequires: xfconf-devel >= 4.10.0 | |
0606a3b7 | 27 | Requires: gtk-update-icon-cache |
f5762b68 | 28 | Requires: gvfs |
0606a3b7 MB |
29 | Requires: hicolor-icon-theme |
30 | Requires: Thunar >= 1.2.0 | |
50f1da19 | 31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %description | |
34 | The Thunar Volume Manager is an extension for the Thunar file manager, | |
35 | which enables automatic management of removable drives and media. For | |
30a78a85 | 36 | example, if Thunar-volman is installed and configured properly, and |
50f1da19 | 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. | |
40 | ||
41 | %description -l pl.UTF-8 | |
7c025bd0 | 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 | |
a2d86cc1 JB |
45 | poprawnie, przy podłączaniu aparatu cyfrowego automatycznie uruchomi |
46 | preferowaną aplikację i zaimportuje nowe zdjęcia z aparatu do kolekcji | |
47 | zdjęć użytkownika. | |
50f1da19 | 48 | |
49 | %prep | |
50 | %setup -q -n %{_realname}-%{version} | |
70e029e3 | 51 | %patch0 -p1 |
50f1da19 | 52 | |
53 | %build | |
54 | %configure | |
50f1da19 | 55 | %{__make} |
56 | ||
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %{__make} install \ | |
61 | DESTDIR=$RPM_BUILD_ROOT | |
62 | ||
b25d7ed9 | 63 | # duplicate of ur |
0606a3b7 | 64 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK |
66953650 | 65 | |
50f1da19 | 66 | %find_lang %{_realname} |
67 | ||
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
30a78a85 MB |
71 | %post |
72 | %update_icon_cache hicolor | |
73 | ||
74 | %postun | |
75 | %update_icon_cache hicolor | |
76 | ||
e28b31a1 | 77 | %files -f %{_realname}.lang |
50f1da19 | 78 | %defattr(644,root,root,755) |
79 | %doc AUTHORS ChangeLog NEWS README THANKS | |
80 | %attr(755,root,root) %{_bindir}/thunar-volman | |
0606a3b7 | 81 | %attr(755,root,root) %{_bindir}/thunar-volman-settings |
8ac219cb | 82 | %{_desktopdir}/thunar-volman-settings.desktop |
30a78a85 | 83 | %{_iconsdir}/hicolor/*/apps/* |