[6284] | 1 | %global minorversion 0.8 |
---|
| 2 | |
---|
| 3 | Name: thunar-volman |
---|
| 4 | Summary: Thunar extension for volume management |
---|
[9399] | 5 | Summary(ja): ストレージ管理のための Thunar 拡張 |
---|
| 6 | Version: 0.8.1 |
---|
| 7 | Release: 1%{?_dist_release} |
---|
[6284] | 8 | |
---|
| 9 | Group: User Interface/Desktops |
---|
| 10 | License: LGPLv2+ |
---|
| 11 | URL: http://goodies.xfce.org/projects/thunar-plugins/thunar-volman |
---|
| 12 | |
---|
| 13 | Source0: http://archive.xfce.org/src/xfce/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2 |
---|
| 14 | |
---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 16 | |
---|
| 17 | BuildRequires: Thunar-devel >= 1.2.0 |
---|
[9399] | 18 | BuildRequires: libexo-devel >= 0.10.0 |
---|
| 19 | BuildRequires: glib2-devel >= 2.30.0 |
---|
[6284] | 20 | BuildRequires: gtk2-devel >= 2.24.0 |
---|
[9399] | 21 | BuildRequires: eudev-libgudev1-devel |
---|
| 22 | BuildRequires: libnotify-devel >= 0.4.0 |
---|
[6284] | 23 | BuildRequires: libxfce4ui-devel >= 4.10.0 |
---|
| 24 | BuildRequires: libxfce4util-devel >= 4.10.0 |
---|
| 25 | BuildRequires: xfconf-devel >= 4.10.0 |
---|
| 26 | |
---|
[9399] | 27 | Vendor: Project Vine |
---|
| 28 | Distribution: Vine Linux |
---|
[8068] | 29 | |
---|
[6284] | 30 | %description |
---|
| 31 | thunar-volman is an extension for the Thunar File Manager, which enables |
---|
| 32 | automatic management of removable drives and media. For example, if |
---|
| 33 | thunar-volman is installed and configured properly, and you plug in your |
---|
| 34 | digitcal camera, it will automatically spawn your preferred photo application |
---|
| 35 | and import the new pictures from your camera. |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %prep |
---|
| 39 | %setup -q |
---|
| 40 | |
---|
| 41 | %build |
---|
| 42 | %configure --disable-static |
---|
| 43 | make %{?_smp_mflags} |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %install |
---|
| 47 | rm -rf $RPM_BUILD_ROOT |
---|
| 48 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 49 | |
---|
| 50 | %find_lang %{name} |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %clean |
---|
| 54 | rm -rf $RPM_BUILD_ROOT |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %post |
---|
| 58 | /sbin/ldconfig |
---|
| 59 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 60 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 61 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
| 62 | |
---|
| 63 | %postun |
---|
| 64 | /sbin/ldconfig |
---|
| 65 | if [ $1 -eq 0 ]; then |
---|
| 66 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 67 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 68 | fi |
---|
| 69 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %files -f %{name}.lang |
---|
| 73 | %defattr(-,root,root,-) |
---|
| 74 | %doc AUTHORS ChangeLog NEWS README |
---|
| 75 | %{_bindir}/thunar-volman |
---|
| 76 | %{_bindir}/thunar-volman-settings |
---|
| 77 | %{_datadir}/applications/thunar-volman-settings.desktop |
---|
| 78 | %{_datadir}/icons/hicolor/*/apps/* |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %changelog |
---|
[9399] | 82 | * Sun Mar 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.8.1-1 |
---|
| 83 | - new upstream relase |
---|
| 84 | - added BR: libnotify-devel |
---|
| 85 | - added Japanese summary |
---|
| 86 | |
---|
[8068] | 87 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.8.0-2 |
---|
| 88 | - rebuild with VineSeed environment |
---|
| 89 | |
---|
[6284] | 90 | * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.8.0-1 |
---|
| 91 | - initial build for Vine Linux |
---|
| 92 | |
---|