]> git.pld-linux.org Git - packages/Thunar-volman.git/blob - Thunar-volman.spec
- 0.5.2
[packages/Thunar-volman.git] / Thunar-volman.spec
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.5.2
6 Release:        0.1
7 License:        GPL v2+
8 Group:          X11/Applications
9 Source0:        http://archive.xfce.org/src/apps/thunar-volman/0.5/%{_realname}-%{version}.tar.bz2
10 # Source0-md5:  6c98bd82c0348b76d6548f8eca96113b
11 Patch0:         %{name}-desktop.patch
12 URL:            http://goodies.xfce.org/projects/thunar-plugins/thunar-volman
13 BuildRequires:  Thunar-devel >= 1.1.1
14 BuildRequires:  dbus-glib-devel >= 0.34
15 BuildRequires:  exo-devel >= 0.5.0
16 BuildRequires:  gettext-devel
17 BuildRequires:  glib2-devel >= 1:2.18.0
18 BuildRequires:  gtk+2-devel >= 2:2.24.0
19 BuildRequires:  libxfce4ui-devel >= 4.7.0
20 BuildRequires:  libxfce4util-devel >= 4.7.0
21 BuildRequires:  pkgconfig
22 BuildRequires:  rpmbuild(macros) >= 1.311
23 BuildRequires:  udev-glib-devel >= 145
24 BuildRequires:  xfce4-dev-tools >= 4.7.0
25 BuildRequires:  xfconf-devel >= 4.7.0
26 Requires(post,postun):  gtk+2
27 Requires(post,postun):  hicolor-icon-theme
28 Requires:       Thunar >= 1.1.1
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
34 example, if Thunar-volman is installed and configured properly, and
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
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
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.
46
47 %prep
48 %setup -q -n %{_realname}-%{version}
49 %patch0 -p1
50
51 %build
52 %configure
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 mv $RPM_BUILD_ROOT%{_datadir}/locale/nb{_NO,}
62
63 %find_lang %{_realname}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post
69 %update_icon_cache hicolor
70
71 %postun
72 %update_icon_cache hicolor
73
74 %files -f %{_realname}.lang
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog NEWS README THANKS
77 %attr(755,root,root) %{_bindir}/thunar-volman
78 %attr(755,root,root) %{_libdir}/thunar-volman-settings
79 %{_desktopdir}/thunar-volman-settings.desktop
80 %{_iconsdir}/hicolor/*/apps/*
This page took 0.056081 seconds and 4 git commands to generate.