]> git.pld-linux.org Git - packages/xfce4-mount-plugin.git/blob - xfce4-mount-plugin.spec
- rel 1
[packages/xfce4-mount-plugin.git] / xfce4-mount-plugin.spec
1 Summary:        mount/umount utility for Xfce panel
2 Summary(pl.UTF-8):      Narzędzie do montowania/odmontowywania dla panelu Xfce
3 Name:           xfce4-mount-plugin
4 Version:        0.6.7
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        http://archive.xfce.org/src/panel-plugins/xfce4-mount-plugin/0.6/%{name}-%{version}.tar.bz2
9 # Source0-md5:  d477220bb43ab4952be857a12a74745d
10 Patch0:         %{name}-label-uuid.patch
11 URL:            http://goodies.xfce.org/projects/panel-plugins/xfce4-mount-plugin
12 BuildRequires:  autoconf >= 2.63
13 BuildRequires:  automake
14 BuildRequires:  gettext-devel
15 BuildRequires:  intltool
16 BuildRequires:  libtool
17 BuildRequires:  libxfce4ui-devel
18 BuildRequires:  perl-XML-Parser
19 BuildRequires:  pkgconfig
20 BuildRequires:  rpmbuild(macros) >= 1.601
21 BuildRequires:  xfce4-dev-tools >= 4.10.0
22 BuildRequires:  xfce4-panel-devel >= 4.10.0
23 Requires:       gtk-update-icon-cache
24 Requires:       hicolor-icon-theme
25 Requires:       xfce4-panel >= 4.10.0
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 This plugin let's you easy mount/umount and check space uvailable on
30 destdevice.
31
32 %description -l pl.UTF-8
33 Ta wtyczka umożliwia łatwe montowanie/odmontowywanie oraz sprawdzanie
34 miejsca dostępnego na urządzeniu.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 %build
41 %{__intltoolize}
42 %{__libtoolize}
43 %{__aclocal}
44 %{__autoconf}
45 %{__autoheader}
46 %{__automake}
47 %configure
48
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la
58 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
59
60 %find_lang %{name}
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 %{name}.lang
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog README TODO
74 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libmount.so
75 %{_datadir}/xfce4/panel/plugins/xfce4-mount-plugin.desktop
76 %{_iconsdir}/hicolor/*/apps/*.*
This page took 0.115803 seconds and 3 git commands to generate.