]> git.pld-linux.org Git - packages/Thunar-volman.git/blob - Thunar-volman.spec
8106dc1b7ab2b2c7b1eac5a2d5772e0659d38616
[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.2.0
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:  e4587967fe3b3858d93735fee3edb2fc
11 Patch0:         %{name}-locale-names.patch
12 URL:            http://foo-projects.org/~benny/projects/thunar-volman/
13 BuildRequires:  Thunar-devel >= 0.9.0
14 BuildRequires:  dbus-glib-devel >= 0.34
15 BuildRequires:  gtk+2-devel >= 2:2.6.0
16 BuildRequires:  hal-devel >= 0.5.0
17 BuildRequires:  libexo-devel >= 0.3.4
18 BuildRequires:  libtool
19 BuildRequires:  rpmbuild(macros) >= 1.311
20 BuildRequires:  startup-notification-devel
21 BuildRequires:  w3c-libwww-devel
22 Requires(post,postun):  gtk+2
23 Requires(post,postun):  hicolor-icon-theme
24 Requires:       Thunar
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 The Thunar Volume Manager is an extension for the Thunar file manager,
29 which enables automatic management of removable drives and media. For
30 example, if Thunar-volman is installed and configured properly, and
31 you plug in your digital camera, it will automatically launch your
32 preferred photo application and import the new pictures from the
33 camera into your photo collection.
34
35 %description -l pl.UTF-8
36 Thunar Volume Manager jest rozszerzeniem zarządcy plików Thunar,
37 które pozwala na automatyczne zarządzanie przenośnych dysków i mediów.
38 Na przykład, jeżeli Thunar-volman jest zainstalowany i skonfigurowany
39 poprawnie, przy podłączaniu aparatu cyfrowego automatycznie uruchomi
40 preferowaną aplikację i zaimportuje nowe zdjęcia z aparatu do kolekcji
41 zdjęć użytkownika.
42
43 %prep
44 %setup -q -n %{_realname}-%{version}
45 %patch0 -p1
46
47 mv -f po/{nb_NO,nb}.po
48
49 %build
50 %configure
51
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %find_lang %{_realname}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post
66 %update_icon_cache hicolor
67
68 %postun
69 %update_icon_cache hicolor
70
71 %files -f %{_realname}.lang
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog NEWS README THANKS
74 %attr(755,root,root) %{_bindir}/thunar-volman
75 %attr(755,root,root) %{_libdir}/thunar-volman-settings
76 %{_desktopdir}/thunar-volman-settings.desktop
77 %{_iconsdir}/hicolor/*/apps/*
This page took 0.073112 seconds and 2 git commands to generate.