]>
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 | |
e28b31a1 | 6 | Release: 2 |
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. | |
a2d86cc1 JB |
37 | Na przykład, jeżeli Thunar-volman jest zainstalowany i skonfigurowany |
38 | poprawnie, przy podłączaniu aparatu cyfrowego automatycznie uruchomi | |
39 | preferowaną aplikację i zaimportuje nowe zdjęcia z aparatu do kolekcji | |
40 | zdjęć użytkownika. | |
50f1da19 | 41 | |
42 | %prep | |
43 | %setup -q -n %{_realname}-%{version} | |
44 | ||
45 | %build | |
46 | %configure | |
47 | ||
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
56 | %find_lang %{_realname} | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
30a78a85 MB |
61 | %post |
62 | %update_icon_cache hicolor | |
63 | ||
64 | %postun | |
65 | %update_icon_cache hicolor | |
66 | ||
e28b31a1 | 67 | %files -f %{_realname}.lang |
50f1da19 | 68 | %defattr(644,root,root,755) |
69 | %doc AUTHORS ChangeLog NEWS README THANKS | |
70 | %attr(755,root,root) %{_bindir}/thunar-volman | |
30a78a85 | 71 | %{_iconsdir}/hicolor/*/apps/* |