[packages/viewnior] new, version 1.5

glen glen at pld-linux.org
Sun May 17 20:07:17 CEST 2015


commit a527519c5be945e4a66f8ecfc02b3c3b8c7c5cac
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun May 17 21:06:45 2015 +0300

    new, version 1.5
    
    based on fedora package 5f1dc48

 viewnior.appdata.xml | 26 ++++++++++++++++++
 viewnior.spec        | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+)
---
diff --git a/viewnior.spec b/viewnior.spec
new file mode 100644
index 0000000..bc0d805
--- /dev/null
+++ b/viewnior.spec
@@ -0,0 +1,78 @@
+Summary:	Elegant image viewer
+Name:		viewnior
+Version:	1.5
+Release:	1
+License:	GPL v3+
+Group:		X11/Applications
+Source0:	https://github.com/xsisqox/Viewnior/archive/%{name}-%{version}.tar.gz
+Source1:	viewnior.appdata.xml
+URL:		http://siyanpanayotov.com/project/viewnior/
+BuildRequires:	desktop-file-utils
+BuildRequires:	exiv2-devel >= 0.21
+BuildRequires:	gdk-pixbuf2-devel >= 2.4.0
+BuildRequires:	gettext
+BuildRequires:	glib2-devel >= 2.32
+BuildRequires:	gnome-common
+BuildRequires:	gtk+2-devel >= 2.20
+BuildRequires:	intltool
+BuildRequires:	shared-mime-info >= 0.20
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Viewnior is an image viewer program. Created to be simple, fast and
+elegant. It's minimalistic interface provides more screen space for
+your images.
+
+Among its features are:
+- Fullscreen & Slideshow
+- Rotate, flip, save, delete images
+- Animation support
+- Browse only selected images
+- Navigation window
+- Simple interface
+- Configurable mouse actions
+
+%prep
+%setup -qn Viewnior-%{name}-%{version}
+
+%build
+./autogen.sh
+%configure \
+	--disable-silent-rules \
+	--enable-wallpaper
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	INSTALL='install -p' \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}
+
+desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+
+install -d $RPM_BUILD_ROOT%{_datadir}/appdata
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%update_desktop_database
+%update_icon_cache hicolor
+
+%postun
+%update_desktop_database
+%update_icon_cache hicolor
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog-20090517 COPYING NEWS README TODO
+%attr(755,root,root) %{_bindir}/%{name}
+%{_mandir}/man*/%{name}*
+%{_datadir}/appdata/%{name}.appdata.xml
+%{_desktopdir}/%{name}.desktop
+%{_iconsdir}/hicolor/*/apps/%{name}.*
+%{_datadir}/%{name}
diff --git a/viewnior.appdata.xml b/viewnior.appdata.xml
new file mode 100644
index 0000000..0b74a00
--- /dev/null
+++ b/viewnior.appdata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Ryan Lerch <rlerch at redhat.com> -->
+<!--
+BugReportURL: https://bugs.launchpad.net/viewnior/+bug/1323677
+SentUpstream: 2014-09-18
+-->
+<application>
+  <id type="desktop">viewnior.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <summary>Simple image viewer and editor</summary>
+  <description>
+    <p>
+      Viewnior is a simple and elegant image viewer with a minimal interface that
+      provides as much screen real estate as possible to view your images.
+      It has a wide range of features, including: fullscreen and slideshow modes,
+      the ability to rotate, flip and crop images, support for animations (GIF),
+      support for reading image metadata, and the ability to configure mouse actions.
+    </p>
+  </description>
+  <url type="homepage">http://siyanpanayotov.com/project/viewnior/</url>
+  <screenshots>
+    <screenshot type="default">http://siyanpanayotov.com/wp-content/uploads/2014/04/vnr_normal_mode_2.png</screenshot>
+    <screenshot>http://siyanpanayotov.com/wp-content/uploads/2014/04/vnr_pref_window.png</screenshot>
+    <screenshot>http://siyanpanayotov.com/wp-content/uploads/2014/04/vnr_navigation_window.png</screenshot>
+  </screenshots>
+</application>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/viewnior.git/commitdiff/a527519c5be945e4a66f8ecfc02b3c3b8c7c5cac



More information about the pld-cvs-commit mailing list