|
|
859cc0c |
# Review at https://bugzilla.redhat.com/show_bug.cgi?id=351531
|
|
|
859cc0c |
|
|
|
2fa5977 |
%global majorversion 0.3
|
|
|
d9ede3a |
%global xfceversion 4.8.0
|
|
|
b882e55 |
|
|
|
2490c0e |
|
|
|
567e291 |
Name: ristretto
|
|
|
2fa5977 |
Version: 0.3.0
|
|
|
bbdbaeb |
Release: 2%{?dist}
|
|
|
567e291 |
Summary: Image-viewer for the Xfce desktop environment
|
|
|
567e291 |
Summary(de): Bildbetrachter für die Xfce Desktop-Umgebung
|
|
|
567e291 |
|
|
|
567e291 |
Group: User Interface/Desktops
|
|
|
567e291 |
License: GPLv2+
|
|
|
567e291 |
URL: http://goodies.xfce.org/projects/applications/ristretto/
|
|
|
2490c0e |
Source0: http://archive.xfce.org/src/apps/%{name}/%{majorversion}/%{name}-%{version}.tar.bz2
|
|
|
567e291 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
567e291 |
|
|
|
d9ede3a |
BuildRequires: dbus-glib-devel >= 0.34
|
|
|
d9ede3a |
BuildRequires: gtk2-devel >= 2.20.0
|
|
|
2fa5977 |
BuildRequires: exo-devel >= 0.4.0
|
|
|
d9ede3a |
BuildRequires: libexif-devel >= 0.6.0
|
|
|
b882e55 |
BuildRequires: libxfce4ui-devel >= %{xfceversion}
|
|
|
b882e55 |
BuildRequires: xfconf-devel >= %{xfceversion}
|
|
|
e716da3 |
BuildRequires: desktop-file-utils, gettext, intltool
|
|
|
bbdbaeb |
Requires: tumbler
|
|
|
567e291 |
|
|
|
567e291 |
|
|
|
567e291 |
%description
|
|
|
567e291 |
Ristretto is a fast and lightweight image-viewer for the Xfce desktop
|
|
|
567e291 |
environment.
|
|
|
567e291 |
|
|
|
567e291 |
%description -l de
|
|
|
567e291 |
Ristretto ist ein schneller und leichtgewichtiger Bildbetrachter für die Xfce
|
|
|
567e291 |
Desktop-Umgebung.
|
|
|
567e291 |
|
|
|
567e291 |
|
|
|
567e291 |
%prep
|
|
|
567e291 |
%setup -q
|
|
|
567e291 |
|
|
|
567e291 |
|
|
|
567e291 |
%build
|
|
|
567e291 |
%configure
|
|
|
567e291 |
make %{?_smp_mflags}
|
|
|
567e291 |
|
|
|
567e291 |
|
|
|
567e291 |
%install
|
|
|
bbdbaeb |
rm -rf %{buildroot}
|
|
|
bbdbaeb |
make install DESTDIR=%{buildroot}
|
|
|
567e291 |
%find_lang %{name}
|
|
|
bbdbaeb |
desktop-file-install --vendor fedora \
|
|
|
bbdbaeb |
--dir %{buildroot}%{_datadir}/applications \
|
|
|
bbdbaeb |
--add-mime-type=image/x-bmp \
|
|
|
bbdbaeb |
--add-mime-type=image/x-png \
|
|
|
bbdbaeb |
--add-mime-type=image/x-pcx \
|
|
|
bbdbaeb |
--add-mime-type=image/x-tga \
|
|
|
bbdbaeb |
--add-mime-type=image/xpm \
|
|
|
bbdbaeb |
--delete-original \
|
|
|
bbdbaeb |
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
567e291 |
|
|
|
567e291 |
|
|
|
e8df59e |
%clean
|
|
|
bbdbaeb |
rm -rf %{buildroot}
|
|
|
e8df59e |
|
|
|
e8df59e |
|
|
|
567e291 |
%post
|
|
|
e8df59e |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
b882e55 |
update-desktop-database &> /dev/null || :
|
|
|
567e291 |
|
|
|
567e291 |
|
|
|
567e291 |
%postun
|
|
|
e8df59e |
if [ $1 -eq 0 ] ; then
|
|
|
e8df59e |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
e8df59e |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
e8df59e |
fi
|
|
|
b882e55 |
update-desktop-database &> /dev/null || :
|
|
|
567e291 |
|
|
|
567e291 |
|
|
|
e8df59e |
%posttrans
|
|
|
e8df59e |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
567e291 |
|
|
|
567e291 |
|
|
|
567e291 |
%files -f %{name}.lang
|
|
|
567e291 |
%defattr(-,root,root,-)
|
|
|
567e291 |
%doc AUTHORS COPYING ChangeLog README
|
|
|
567e291 |
%{_bindir}/%{name}
|
|
|
567e291 |
%{_datadir}/applications/fedora-%{name}.desktop
|
|
|
b882e55 |
%{_docdir}/%{name}/
|
|
|
b882e55 |
%{_datadir}/icons/hicolor/*/*/*
|
|
|
567e291 |
|
|
|
567e291 |
|
|
|
567e291 |
%changelog
|
|
|
bbdbaeb |
* Tue Nov 08 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.0-2
|
|
|
bbdbaeb |
- Require tumbler for thumbnail generation
|
|
|
bbdbaeb |
|
|
|
2fa5977 |
* Sun Nov 06 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.0-1
|
|
|
2fa5977 |
- Update to 0.3.0
|
|
|
2fa5977 |
|
|
|
a67161e |
* Sun Nov 06 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.3-1
|
|
|
a67161e |
- Update to 0.2.3 (fixes #750657)
|
|
|
a67161e |
|
|
|
9bfc973 |
* Sat Oct 29 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.2-1
|
|
|
9bfc973 |
- Update to 0.2.2
|
|
|
9bfc973 |
|
|
|
250ba6e |
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-2
|
|
|
250ba6e |
- Rebuilt for glibc bug#747377
|
|
|
250ba6e |
|
|
|
d560ce7 |
* Sun Oct 23 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.1-1
|
|
|
d560ce7 |
- Update to 0.2.1
|
|
|
d560ce7 |
|
|
|
d9ede3a |
* Tue Oct 18 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.0-1
|
|
|
d9ede3a |
- Update to 0.2.0
|
|
|
d9ede3a |
|
|
|
4b068e7 |
* Sun Oct 09 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.1-1
|
|
|
4b068e7 |
- Update to 0.1.1
|
|
|
4b068e7 |
- Drop DSO patch, fixed upstream
|
|
|
4b068e7 |
|
|
|
e38ec2e |
* Thu Oct 06 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-1
|
|
|
e38ec2e |
- Update to 0.1.0
|
|
|
e38ec2e |
|
|
|
bfab38f |
* Wed Aug 16 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.93-2
|
|
|
bfab38f |
- Fix two major memory leaks (bugzilla.xfce.org #7882)
|
|
|
bfab38f |
|
|
|
b882e55 |
* Thu Mar 03 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.93-1
|
|
|
b882e55 |
- Update to 0.0.93 (fixes #542141 and #679808)
|
|
|
b882e55 |
- No longer require xfce4-doc
|
|
|
b882e55 |
- Run update-desktop-database in %%post and %%postun
|
|
|
b882e55 |
|
|
|
4666603 |
* Wed Feb 09 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.91-2
|
|
|
4666603 |
- BR xfconf-devel to fix build after Xfce 4.8 update
|
|
|
1f38a47 |
|
|
|
2490c0e |
* Tue Jul 13 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.91-1
|
|
|
2490c0e |
- Update to 0.0.91 (Development release for next major version)
|
|
|
2490c0e |
- Require xfce4-doc for directory ownership of the nex docs
|
|
|
2490c0e |
|
|
|
5361799 |
* Wed Feb 17 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.22-3
|
|
|
5361799 |
- Add patch to fix DSO linking (#565114)
|
|
|
5361799 |
|
|
|
c2039f1 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.22-2
|
|
|
c2039f1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
c2039f1 |
|
|
|
e8df59e |
* Fri May 15 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.22-1
|
|
|
e8df59e |
- Update to 0.0.22
|
|
|
e8df59e |
|
|
|
b53c095 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.21-2
|
|
|
b53c095 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
b53c095 |
|
|
|
1a5718a |
* Thu Nov 27 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.21-1
|
|
|
1a5718a |
- Update to 0.0.21
|
|
|
1a5718a |
- Remove marshaller fix, included upstream now
|
|
|
1a5718a |
|
|
|
1a5718a |
* Tue Jul 01 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.20-2
|
|
|
567e291 |
- Add patch to fix x86_64 bit bug caused by a wrong marshaller (#351531)
|
|
|
567e291 |
|
|
|
1a5718a |
* Sat May 24 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.20-1
|
|
|
567e291 |
- Update to 0.0.20
|
|
|
567e291 |
|
|
|
1a5718a |
* Sat May 10 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.19-1
|
|
|
567e291 |
- Update to 0.0.19
|
|
|
567e291 |
|
|
|
1a5718a |
* Sat Apr 05 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.18-1
|
|
|
567e291 |
- Update to 0.0.18
|
|
|
567e291 |
|
|
|
1a5718a |
* Wed Feb 17 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.17-1
|
|
|
567e291 |
- Update to 0.0.17
|
|
|
567e291 |
|
|
|
1a5718a |
* Wed Jan 30 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.16-1
|
|
|
567e291 |
- Update to 0.0.16
|
|
|
567e291 |
|
|
|
1a5718a |
* Mon Dec 03 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.15-1
|
|
|
567e291 |
- Update to 0.0.15
|
|
|
567e291 |
|
|
|
1a5718a |
* Mon Dec 03 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.14-1
|
|
|
567e291 |
- Update to 0.0.14
|
|
|
567e291 |
|
|
|
1a5718a |
* Mon Nov 26 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.13-1
|
|
|
567e291 |
- Update to 0.0.13
|
|
|
567e291 |
|
|
|
1a5718a |
* Wed Nov 21 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.12-2
|
|
|
567e291 |
- Try manual_adjustments.patch
|
|
|
567e291 |
|
|
|
1a5718a |
* Tue Nov 20 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.12-1
|
|
|
567e291 |
- Update to 0.0.12
|
|
|
567e291 |
|
|
|
1a5718a |
* Wed Nov 07 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.11-1
|
|
|
567e291 |
- Update to 0.0.11
|
|
|
567e291 |
- BuildRequire dbus-glib-devel
|
|
|
567e291 |
|
|
|
1a5718a |
* Sat Nov 03 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.10-1
|
|
|
567e291 |
- Update to 0.0.10
|
|
|
567e291 |
- Add more mimetypes: tiff, x-bmp, x-png, x-pcx, x-tga and xpm
|
|
|
567e291 |
- Correct build requirements
|
|
|
567e291 |
|
|
|
1a5718a |
* Fri Oct 19 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.9-1
|
|
|
567e291 |
- Update to 0.0.9
|
|
|
567e291 |
|
|
|
1a5718a |
* Sun Oct 14 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.8-1
|
|
|
567e291 |
- Update to 0.0.8
|
|
|
567e291 |
|
|
|
1a5718a |
* Sun Sep 30 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.7-1
|
|
|
567e291 |
- Update to 0.0.7
|
|
|
567e291 |
|
|
|
1a5718a |
* Sun Sep 09 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.4-1
|
|
|
567e291 |
- Update to 0.0.4
|
|
|
567e291 |
|
|
|
1a5718a |
* Wed Sep 05 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.3-1
|
|
|
567e291 |
- Initial RPM package
|