]>
Commit | Line | Data |
---|---|---|
4340a34d | 1 | Summary: mount/umount utility for Xfce panel |
7c8ddba9 | 2 | Summary(pl.UTF-8): Narzędzie do montowania/odmontowywania dla panelu Xfce |
4340a34d | 3 | Name: xfce4-mount-plugin |
2684db84 | 4 | Version: 0.5.1 |
ee7e4304 | 5 | Release: 1 |
a690efe1 | 6 | License: GPL v2+ |
dc0ec25b | 7 | Group: X11/Applications |
9ace6d9c | 8 | Source0: http://goodies.xfce.org/releases/xfce4-mount-plugin/%{name}-%{version}.tar.bz2 |
2684db84 | 9 | # Source0-md5: 2e03e6b9de2fb6d8f58244d620e8c121 |
c45ee448 | 10 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-mount-plugin |
4340a34d RK |
11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
9ace6d9c | 13 | BuildRequires: intltool |
eaa49471 | 14 | BuildRequires: pkgconfig |
9ace6d9c MB |
15 | BuildRequires: xfce4-dev-tools >= 4.4.0 |
16 | BuildRequires: xfce4-panel-devel >= 4.4.0 | |
17 | Requires(post,postun): gtk+2 | |
18 | Requires(post,postun): hicolor-icon-theme | |
19 | Requires: xfce4-panel >= 4.4.0 | |
4340a34d RK |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | This plugin let's you easy mount/umount and check space uvailable on | |
24 | destdevice. | |
25 | ||
aa5cb6cd JR |
26 | %description -l pl.UTF-8 |
27 | Ta wtyczka umożliwia łatwe montowanie/odmontowywanie oraz sprawdzanie | |
28 | miejsca dostępnego na urządzeniu. | |
2d1b9191 | 29 | |
4340a34d RK |
30 | %prep |
31 | %setup -q | |
32 | ||
33 | %build | |
9ace6d9c MB |
34 | %{__intltoolize} |
35 | %{__aclocal} | |
36 | %{__autoconf} | |
37 | %{__autoheader} | |
38 | %{__automake} | |
4340a34d RK |
39 | %configure \ |
40 | --disable-static | |
41 | ||
42 | %{__make} | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %{__make} install \ | |
48 | DESTDIR=$RPM_BUILD_ROOT | |
49 | ||
9ace6d9c MB |
50 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{no,nb} |
51 | ||
52 | %find_lang %{name} | |
eaa49471 | 53 | |
4340a34d RK |
54 | %clean |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
9ace6d9c MB |
57 | %post |
58 | %update_icon_cache hicolor | |
59 | ||
60 | %postun | |
61 | %update_icon_cache hicolor | |
62 | ||
63 | %files -f %{name}.lang | |
4340a34d | 64 | %defattr(644,root,root,755) |
9ace6d9c MB |
65 | %doc AUTHORS ChangeLog README TODO |
66 | %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-mount-plugin | |
67 | %{_datadir}/xfce4/panel-plugins/xfce4-mount-plugin.desktop | |
68 | %{_iconsdir}/hicolor/*/apps/*.* |