|
|
7177d75 |
%define thunarver 1.0.0
|
|
|
3b95062 |
|
|
|
3b95062 |
Name: thunar-volman
|
|
|
7177d75 |
Version: 0.3.80
|
|
|
eaf7835 |
Release: 2%{?dist}
|
|
|
3b95062 |
Summary: Automatic management of removable drives and media for the Thunar file manager
|
|
|
3b95062 |
|
|
|
3b95062 |
Group: User Interface/Desktops
|
|
|
3ab4b9f |
License: GPLv2+
|
|
|
6d5f490 |
URL: http://goodies.xfce.org/projects/thunar-plugins/%{name}
|
|
|
6d5f490 |
Source0: http://goodies.xfce.org/releases/%{name}/%{name}-%{version}.tar.bz2
|
|
|
3b95062 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
3b95062 |
|
|
|
3b95062 |
BuildRequires: Thunar-devel >= 0.5.1
|
|
|
3b95062 |
BuildRequires: hal-devel >= 0.5.0
|
|
|
3b95062 |
BuildRequires: dbus-glib-devel >= 0.34
|
|
|
3b95062 |
BuildRequires: gettext
|
|
|
7399a04 |
BuildRequires: perl(XML::Parser)
|
|
|
f26b22b |
BuildRequires: desktop-file-utils
|
|
|
3b95062 |
Requires: Thunar >= %{thunarver}
|
|
|
3b95062 |
|
|
|
3b95062 |
%description
|
|
|
3b95062 |
The Thunar Volume Manager is an extension for the Thunar file manager, which
|
|
|
3b95062 |
enables automatic management of removable drives and media. For example, if
|
|
|
3b95062 |
thunar-volman is installed and configured properly, and you plug in your
|
|
|
3b95062 |
digital camera, it will automatically launch your preferred photo application
|
|
|
3b95062 |
and import the new pictures from the camera into your photo collection.
|
|
|
3b95062 |
|
|
|
f26b22b |
|
|
|
3b95062 |
%prep
|
|
|
3b95062 |
%setup -q
|
|
|
3b95062 |
|
|
|
3b95062 |
|
|
|
3b95062 |
%build
|
|
|
3b95062 |
%configure
|
|
|
3b95062 |
make %{?_smp_mflags}
|
|
|
3b95062 |
|
|
|
3b95062 |
|
|
|
3b95062 |
%install
|
|
|
3b95062 |
rm -rf $RPM_BUILD_ROOT
|
|
|
3b95062 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
3b95062 |
%find_lang %{name}
|
|
|
f26b22b |
desktop-file-install --vendor fedora \
|
|
|
f26b22b |
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
|
|
7177d75 |
--add-category=X-XfceSettingsDialog \
|
|
|
f26b22b |
--add-only-show-in=XFCE \
|
|
|
f26b22b |
--delete-original \
|
|
|
f26b22b |
${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}-settings.desktop
|
|
|
3b95062 |
|
|
|
3b95062 |
|
|
|
3b95062 |
%post
|
|
|
3b95062 |
touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
3b95062 |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
3b95062 |
|
|
|
3b95062 |
%postun
|
|
|
3b95062 |
touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
3b95062 |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
3b95062 |
|
|
|
3b95062 |
|
|
|
3b95062 |
%clean
|
|
|
3b95062 |
rm -rf $RPM_BUILD_ROOT
|
|
|
3b95062 |
|
|
|
3b95062 |
|
|
|
3b95062 |
%files -f %{name}.lang
|
|
|
3b95062 |
%defattr(-,root,root,-)
|
|
|
3b95062 |
%doc AUTHORS ChangeLog COPYING NEWS README THANKS
|
|
|
3b95062 |
%{_bindir}/thunar-volman
|
|
|
3b95062 |
%{_datadir}/icons/hicolor/48x48/apps/tvm-*.png
|
|
|
3b95062 |
%{_datadir}/icons/hicolor/scalable/apps/tvm-*.svg
|
|
|
f26b22b |
%{_libexecdir}/thunar-volman-settings
|
|
|
f26b22b |
%{_datadir}/applications/fedora-thunar-volman-settings.desktop
|
|
|
3b95062 |
|
|
|
3b95062 |
|
|
|
3b95062 |
%changelog
|
|
|
eaf7835 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.80-2
|
|
|
eaf7835 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
eaf7835 |
|
|
|
7177d75 |
* Sat Feb 28 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.80-1
|
|
|
7177d75 |
- Update to 0.3.80
|
|
|
7177d75 |
- Add Category X-XfceSettingsDialog
|
|
|
7177d75 |
|
|
|
0ca06f8 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-3
|
|
|
0ca06f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
0ca06f8 |
|
|
|
1586e01 |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.2.0-2
|
|
|
1586e01 |
- Autorebuild for GCC 4.3
|
|
|
1586e01 |
|
|
|
7177d75 |
* Mon Dec 03 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.0-1
|
|
|
f26b22b |
- Update to 0.2.0 and Thunar 0.9.0
|
|
|
f26b22b |
|
|
|
7177d75 |
* Tue Aug 21 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.2-2
|
|
|
3ab4b9f |
- Rebuild for BuildID feature
|
|
|
3ab4b9f |
|
|
|
7177d75 |
* Sun Jan 21 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.2-1
|
|
|
3b95062 |
- Update to 0.1.2.
|
|
|
3b95062 |
|
|
|
7177d75 |
* Wed Jan 17 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-1
|
|
|
3b95062 |
- Initial packaging.
|