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