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