]>
Commit | Line | Data |
---|---|---|
1 | %define _realname thunar-volman | |
2 | Summary: Volumes manager for Thunar | |
3 | Summary(pl.UTF-8): Zarządca napędów dla Thunara | |
4 | Name: Thunar-volman | |
5 | Version: 0.1.2 | |
6 | Release: 1 | |
7 | License: GPL | |
8 | Group: X11/Applications | |
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/ | |
12 | BuildRequires: Thunar-devel >= 0.5.1 | |
13 | BuildRequires: dbus-glib-devel >= 0.34 | |
14 | BuildRequires: gtk+2-devel >= 2:2.6.0 | |
15 | BuildRequires: hal-devel >= 0.5.0 | |
16 | BuildRequires: libexo-devel >= 0.3.1.13 | |
17 | BuildRequires: libtool | |
18 | BuildRequires: rpmbuild(macros) >= 1.311 | |
19 | BuildRequires: startup-notification-devel | |
20 | BuildRequires: w3c-libwww-devel | |
21 | Requires(post,postun): gtk+2 | |
22 | Requires(post,postun): hicolor-icon-theme | |
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 | |
29 | example, if Thunar-volman is installed and configured properly, and | |
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 | |
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 | 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. | |
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 | ||
61 | %post | |
62 | %update_icon_cache hicolor | |
63 | ||
64 | %postun | |
65 | %update_icon_cache hicolor | |
66 | ||
67 | %files -f %{_realname} | |
68 | %defattr(644,root,root,755) | |
69 | %doc AUTHORS ChangeLog NEWS README THANKS | |
70 | %attr(755,root,root) %{_bindir}/thunar-volman | |
71 | %{_iconsdir}/hicolor/*/apps/* |