]>
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 |
8ac219cb MB |
5 | Version: 0.2.0 |
6 | Release: 1 | |
50f1da19 | 7 | License: GPL |
30a78a85 | 8 | Group: X11/Applications |
50f1da19 | 9 | Source0: http://download.berlios.de/xfce-goodies/%{_realname}-%{version}.tar.bz2 |
8ac219cb MB |
10 | # Source0-md5: e4587967fe3b3858d93735fee3edb2fc |
11 | Patch0: %{name}-locale-names.patch | |
50f1da19 | 12 | URL: http://foo-projects.org/~benny/projects/thunar-volman/ |
8ac219cb | 13 | BuildRequires: Thunar-devel >= 0.9.0 |
50f1da19 | 14 | BuildRequires: dbus-glib-devel >= 0.34 |
30a78a85 | 15 | BuildRequires: gtk+2-devel >= 2:2.6.0 |
50f1da19 | 16 | BuildRequires: hal-devel >= 0.5.0 |
8ac219cb | 17 | BuildRequires: libexo-devel >= 0.3.4 |
50f1da19 | 18 | BuildRequires: libtool |
30a78a85 | 19 | BuildRequires: rpmbuild(macros) >= 1.311 |
fdea7639 AG |
20 | BuildRequires: startup-notification-devel |
21 | BuildRequires: w3c-libwww-devel | |
30a78a85 MB |
22 | Requires(post,postun): gtk+2 |
23 | Requires(post,postun): hicolor-icon-theme | |
50f1da19 | 24 | Requires: Thunar |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
28 | The Thunar Volume Manager is an extension for the Thunar file manager, | |
29 | which enables automatic management of removable drives and media. For | |
30a78a85 | 30 | example, if Thunar-volman is installed and configured properly, and |
50f1da19 | 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. | |
34 | ||
35 | %description -l pl.UTF-8 | |
30a78a85 MB |
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. | |
a2d86cc1 JB |
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 | |
41 | zdjęć użytkownika. | |
50f1da19 | 42 | |
43 | %prep | |
44 | %setup -q -n %{_realname}-%{version} | |
8ac219cb MB |
45 | %patch0 -p1 |
46 | ||
47 | mv -f po/{nb_NO,nb}.po | |
50f1da19 | 48 | |
49 | %build | |
50 | %configure | |
51 | ||
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
60 | %find_lang %{_realname} | |
61 | ||
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
30a78a85 MB |
65 | %post |
66 | %update_icon_cache hicolor | |
67 | ||
68 | %postun | |
69 | %update_icon_cache hicolor | |
70 | ||
e28b31a1 | 71 | %files -f %{_realname}.lang |
50f1da19 | 72 | %defattr(644,root,root,755) |
73 | %doc AUTHORS ChangeLog NEWS README THANKS | |
74 | %attr(755,root,root) %{_bindir}/thunar-volman | |
8ac219cb MB |
75 | %attr(755,root,root) %{_libdir}/thunar-volman-settings |
76 | %{_desktopdir}/thunar-volman-settings.desktop | |
30a78a85 | 77 | %{_iconsdir}/hicolor/*/apps/* |