Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > a4df56132d48015db5ce90a95d2a5289 > files > 2

wmudmount-1.13-2.fc16.src.rpm

Name:           wmudmount
Version:        1.13
Release:        2%{?dist}
Summary:        A WindowMaker filesystem mounting dockapp using udisks

License:        GPLv2+
URL:            http://sourceforge.net/projects/wmudmount/
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz

BuildRequires:  dbus-glib-devel
BuildRequires:  gtk2-devel
BuildRequires:  libICE-devel libSM-devel
BuildRequires:  libgnome-keyring-devel
BuildRequires:  libnotify-devel
BuildRequires:  ImageMagick

Requires:       hicolor-icon-theme

%description
wmudmount is a filesystem mounter that uses udisks to handle notification of
new volumes and mounting of the filesystems as a non-root user. It also
includes a mode to display the mounted filesystems with the least free space
percentage.

%prep
%setup -q


%build
%configure --disable-gtktest --with-x
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

%postun
if [ $1 -eq 0 ] ; then
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
fi

%posttrans
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :

%files
%doc ChangeLog
%{_bindir}/wmudmount
%{_mandir}/man1/wmudmount.1x*
%{_datadir}/icons/hicolor/16x16/apps/*
%{_datadir}/icons/hicolor/22x22/apps/*
%{_datadir}/icons/hicolor/48x48/apps/*
%{_datadir}/icons/hicolor/scalable/apps/*


%changelog
* Thu Jul 05 2012 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- 1.13-2
- cleanup BR

* Sat Jun 02 2012 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- 1.13-1
- initial version