| 1 | Name: xfce4-mount-plugin |
|---|
| 2 | Summary: Mount/unmount plugin for the Xfce4 panel |
|---|
| 3 | Summary(ja): Xfce パネル用 マウント/アンマウントプラグイン |
|---|
| 4 | Version: 0.6.7 |
|---|
| 5 | Release: 2%{?_dist_release} |
|---|
| 6 | |
|---|
| 7 | Group: User Interface/Desktops |
|---|
| 8 | License: GPLv2+ |
|---|
| 9 | URL: http://goodies.xfce.org/projects/panel-plugins/%{name} |
|---|
| 10 | |
|---|
| 11 | Source0: http://archive.xfce.org/src/panel-plugins/%{name}/0.6/%{name}-%{version}.tar.bz2 |
|---|
| 12 | |
|---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 14 | BuildRequires: libxfce4util-devel >= 4.8.0 |
|---|
| 15 | BuildRequires: libxfce4ui-devel >= 4.8.0 |
|---|
| 16 | BuildRequires: xfce4-panel-devel >= 4.8.0 |
|---|
| 17 | |
|---|
| 18 | Vendor: Project Vine |
|---|
| 19 | Distribution: Vine Linux |
|---|
| 20 | Packager: Takemikaduchi |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | %description |
|---|
| 24 | This little plugin behaves like the "kwikdisk - removable media utility" shipped with KDE. |
|---|
| 25 | |
|---|
| 26 | %description -l ja |
|---|
| 27 | この小さなプラグインは KDE に同梱されている「kwikdisk - リムーバブルメディアユーティリティ」のような動作をします。 |
|---|
| 28 | |
|---|
| 29 | %prep |
|---|
| 30 | %setup -q |
|---|
| 31 | |
|---|
| 32 | %build |
|---|
| 33 | %configure --disable-static |
|---|
| 34 | make %{?_smp_mflags} |
|---|
| 35 | |
|---|
| 36 | %install |
|---|
| 37 | rm -rf $RPM_BUILD_ROOT |
|---|
| 38 | make install DESTDIR=$RPM_BUILD_ROOT |
|---|
| 39 | |
|---|
| 40 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
|---|
| 41 | |
|---|
| 42 | %find_lang %{name} |
|---|
| 43 | |
|---|
| 44 | |
|---|
| 45 | %clean |
|---|
| 46 | rm -rf $RPM_BUILD_ROOT |
|---|
| 47 | |
|---|
| 48 | |
|---|
| 49 | %post |
|---|
| 50 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
|---|
| 51 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
|---|
| 52 | |
|---|
| 53 | %postun |
|---|
| 54 | if [ $1 -eq 0 ]; then |
|---|
| 55 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
|---|
| 56 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
|---|
| 57 | fi |
|---|
| 58 | |
|---|
| 59 | |
|---|
| 60 | %files -f %{name}.lang |
|---|
| 61 | %defattr(-,root,root) |
|---|
| 62 | %doc AUTHORS COPYING ChangeLog NEWS README |
|---|
| 63 | %{_libdir}/xfce4/panel/plugins/libmount.so |
|---|
| 64 | %{_datadir}/icons/hicolor/*/apps/* |
|---|
| 65 | %{_datadir}/xfce4/panel/plugins/%{name}.desktop |
|---|
| 66 | |
|---|
| 67 | %changelog |
|---|
| 68 | * Mon Mar 2 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.6.7-2 |
|---|
| 69 | - rebuilt with libxfce4util 4.12.1 |
|---|
| 70 | |
|---|
| 71 | * Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.6.7-1 |
|---|
| 72 | - new upstream release |
|---|
| 73 | |
|---|
| 74 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-2 |
|---|
| 75 | - rebuild with VineSeed environment |
|---|
| 76 | |
|---|
| 77 | * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-1 |
|---|
| 78 | - initial build for Vine Linux |
|---|
| 79 | |
|---|