commit
a8df7f7efa
BIN
ristretto-0.10.0.tar.bz2
Normal file
BIN
ristretto-0.10.0.tar.bz2
Normal file
Binary file not shown.
61
ristretto.spec
Normal file
61
ristretto.spec
Normal file
@ -0,0 +1,61 @@
|
||||
%global xfceversion 4.14
|
||||
|
||||
Name: ristretto
|
||||
Version: 0.10.0
|
||||
Release: 1
|
||||
Summary: Lightweight picture-viewer for the Xfce desktop environment
|
||||
License: GPLv2+
|
||||
#Group: Development/Libraries
|
||||
URL: http://goodies.xfce.org/projects/applications/ristretto/
|
||||
Source0: http://archive.xfce.org/src/apps/%{name}/0.10/%{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
#BuildArch: noarch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: dbus-glib-devel >= 0.34
|
||||
BuildRequires: gtk2-devel >= 2.20.0
|
||||
BuildRequires: exo-devel >= 0.12.0
|
||||
BuildRequires: libexif-devel >= 0.6.0
|
||||
BuildRequires: libxfce4ui-devel >= %{xfceversion}
|
||||
BuildRequires: xfconf-devel >= %{xfceversion}
|
||||
BuildRequires: desktop-file-utils, gettext, intltool
|
||||
BuildRequires: libappstream-glib
|
||||
Requires: tumbler
|
||||
|
||||
%description
|
||||
Ristretto is a fast and lightweight image-viewer for the Xfce desktop environment.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
desktop-file-install \
|
||||
--dir %{buildroot}%{_datadir}/applications \
|
||||
--add-mime-type=image/x-bmp \
|
||||
--add-mime-type=image/x-png \
|
||||
--add-mime-type=image/x-pcx \
|
||||
--add-mime-type=image/x-tga \
|
||||
--add-mime-type=image/xpm \
|
||||
--delete-original \
|
||||
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/*%{name}.desktop
|
||||
%{_datadir}/icons/hicolor/*/*/*
|
||||
%{_metainfodir}/*.appdata.xml
|
||||
|
||||
%changelog
|
||||
* Mon Jul 27 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.10.0-1
|
||||
- Init package
|
||||
Loading…
x
Reference in New Issue
Block a user