]>
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 |
d95a468d | 5 | Version: 0.9.5 |
cead8efc | 6 | Release: 1 |
66953650 | 7 | License: GPL v2+ |
30a78a85 | 8 | Group: X11/Applications |
94c99eee | 9 | Source0: http://archive.xfce.org/src/apps/thunar-volman/0.9/%{_realname}-%{version}.tar.bz2 |
d95a468d | 10 | # Source0-md5: f9ef39ed4bbff05eb74058dfff24dd84 |
70e029e3 | 11 | Patch0: %{name}-desktop.patch |
66953650 | 12 | URL: http://goodies.xfce.org/projects/thunar-plugins/thunar-volman |
50f1da19 | 13 | BuildRequires: dbus-glib-devel >= 0.34 |
fd259b12 | 14 | BuildRequires: exo-devel >= 0.8.0 |
22817e33 | 15 | BuildRequires: gettext-tools |
ad8752fb | 16 | BuildRequires: glib2-devel >= 1:2.30.0 |
94c99eee | 17 | BuildRequires: gtk+3-devel |
0606a3b7 | 18 | BuildRequires: libnotify-devel >= 0.4.0 |
ad8752fb JR |
19 | BuildRequires: libxfce4ui-devel >= 4.12.0 |
20 | BuildRequires: libxfce4util-devel >= 4.12.0 | |
7c025bd0 | 21 | BuildRequires: pkgconfig |
30a78a85 | 22 | BuildRequires: rpmbuild(macros) >= 1.311 |
0606a3b7 | 23 | BuildRequires: udev-glib-devel >= 145 |
ad8752fb JR |
24 | BuildRequires: xfce4-dev-tools >= 4.12.0 |
25 | BuildRequires: xfconf-devel >= 4.12.0 | |
0606a3b7 | 26 | Requires: gtk-update-icon-cache |
f5762b68 | 27 | Requires: gvfs |
0606a3b7 | 28 | Requires: hicolor-icon-theme |
94c99eee | 29 | Requires: Thunar >= 1.8.0 |
50f1da19 | 30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
32 | %description | |
33 | The Thunar Volume Manager is an extension for the Thunar file manager, | |
34 | which enables automatic management of removable drives and media. For | |
30a78a85 | 35 | example, if Thunar-volman is installed and configured properly, and |
50f1da19 | 36 | you plug in your digital camera, it will automatically launch your |
37 | preferred photo application and import the new pictures from the | |
38 | camera into your photo collection. | |
39 | ||
40 | %description -l pl.UTF-8 | |
7c025bd0 | 41 | Thunar Volume Manager jest rozszerzeniem zarządcy plików Thunar, które |
42 | pozwala na automatyczne zarządzanie przenośnych dysków i mediów. Na | |
43 | przykład, jeżeli Thunar-volman jest zainstalowany i skonfigurowany | |
a2d86cc1 JB |
44 | poprawnie, przy podłączaniu aparatu cyfrowego automatycznie uruchomi |
45 | preferowaną aplikację i zaimportuje nowe zdjęcia z aparatu do kolekcji | |
46 | zdjęć użytkownika. | |
50f1da19 | 47 | |
48 | %prep | |
49 | %setup -q -n %{_realname}-%{version} | |
70e029e3 | 50 | %patch0 -p1 |
50f1da19 | 51 | |
52 | %build | |
53 | %configure | |
50f1da19 | 54 | %{__make} |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %{__make} install \ | |
60 | DESTDIR=$RPM_BUILD_ROOT | |
61 | ||
b25d7ed9 | 62 | # duplicate of ur |
0606a3b7 | 63 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK |
c38f26d9 | 64 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ie |
d95a468d JR |
65 | # unify |
66 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{hy_AM,hy} | |
66953650 | 67 | |
50f1da19 | 68 | %find_lang %{_realname} |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
30a78a85 MB |
73 | %post |
74 | %update_icon_cache hicolor | |
75 | ||
76 | %postun | |
77 | %update_icon_cache hicolor | |
78 | ||
e28b31a1 | 79 | %files -f %{_realname}.lang |
50f1da19 | 80 | %defattr(644,root,root,755) |
81 | %doc AUTHORS ChangeLog NEWS README THANKS | |
82 | %attr(755,root,root) %{_bindir}/thunar-volman | |
0606a3b7 | 83 | %attr(755,root,root) %{_bindir}/thunar-volman-settings |
8ac219cb | 84 | %{_desktopdir}/thunar-volman-settings.desktop |
30a78a85 | 85 | %{_iconsdir}/hicolor/*/apps/* |