]>
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 |
66953650 MB |
5 | Version: 0.3.80 |
6 | Release: 1 | |
7 | License: GPL v2+ | |
30a78a85 | 8 | Group: X11/Applications |
66953650 MB |
9 | Source0: http://goodies.xfce.org/releases/thunar-volman/%{_realname}-%{version}.tar.bz2 |
10 | # Source0-md5: 4fd81b62690797317ca649ab20609dae | |
11 | URL: http://goodies.xfce.org/projects/thunar-plugins/thunar-volman | |
12 | BuildRequires: autoconf >= 2.50 | |
13 | BuildRequires: automake >= 1:1.8 | |
50f1da19 | 14 | BuildRequires: dbus-glib-devel >= 0.34 |
66953650 | 15 | BuildRequires: gtk+2-devel >= 2:2.10.6 |
50f1da19 | 16 | BuildRequires: hal-devel >= 0.5.0 |
66953650 MB |
17 | BuildRequires: exo-devel >= 0.3.100 |
18 | BuildRequires: intltool | |
50f1da19 | 19 | BuildRequires: libtool |
30a78a85 | 20 | BuildRequires: rpmbuild(macros) >= 1.311 |
66953650 MB |
21 | BuildRequires: Thunar-devel >= 1.0.0 |
22 | BuildRequires: xfce4-dev-tools >= 4.6.0 | |
30a78a85 MB |
23 | Requires(post,postun): gtk+2 |
24 | Requires(post,postun): hicolor-icon-theme | |
66953650 | 25 | Requires: Thunar >= 1.0.0 |
50f1da19 | 26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
29 | The Thunar Volume Manager is an extension for the Thunar file manager, | |
30 | which enables automatic management of removable drives and media. For | |
30a78a85 | 31 | example, if Thunar-volman is installed and configured properly, and |
50f1da19 | 32 | you plug in your digital camera, it will automatically launch your |
33 | preferred photo application and import the new pictures from the | |
34 | camera into your photo collection. | |
35 | ||
36 | %description -l pl.UTF-8 | |
30a78a85 MB |
37 | Thunar Volume Manager jest rozszerzeniem zarządcy plików Thunar, |
38 | które pozwala na automatyczne zarządzanie przenośnych dysków i mediów. | |
a2d86cc1 JB |
39 | Na przykład, jeżeli Thunar-volman jest zainstalowany i skonfigurowany |
40 | poprawnie, przy podłączaniu aparatu cyfrowego automatycznie uruchomi | |
41 | preferowaną aplikację i zaimportuje nowe zdjęcia z aparatu do kolekcji | |
42 | zdjęć użytkownika. | |
50f1da19 | 43 | |
44 | %prep | |
45 | %setup -q -n %{_realname}-%{version} | |
46 | ||
47 | %build | |
66953650 | 48 | %{__intltoolize} |
1beacc30 JR |
49 | %{__libtoolize} |
50 | %{__aclocal} | |
51 | %{__autoconf} | |
66953650 | 52 | %{__autoheader} |
1beacc30 | 53 | %{__automake} |
50f1da19 | 54 | %configure |
50f1da19 | 55 | %{__make} |
56 | ||
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %{__make} install \ | |
61 | DESTDIR=$RPM_BUILD_ROOT | |
62 | ||
66953650 MB |
63 | mv $RPM_BUILD_ROOT%{_datadir}/locale/nb{_NO,} |
64 | ||
50f1da19 | 65 | %find_lang %{_realname} |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
30a78a85 MB |
70 | %post |
71 | %update_icon_cache hicolor | |
72 | ||
73 | %postun | |
74 | %update_icon_cache hicolor | |
75 | ||
e28b31a1 | 76 | %files -f %{_realname}.lang |
50f1da19 | 77 | %defattr(644,root,root,755) |
78 | %doc AUTHORS ChangeLog NEWS README THANKS | |
79 | %attr(755,root,root) %{_bindir}/thunar-volman | |
8ac219cb MB |
80 | %attr(755,root,root) %{_libdir}/thunar-volman-settings |
81 | %{_desktopdir}/thunar-volman-settings.desktop | |
30a78a85 | 82 | %{_iconsdir}/hicolor/*/apps/* |