## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: nip2 Version: 8.9.1 Release: %autorelease Summary: Interactive tool for working with large images License: GPL-2.0-or-later URL: https://libvips.github.io/libvips/ Source0: https://github.com/libvips/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz BuildRequires: make BuildRequires: pkgconfig(vips) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libxml-2.0) 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 # AppStream spec changed its install directory mv $RPM_BUILD_ROOT%{_datadir}/appdata $RPM_BUILD_ROOT%{_datadir}/metainfo # 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 # metainfo appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/nip2.appdata.xml # desktop file desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/nip2.desktop %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}/metainfo/nip2.appdata.xml %{_datadir}/applications/nip2.desktop %{_datadir}/mime/packages/nip2.xml %changelog ## START: Generated by rpmautospec * Sat Nov 02 2024 Adam Goode - 8.9.1-1 - Update nip2 to 8.9.1 - New upstream release (rhbz 2170560) - Use autochangelog and autorelease * Thu Jul 25 2024 Miroslav Suchý - 8.7.1-21 - convert GPLv2+ license to SPDX * Thu Jul 18 2024 Fedora Release Engineering - 8.7.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 30 2024 Software Management Team - 8.7.1-19 - Eliminate use of obsolete %%patchN syntax (#2283636) * Thu Jan 25 2024 Fedora Release Engineering - 8.7.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 8.7.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 8.7.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 8.7.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Aug 23 2022 Mamoru TASAKA - 8.7.1-14 - Avoid using bool keyword * Tue Aug 23 2022 Mamoru TASAKA - 8.7.1-13 - Rebuild for gsl-2.7.1 * Fri Jul 22 2022 Fedora Release Engineering - 8.7.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 8.7.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 8.7.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 8.7.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Jan 07 2021 Tom Stellard - 8.7.1-8 - Add BuildRequires: make * Tue Jul 28 2020 Fedora Release Engineering - 8.7.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Apr 09 2020 Adam Goode - 8.7.1-6 - Remove goffice requirement, the package was retired * Wed Jan 29 2020 Fedora Release Engineering - 8.7.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Aug 20 2019 Susi Lehtola - 8.7.1-4 - Rebuilt for GSL 2.6. * Thu Jul 25 2019 Fedora Release Engineering - 8.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 8.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 14 2019 Benjamin Gilbert - 8.7.1-1 - 8.7.1 * Fri Jan 11 2019 Benjamin Gilbert - 8.7.0-3 - Fix segfault at startup * Fri Jan 11 2019 Benjamin Gilbert - 8.7.0-2 - Drop obsolete tarball * Fri Oct 05 2018 Benjamin Gilbert - 8.7.0-1 - 8.7.0 * Fri Jul 13 2018 Fedora Release Engineering - 8.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 8.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 18 2018 Igor Gnatenko - 8.6.0-2 - Remove obsolete scriptlets * Sun Dec 17 2017 Benjamin Gilbert - 8.6.0-1 - 8.6.0 * Thu Nov 23 2017 Benjamin Gilbert - 8.5.1-4 - Move appdata to metainfo dir per policy * Thu Aug 03 2017 Fedora Release Engineering - 8.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Benjamin Gilbert - 8.5.1-2 - Rebuild for gsl 2.4 * Sat Jun 17 2017 Benjamin Gilbert - 8.5.1-1 - 8.5.1 * Fri Feb 10 2017 Fedora Release Engineering - 8.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun Sep 25 2016 Benjamin Gilbert - 8.4.0-3 - Update icon scriptlet to current policy * Sun Sep 25 2016 Benjamin Gilbert - 8.4.0-2 - Drop scriptlets obsoleted for F25 * Sun Sep 25 2016 Benjamin Gilbert - 8.4.0-1 - 8.4.0 * Sat May 21 2016 Benjamin Gilbert - 8.3.0-1 - 8.3.0 * 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 - 8.2 * Wed Jun 17 2015 Dennis Gilmore - 8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed May 06 2015 Benjamin Gilbert - 8.0-1 - 8.0 * Tue Dec 30 2014 Benjamin Gilbert - 7.42.1-1 - 7.42.1 * Mon Dec 29 2014 Benjamin Gilbert - 7.42.0-2 - Remember to link with fftw3 * Sun Dec 28 2014 Benjamin Gilbert - 7.42.0-1 - 7.42.0 * Wed Dec 24 2014 Benjamin Gilbert - 7.40.4-3 - Minor cleanups * Wed Nov 26 2014 Rex Dieter - 7.40.4-2 - 7.40.4-2 - rebuild (vips) - fix icon/mime scriptlets - validate appdata * Thu Sep 25 2014 Benjamin Gilbert - 7.40.4-1 - 7.40.4 * Sun Aug 17 2014 Peter Robinson - 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 - 7.40.3 * Tue Jul 08 2014 Benjamin Gilbert - 7.40.2-1 - 7.40.2 * Sun Jun 29 2014 Benjamin Gilbert - 7.40.1-1 - 7.40.1 * Sun Jun 22 2014 Benjamin Gilbert - 7.38.3-1 - 7.38.3 * Sat Jun 07 2014 Dennis Gilmore - 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 - 7.38.1 * Sun Jan 19 2014 Benjamin Gilbert - 7.36.5-4 - Trim sources and gitignore * 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 - 7.36.5 * Thu Nov 28 2013 Rex Dieter - 7.36.4-2 - rebuild (openexr) * Wed Nov 13 2013 Benjamin Gilbert - 7.36.4-1 - 7.36.4 * Sat Oct 05 2013 Benjamin Gilbert - 7.36.0-1 - 7.36.0 * Tue Sep 10 2013 Benjamin Gilbert - 7.34.1-4 - Rebuild for ilmbase 2.0 * Sat Aug 03 2013 Dennis Gilmore - 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 - 7.34.1 * Sat Jun 29 2013 Benjamin Gilbert - 7.34.0-1 - 7.34.0 * 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 * Fri Mar 22 2013 Benjamin Gilbert - 7.32.1-1 - 7.32.1 * 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 - 7.32.0-1 * Thu Feb 14 2013 Dennis Gilmore - 7.30.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Jan 21 2013 Adam Tkac - 7.30.1-7 - Rebuild due to "jpeg8-ABI" feature drop * Fri Jan 18 2013 Benjamin Gilbert - 7.30.1-6 - Disable libgvc pending graphviz 2.30 support * Thu Jan 17 2013 Benjamin Gilbert - 7.30.1-5 - Rebuild for graphviz 2.30 * Sun Oct 21 2012 Benjamin Gilbert - 7.30.1-4 - Delete bundled GtkSheet in %%prep per policy * Sat Oct 20 2012 Benjamin Gilbert - 7.30.1-3 - Disable bundled GtkSheet * Thu Oct 18 2012 Benjamin Gilbert - 7.30.1-2 - Fix build with flex 2.5.36 * Mon Oct 15 2012 Benjamin Gilbert - 7.30.1-1 - 7.30.1 * Fri Jul 20 2012 Dennis Gilmore - 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, rebuild for ImageMagick * Mon Jan 16 2012 Adam Goode - 7.26.4-1 - 7.26.4 * Fri Jan 13 2012 Dennis Gilmore - 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 03 2011 Adam Goode - 7.26.3-1 - New upstream release * Fri Aug 12 2011 Adam Goode - 7.24.2-1 - Update to new version and clean up spec file * Wed Feb 09 2011 Dennis Gilmore - 7.22.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Sep 29 2010 Jesse Keating - 7.22.2-6 - Rebuilt for gcc bug 634757 * Sun Sep 19 2010 Tom "spot" Callaway - 7.22.2-5 - Rebuild for new ImageMagick * Fri Aug 06 2010 Adam Goode - 7.22.2-4 - Remove %%doc from comment * Fri Aug 06 2010 Adam Goode - 7.22.2-3 - Remove %%clean * Fri Aug 06 2010 Adam Goode - 7.22.2-2 - Use upstream desktop file * Fri Aug 06 2010 Adam Goode - 7.22.2-1 - Update to 7.22.2 * Thu Jul 29 2010 Fedora Release Engineering - 7.20.7-5 - dist-git conversion * Mon Mar 08 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 07 2010 Adam Goode - 7.20.7-2 - Enable goffice for charts - Update desktop file * Thu Jan 07 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 * Wed Nov 25 2009 Bill Nottingham - 7.18.2-2 - Fix typo that causes a failure to update the common directory. (releng #2781) * Fri Sep 04 2009 Miloš Jakubíček - 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 Jesse Keating - 7.16.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Mar 11 2009 Adam Goode - 7.16.4-3 - Rebuild for ImageMagick soname change * Thu Feb 26 2009 Jesse Keating - 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 * Sun Dec 28 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 * Mon Dec 22 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 * Wed Mar 12 2008 Adam Goode - 7.14.0-1 - New release * Sat Feb 09 2008 Adam Goode - 7.12.5-4 - GCC 4.3 mass rebuild * Thu Dec 06 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 * Sat Sep 22 2007 Adam Goode - 7.12.5-1 - New upstream release * Fri Aug 17 2007 Adam Goode - 7.12.4-2 - update doc * Fri Aug 17 2007 Adam Goode - 7.12.4-1 - new sources * Wed Jul 25 2007 Adam Goode - 7.12.2-1 - new stable * Sun May 06 2007 Adam Goode - 7.12.0-4 - fix CVS stuff and extra desktop file * Sat May 05 2007 Adam Goode - 7.12.0-3 - changelog * Sat May 05 2007 Adam Goode - 7.12.0-2 - synchronize desktop * Sat May 05 2007 Adam Goode - 7.12.0-1 - update * Fri Sep 01 2006 Adam Goode - 7.10.21-2 - rebuilt * Fri Sep 01 2006 Adam Goode - 7.10.21-1 - new upstream * Sun Aug 27 2006 Ville Skyttä - 7.10.20-3 - http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild * Mon Aug 14 2006 Adam Goode - 7.10.20-2 - fix help location in program, add semicolon to Category entry * Tue Aug 01 2006 Adam Goode - 7.10.20-1 - auto-import nip2-7.10.20-1 on branch devel from nip2-7.10.20-1.src.rpm ## END: Generated by rpmautospec