Name: nip2 Version: 8.5.1 Release: 1%{?dist} Summary: Interactive tool for working with large images License: GPLv2+ URL: https://jcupitt.github.io/libvips/ Source0: https://github.com/jcupitt/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz BuildRequires: pkgconfig(vips) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libgoffice-0.8) BuildRequires: pkgconfig(fftw3) BuildRequires: pkgconfig(libgvc) BuildRequires: pkgconfig(gsl) BuildRequires: pkgconfig(libgsf-1) BuildRequires: gcc BuildRequires: shared-mime-info gnome-icon-theme-devel BuildRequires: flex bison intltool gettext BuildRequires: desktop-file-utils xdg-utils BuildRequires: libappstream-glib # description taken from Debian package %description nip2 is a graphical front end to the VIPS package. With nip2, rather than directly editing images, you build relationships between objects in a spreadsheet-like fashion. When you make a change somewhere, nip2 recalculates the objects affected by that change. Since it is demand-driven this update is very fast, even for very, very large images. nip2 is very good at creating pipelines of image manipulation operations. It is not very good for image editing tasks like touching up photographs. For that, a tool like the GIMP should be used instead. %prep %setup -q %build %configure --disable-update-desktop make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT # delete doc (we will get it later) rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/nip2 # locale stuff %find_lang nip2 # icon install -d $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps cp -a share/nip2/data/vips-128.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/nip2.png %check # appdata appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/nip2.appdata.xml # desktop file desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/nip2.desktop %post # scriptlet for icons touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ] ; then # scriptlet for icons touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : fi %posttrans # scriptlet for icons gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : %files -f nip2.lang %doc doc/html doc/pdf AUTHORS ChangeLog NEWS THANKS TODO %license COPYING %{_bindir}/nip2 %{_datadir}/nip2 %{_mandir}/man1/nip2.1.gz %{_datadir}/icons/hicolor/*/apps/* %{_datadir}/appdata/nip2.appdata.xml %{_datadir}/applications/nip2.desktop %{_datadir}/mime/packages/nip2.xml %changelog * Sat Jun 17 2017 Benjamin Gilbert - 8.5.1-1 - New release - Update project URLs - Drop Group tag * Fri Feb 10 2017 Fedora Release Engineering - 8.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun Sep 25 2016 Benjamin Gilbert - 8.4.0-1 - New release - Drop mimeinfo and desktop-database scriptlets per policy change - Redirect icon post scriptlet to /dev/null per policy * Sat May 21 2016 Benjamin Gilbert - 8.3.0-1 - New release * Mon Feb 22 2016 Orion Poplawski - 8.2-4 - Rebuild for gsl 2.1 * Sun Feb 21 2016 Benjamin Gilbert - 8.2-3 - BuildRequire gcc per new policy * Thu Feb 04 2016 Fedora Release Engineering - 8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jan 11 2016 Benjamin Gilbert - 8.2-1 - New release * Wed Jun 17 2015 Fedora Release Engineering - 8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed May 06 2015 Benjamin Gilbert - 8.0-1 - New release - Move license file to %%license * Tue Dec 30 2014 Benjamin Gilbert - 7.42.1-1 - New release * Sun Dec 28 2014 Benjamin Gilbert - 7.42.0-1 - New release - Re-enable graphviz - Minor specfile cleanups * Wed Nov 26 2014 Rex Dieter - 7.40.4-2 - rebuild (vips) - fix icon/mime scriptlets - validate appdata * Thu Sep 25 2014 Benjamin Gilbert - 7.40.4-1 - New release * Sun Aug 17 2014 Fedora Release Engineering - 7.40.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Thu Jul 17 2014 Richard Hughes - 7.40.3-1 - New release * Tue Jul 08 2014 Benjamin Gilbert - 7.40.2-1 - New release * Sun Jun 29 2014 Benjamin Gilbert - 7.40.1-1 - New release - Add libgsf dependency - Use macros for package version * Sun Jun 22 2014 Benjamin Gilbert - 7.38.3-1 - New release * Sat Jun 07 2014 Fedora Release Engineering - 7.38.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Mar 31 2014 Benjamin Gilbert - 7.38.1-2 - Rebuild for ImageMagick * Tue Jan 21 2014 Benjamin Gilbert - 7.38.1-1 - New release * Thu Jan 09 2014 Benjamin Gilbert - 7.36.5-3 - Rebuild for cfitsio * Thu Jan 02 2014 Benjamin Gilbert - 7.36.5-2 - Rebuild for libwebp * Mon Dec 23 2013 Benjamin Gilbert - 7.36.5-1 - New release * Thu Nov 28 2013 Rex Dieter 7.36.4-2 - rebuild (openexr) * Wed Nov 13 2013 Benjamin Gilbert - 7.36.4-1 - New release * Sat Oct 05 2013 Benjamin Gilbert - 7.36.0-1 - New release * Tue Sep 10 2013 Benjamin Gilbert - 7.34.1-4 - Rebuild for ilmbase 2.0 * Sat Aug 03 2013 Fedora Release Engineering - 7.34.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 31 2013 Benjamin Gilbert - 7.34.1-2 - Update for UnversionedDocdirs * Tue Jul 16 2013 Benjamin Gilbert - 7.34.1-1 - New release * Sat Jun 29 2013 Benjamin Gilbert - 7.34.0-1 - New release * Fri Jun 28 2013 Kalev Lember - 7.32.1-3 - Adapt for gnome-icon-theme packaging changes * Fri May 17 2013 Orion Poplawski - 7.32.1-2 - Rebuild for hdf5 1.8.11 * Thu Mar 21 2013 Benjamin Gilbert - 7.32.1-1 - New release * Thu Mar 21 2013 Benjamin Gilbert - 7.32.0-4 - Rebuild for cfitsio * Sun Mar 17 2013 Benjamin Gilbert - 7.32.0-3 - Rebuild for ImageMagick * Mon Mar 11 2013 Rex Dieter - 7.32.0-2 - rebuild (OpenEXR) * Thu Mar 07 2013 Benjamin Gilbert - 7.32.0-1 - New release - Remove stray empty file in examples directory * Thu Feb 14 2013 Fedora Release Engineering - 7.30.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Jan 21 2013 Adam Tkac - 7.30.1-3 - rebuild due to "jpeg8-ABI" feature drop * Thu Jan 17 2013 Benjamin Gilbert - 7.30.1-2 - Disable workspace dependency graphs pending graphviz 2.30 support * Sun Oct 21 2012 Benjamin Gilbert - 7.30.1-1 - New release - Switch back to goffice 0.8 for gtk2 - Fix build with flex 2.5.36 - Disable bundled GtkSheet - Minor specfile cleanups * Fri Jul 20 2012 Fedora Release Engineering - 7.28.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jun 07 2012 Adam Jackson 7.28.1-2 - Rebuild for new libmatio * Fri Apr 13 2012 Tom Callaway - 7.28.1-1 - update to 7.28.1 * Mon Jan 16 2012 Adam Goode - 7.26.4-1 - New upstream release (better error messages for print-main) - Fix goffice requirement * Fri Jan 13 2012 Fedora Release Engineering - 7.26.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 06 2011 Adam Jackson - 7.26.3-2 - Rebuild for new libpng * Sat Sep 3 2011 Adam Goode - 7.26.3-1 - New upstream release + New operations + Faster! * Fri Aug 12 2011 Adam Goode - 7.24.2-1 - New upstream release + Workspace as Graph mode + Better nibs in paintbox * Tue Feb 08 2011 Fedora Release Engineering - 7.22.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Sep 29 2010 jkeating - 7.22.2-3 - Rebuilt for gcc bug 634757 * Mon Sep 20 2010 Tom "spot" Callaway - 7.22.2-2 - rebuild for new ImageMagick * Fri Aug 6 2010 Adam Goode - 7.22.2-1 - New upstream release + New image repaint system + Many improvements from new VIPS - Use upstream desktop file * Mon Mar 8 2010 Adam Goode - 7.20.7-4 - Rebuild for imagemagick soname change - Remove some old RPM stuff * Sat Feb 27 2010 Adam Goode - 7.20.7-3 - Rebuild for goffice soname change * Thu Jan 7 2010 Adam Goode - 7.20.7-2 - Enable goffice for charts - Update desktop file * Wed Jan 6 2010 Adam Goode - 7.20.7-1 - New upstream release + Faster image painting + Better progress feedback + GOffice now used to draw charts + Support for newer GTK+ features * Fri Sep 4 2009 Milos Jakubicek - 7.18.2-1 - Fix FTBFS: update to 7.18.2, added nip2-7.18.2-gtk.patch to build with gtk >= 2.17 * Sat Jul 25 2009 Fedora Release Engineering - 7.16.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Mar 10 2009 Adam Goode - 7.16.4-3 - Rebuild for ImageMagick soname change * Wed Feb 25 2009 Fedora Release Engineering - 7.16.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Dec 29 2008 Adam Goode - 7.16.4-1 - New release - Drop upstreamed flex patch * Sat Dec 27 2008 Adam Goode - 7.16.3-3 - Fix build problem related to flex * Mon Dec 22 2008 Adam Goode - 7.16.3-2 - Add gsl-devel and xdg-utils to build requires * Sun Dec 21 2008 Adam Goode - 7.16.3-1 - New release - Update description * Sat Aug 30 2008 Adam Goode - 7.14.5-1 - New release - RPM 4.6 fix for patch tag * Sat Jun 21 2008 Adam Goode - 7.14.4-1 - New release * Sat Mar 15 2008 Adam Goode - 7.14.1-1 - New release * Mon Mar 10 2008 Adam Goode - 7.14.0-1 - New release * Sat Feb 9 2008 Adam Goode - 7.12.5-4 - GCC 4.3 mass rebuild * Wed Dec 5 2007 Adam Goode - 7.12.5-3 - Fix desktop file validation * Tue Oct 16 2007 Adam Goode - 7.12.5-2 - Rebuild for OpenEXR soname change * Fri Sep 21 2007 Adam Goode - 7.12.5-1 - New upstream release * Thu Aug 16 2007 Adam Goode - 7.12.4-1 - New upstream release - Update License tag * Wed Jul 25 2007 Adam Goode - 7.12.2-1 - New stable release 7.12 * Sat May 5 2007 Adam Goode - 7.12.0-1 - New upstream release - Update desktop file - Remove X-Fedora category * Thu Aug 31 2006 Adam Goode - 7.10.21-1 - New upstream release * Sun Aug 13 2006 Adam Goode - 7.10.20-2 - Fix location of documentation in program so help works - Semicolon-terminate Category entry in desktop file * Sat Jul 22 2006 Adam Goode - 7.10.20-1 - New upstream release - Updated for FC5 * Thu Jan 30 2003 John Cupitt 7.8.6-1 - first stab at an rpm package for nip