]> git.pld-linux.org Git - packages/viewnior.git/commitdiff
new, version 1.5
authorElan Ruusamäe <glen@delfi.ee>
Sun, 17 May 2015 18:06:45 +0000 (21:06 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 17 May 2015 18:06:45 +0000 (21:06 +0300)
based on fedora package 5f1dc48

viewnior.appdata.xml [new file with mode: 0644]
viewnior.spec [new file with mode: 0644]

diff --git a/viewnior.appdata.xml b/viewnior.appdata.xml
new file mode 100644 (file)
index 0000000..0b74a00
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Ryan Lerch <rlerch@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>
diff --git a/viewnior.spec b/viewnior.spec
new file mode 100644 (file)
index 0000000..bc0d805
--- /dev/null
@@ -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}
This page took 0.124727 seconds and 4 git commands to generate.