]>
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 | 18 | BuildRequires: rpmbuild(macros) >= 1.311 |
fdea7639 AG |
19 | BuildRequires: startup-notification-devel |
20 | BuildRequires: w3c-libwww-devel | |
30a78a85 MB |
21 | Requires(post,postun): gtk+2 |
22 | Requires(post,postun): hicolor-icon-theme | |
50f1da19 | 23 | Requires: Thunar |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | The Thunar Volume Manager is an extension for the Thunar file manager, | |
28 | which enables automatic management of removable drives and media. For | |
30a78a85 | 29 | example, if Thunar-volman is installed and configured properly, and |
50f1da19 | 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. | |
33 | ||
34 | %description -l pl.UTF-8 | |
30a78a85 MB |
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 | |
41 | zdjęć. | |
50f1da19 | 42 | |
43 | %prep | |
44 | %setup -q -n %{_realname}-%{version} | |
45 | ||
46 | %build | |
47 | %configure | |
48 | ||
49 | %{__make} | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
56 | ||
57 | %find_lang %{_realname} | |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
30a78a85 MB |
62 | %post |
63 | %update_icon_cache hicolor | |
64 | ||
65 | %postun | |
66 | %update_icon_cache hicolor | |
67 | ||
50f1da19 | 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 | |
30a78a85 | 72 | %{_iconsdir}/hicolor/*/apps/* |