vips/vips.spec

465 lines
14 KiB
RPMSpec
Raw Normal View History

2014-06-29 15:59:00 -04:00
%global vips_version_base 7.40
2014-08-12 01:41:17 -04:00
%global vips_version %{vips_version_base}.5
2014-06-29 15:59:00 -04:00
%global vips_soname_major 38
Name: vips
2014-06-29 15:59:00 -04:00
Version: %{vips_version}
2014-07-26 00:57:19 -04:00
Release: 1%{?dist}
Summary: C/C++ library for processing large images
Group: System Environment/Libraries
2007-08-17 00:27:04 +00:00
License: LGPLv2+
URL: http://www.vips.ecs.soton.ac.uk/
2014-06-29 15:59:00 -04:00
Source0: http://www.vips.ecs.soton.ac.uk/supported/%{vips_version_base}/%{name}-%{version}.tar.gz
2008-02-09 07:59:09 +00:00
2011-08-12 14:02:57 -04:00
BuildRequires: pkgconfig(glib-2.0)
2012-10-15 00:54:38 -04:00
BuildRequires: pkgconfig(gobject-introspection-1.0)
2011-08-12 14:02:57 -04:00
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(MagickWand)
BuildRequires: pkgconfig(orc-0.4)
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(OpenEXR)
BuildRequires: pkgconfig(matio)
BuildRequires: pkgconfig(cfitsio)
BuildRequires: pkgconfig(pangoft2)
2013-01-17 00:26:55 -05:00
BuildRequires: pkgconfig(zlib)
2011-08-12 14:02:57 -04:00
BuildRequires: pkgconfig(libpng)
2012-10-15 00:54:38 -04:00
BuildRequires: pkgconfig(libtiff-4)
2013-11-13 04:08:28 -05:00
BuildRequires: pkgconfig(libwebp)
2011-08-12 14:02:57 -04:00
BuildRequires: pkgconfig(libexif)
2012-04-12 20:12:53 -04:00
BuildRequires: pkgconfig(openslide)
2014-06-29 15:59:00 -04:00
BuildRequires: pkgconfig(libgsf-1)
2011-08-12 14:02:57 -04:00
2013-01-17 00:26:55 -05:00
BuildRequires: libjpeg-turbo-devel
2011-08-12 14:02:57 -04:00
BuildRequires: pkgconfig gettext
2012-10-15 00:54:38 -04:00
BuildRequires: python-devel
2011-08-12 14:02:57 -04:00
BuildRequires: swig gtk-doc
#Requires:
%description
VIPS is an image processing library. It is good for very large images
(even larger than the amount of RAM in your machine), and for working
with color.
This package should be installed if you want to use a program compiled
against VIPS.
%package devel
2008-11-23 01:12:22 +00:00
Summary: Development files for %{name}
Group: Development/Libraries
2011-08-12 14:02:57 -04:00
Requires: libjpeg-devel%{?_isa} libtiff-devel%{?_isa} zlib-devel%{?_isa}
2012-10-15 00:54:38 -04:00
Requires: vips%{?_isa} = %{version}-%{release}
%description devel
2007-05-04 03:32:58 +00:00
The %{name}-devel package contains the header files and
libraries necessary for developing programs using VIPS. It also
2013-08-05 22:49:58 -04:00
contains a C++ API and development documentation.
%package tools
2008-11-23 01:12:22 +00:00
Summary: Command-line tools for %{name}
Group: Applications/Multimedia
2012-10-15 00:54:38 -04:00
Requires: vips%{?_isa} = %{version}-%{release}
%description tools
2007-05-04 03:32:58 +00:00
The %{name}-tools package contains command-line tools for working with VIPS.
%package python
2008-11-23 01:12:22 +00:00
Summary: Python support for %{name}
2007-05-04 03:32:58 +00:00
Group: Development/Languages
2012-10-15 00:54:38 -04:00
Requires: vips%{?_isa} = %{version}-%{release}
2007-05-04 03:32:58 +00:00
%description python
The %{name}-python package contains Python support for VIPS.
%package doc
2008-11-23 01:12:22 +00:00
Summary: Documentation for %{name}
Group: Documentation
Conflicts: %{name} < %{version}-%{release}, %{name} > %{version}-%{release}
%description doc
The %{name}-doc package contains extensive documentation about VIPS in both
HTML and PDF formats.
%prep
%setup -q
# make the version string consistent for multiarch
export FAKE_BUILD_DATE=$(date -r %{SOURCE0})
2014-06-29 15:59:00 -04:00
sed -i "s/\\(VIPS_VERSION_STRING=\\)\$VIPS_VERSION-\`date\`/\\1\"\$VIPS_VERSION-$FAKE_BUILD_DATE\"/g" \
configure
unset FAKE_BUILD_DATE
2013-03-07 01:46:10 -05:00
# Avoid setting RPATH to /usr/lib64 on 64-bit builds
# The DIE_RPATH_DIE trick breaks the build wrt gobject-introspection
sed -i 's|sys_lib_dlsearch_path_spec="|sys_lib_dlsearch_path_spec="/%{_lib} %{_libdir} |' configure
2013-03-07 21:04:11 -05:00
%build
%configure --disable-static --enable-gtk-doc
2012-10-15 00:54:38 -04:00
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
2007-05-04 03:32:58 +00:00
find $RPM_BUILD_ROOT \( -name '*.la' -o -name '*.a' \) -exec rm -f {} ';'
2012-10-15 00:54:38 -04:00
# delete doc (we will get it later with %%doc)
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/doc/vips
# locale stuff
2014-06-29 15:59:00 -04:00
%find_lang vips%{vips_version_base}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
2014-06-29 15:59:00 -04:00
%files -f vips%{vips_version_base}.lang
2007-05-04 03:32:58 +00:00
%doc AUTHORS NEWS THANKS TODO COPYING ChangeLog
2014-06-29 15:59:00 -04:00
%{_libdir}/*.so.%{vips_soname_major}*
2012-10-15 00:54:38 -04:00
%{_libdir}/girepository-1.0
%files devel
%{_includedir}/vips
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
2012-10-15 00:54:38 -04:00
%{_datadir}/gir-1.0
%{_datadir}/gtk-doc
%files tools
%{_bindir}/*
%{_mandir}/man1/*
2007-05-04 03:32:58 +00:00
%files python
%{python_sitearch}/*
%files doc
2010-07-27 17:34:25 +00:00
%doc doc/html doc/pdf COPYING
%changelog
2014-08-12 01:41:17 -04:00
* Tue Aug 12 2014 Benjamin Gilbert <bgilbert@backtick.net> - 7.40.5-1
- New release
2014-07-26 00:57:19 -04:00
* Sat Jul 26 2014 Benjamin Gilbert <bgilbert@backtick.net> - 7.40.4-1
- New release
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 7.40.3-2
- Rebuilt for gobject-introspection 1.41.4
2014-07-08 00:26:18 -04:00
* Tue Jul 08 2014 Benjamin Gilbert <bgilbert@backtick.net> - 7.40.3-1
- New release
2014-06-29 15:59:00 -04:00
* Sun Jun 29 2014 Benjamin Gilbert <bgilbert@backtick.net> - 7.40.2-1
- New release
- Add libgsf dependency
- Fix version string consistency across architectures
- Use macros for package and soname versions
2014-06-21 23:25:35 -04:00
* Sun Jun 22 2014 Benjamin Gilbert <bgilbert@backtick.net> - 7.38.6-1
- New release
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.38.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-03-31 19:28:26 -04:00
* Mon Mar 31 2014 Benjamin Gilbert <bgilbert@backtick.net> - 7.38.5-2
- Rebuild for ImageMagick
2014-03-25 21:45:33 -04:00
* Wed Mar 26 2014 Benjamin Gilbert <bgilbert@backtick.net> - 7.38.5-1
- New release
2014-01-21 00:43:56 -05:00
* Tue Jan 21 2014 Benjamin Gilbert <bgilbert@backtick.net> - 7.38.1-1
- New release
2014-01-09 14:04:16 -05:00
* Thu Jan 09 2014 Benjamin Gilbert <bgilbert@backtick.net> - 7.36.5-3
- Rebuild for cfitsio
2014-01-02 06:27:58 -05:00
* Thu Jan 02 2014 Benjamin Gilbert <bgilbert@backtick.net> - 7.36.5-2
- Rebuild for libwebp
2013-12-22 23:30:34 -05:00
* Mon Dec 23 2013 Benjamin Gilbert <bgilbert@backtick.net> - 7.36.5-1
- New release
2013-11-28 07:13:16 -06:00
* Thu Nov 28 2013 Rex Dieter <rdieter@fedoraproject.org> 7.36.3-2
- rebuild (openexr)
2013-11-13 04:08:28 -05:00
* Wed Nov 13 2013 Benjamin Gilbert <bgilbert@backtick.net> - 7.36.3-1
- New release
- BuildRequire libwebp
2013-10-05 01:19:47 -04:00
* Sat Oct 05 2013 Benjamin Gilbert <bgilbert@backtick.net> - 7.36.0-1
- New release
2013-09-10 01:28:06 -04:00
* Tue Sep 10 2013 Benjamin Gilbert <bgilbert@backtick.net> - 7.34.2-2
- Rebuild for ilmbase 2.0
2013-08-05 22:49:58 -04:00
* Tue Aug 06 2013 Benjamin Gilbert <bgilbert@backtick.net> - 7.34.2-1
- New release
- Update -devel description: there are no man pages anymore
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.34.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-11 22:32:28 -06:00
* Thu Jul 11 2013 Orion Poplawski <orion@cora.nwra.com> - 7.34.0-2
- Rebuild for cfitsio 3.350
2013-06-29 02:58:30 -04:00
* Sat Jun 29 2013 Benjamin Gilbert <bgilbert@backtick.net> - 7.34.0-1
- New release
2013-06-28 18:25:27 +02:00
* Fri Jun 28 2013 Kalev Lember <kalevlember@gmail.com> - 7.32.4-2
- Rebuilt with libpng 1.6
2013-06-12 23:44:03 -04:00
* Thu Jun 13 2013 Benjamin Gilbert <bgilbert@backtick.net> - 7.32.4-1
- New release
2013-05-16 13:27:11 -06:00
* Thu May 16 2013 Orion Poplawski <orion@cora.nwra.com> - 7.32.3-2
- Rebuild for hdf5 1.8.11
2013-04-26 21:09:06 -04:00
* Fri Apr 26 2013 Benjamin Gilbert <bgilbert@backtick.net> - 7.32.3-1
- New release
2013-03-21 21:02:09 -04:00
* Thu Mar 21 2013 Benjamin Gilbert <bgilbert@backtick.net> - 7.32.1-1
- New release
2013-03-20 20:32:36 -04:00
* Thu Mar 21 2013 Benjamin Gilbert <bgilbert@backtick.net> - 7.32.0-4
- Rebuild for cfitsio
2013-03-17 16:25:15 -04:00
* Sun Mar 17 2013 Benjamin Gilbert <bgilbert@backtick.net> - 7.32.0-3
- Rebuild for ImageMagick
2013-03-10 16:19:41 -05:00
* Sun Mar 10 2013 Rex Dieter <rdieter@fedoraproject.org> 7.32.0-2
- rebuild (OpenEXR)
2013-03-07 01:46:10 -05:00
* Thu Mar 07 2013 Benjamin Gilbert <bgilbert@backtick.net> - 7.32.0-1
- New release
- Stop setting rpath on 64-bit builds
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.30.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Jan 21 2013 Adam Tkac <atkac redhat com> - 7.30.7-2
- rebuild due to "jpeg8-ABI" feature drop
2013-01-17 00:26:55 -05:00
* Thu Jan 17 2013 Benjamin Gilbert <bgilbert@backtick.net> - 7.30.7-1
- New release
- Modify %%files glob to catch accidental soname bumps
- Update BuildRequires
2012-11-14 19:56:38 -05:00
* Wed Nov 14 2012 Benjamin Gilbert <bgilbert@backtick.net> - 7.30.5-1
- New release
2012-10-15 00:54:38 -04:00
* Mon Oct 15 2012 Benjamin Gilbert <bgilbert@backtick.net> - 7.30.3-1
- New release
- Enable gobject introspection
- Add versioned dependency on base package
- Minor specfile cleanups
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.28.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-06-07 14:10:04 -04:00
* Thu Jun 07 2012 Adam Jackson <ajax@redhat.com> 7.28.2-2
- Rebuild for new libmatio
2012-04-12 20:12:53 -04:00
* Fri Apr 13 2012 Adam Goode <adam@spicenitz.org> - 7.28.2-1
- New upstream release
* libvips rewrite
* OpenSlide support
* better jpeg, png, tiff support
* sequential mode read
* operation cache
2012-01-16 09:35:00 -05:00
* Mon Jan 16 2012 Adam Goode <adam@spicenitz.org> - 7.26.7-1
- New upstream release
* Minor fixes, mostly with reading and writing
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.26.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-12-06 01:25:36 -05:00
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 7.26.3-2
- Rebuild for new libpng
2011-09-03 00:17:04 -04:00
* Sat Sep 3 2011 Adam Goode <adam@spicenitz.org> - 7.26.3-1
- New upstream release
* More permissive operators
* Better TIFF, JPEG, PNG, FITS support
* VIPS rewrite!
2011-08-12 14:04:15 -04:00
* Fri Aug 12 2011 Adam Goode <adam@spicenitz.org> - 7.24.7-2
- Clean up Requires and BuildRequires
2011-08-10 22:58:14 -04:00
* Wed Aug 10 2011 Adam Goode <adam@spicenitz.org> - 7.24.7-1
- New upstream release
2011-02-15 00:00:59 -05:00
* Mon Feb 14 2011 Adam Goode <adam@spicenitz.org> - 7.24.2-1
- New upstream release
* Run-time code generation, for 4x speedup in some operations
* Open via disc mode, saving memory
* FITS supported
* Improved TIFF and JPEG load
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.22.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2011-08-12 14:09:38 -04:00
* Tue Oct 05 2010 jkeating - 7.22.2-1.2
- Rebuilt for gcc bug 634757
2010-09-29 15:26:59 -07:00
* Wed Sep 29 2010 jkeating - 7.22.2-3
- Rebuilt for gcc bug 634757
2010-09-20 00:06:17 +02:00
* Mon Sep 20 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 7.22.2-2
- rebuild against ImageMagick
2010-09-17 12:27:15 -05:00
* Fri Sep 17 2010 Rex Dieter <rdieter@fedoraproject.org> - 7.22.2-1.1
- rebuild (ImageMagick)
2010-08-06 09:17:40 -04:00
* Fri Aug 6 2010 Adam Goode <adam@spicenitz.org> - 7.22.2-1
- New upstream release (a few minor fixes)
2010-07-27 17:34:25 +00:00
* Tue Jul 27 2010 Adam Goode <adam@spicenitz.org> - 7.22.1-2
- Add COPYING to doc subpackage
* Tue Jul 27 2010 Adam Goode <adam@spicenitz.org> - 7.22.1-1
- New upstream release
+ More revision of VIPS library
+ New threading system
+ New command-line program, vipsthumbnail
+ Improved interpolators
+ German translation
+ PFM (portable float map) image format read and write
+ Much lower VM use with many small images open
+ Rewritten flood-fill
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 7.20.7-4
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
* Tue Jun 15 2010 Adam Goode <adam@spicenitz.org> - 7.20.7-3
- Don't require gtk-doc anymore (resolves #604421)
* Sun Mar 7 2010 Adam Goode <adam@spicenitz.org> - 7.20.7-2
- Rebuild for imagemagick soname change
- Remove some old RPM stuff
* Tue Feb 2 2010 Adam Goode <adam@spicenitz.org> - 7.20.7-1
- New upstream release
+ C++ and Python bindings now have support for deprecated functions
+ Bugfixes for YCbCr JPEG TIFF files
* Wed Jan 6 2010 Adam Goode <adam@spicenitz.org> - 7.20.6-1
- New upstream release
+ About half of the VIPS library has been revised
+ Now using gtk-doc
+ Better image file support
+ MATLAB file read supported
+ New interpolation system
+ Support for Radiance files
* Fri Sep 4 2009 Milos Jakubicek <xjakub@fi.muni.cz> - 7.18.2-1
- Update to 7.18.2 to sync with fixed nip2 FTBFS.
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.16.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Tue Mar 10 2009 Adam Goode <adam@spicenitz.org> - 7.16.4-3
- Rebuild for ImageMagick soname change
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.16.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-12-29 03:44:40 +00:00
* Sun Dec 28 2008 Adam Goode <adam@spicenitz.org> - 7.16.4-1
- New release
2008-12-22 04:27:15 +00:00
* Sun Dec 21 2008 Adam Goode <adam@spicenitz.org> - 7.16.3-1
- New release
- Update description
2008-11-29 17:35:09 +00:00
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 7.14.5-2
- Rebuild for Python 2.6
2008-08-30 18:03:37 +00:00
* Sat Aug 30 2008 Adam Goode <adam@spicenitz.org> - 7.14.5-1
- New release
2008-06-21 03:54:39 +00:00
* Fri Jun 20 2008 Adam Goode <adam@spicenitz.org> - 7.14.4-1
- New release
2008-03-15 05:19:27 +00:00
* Sat Mar 15 2008 Adam Goode <adam@spicenitz.org> - 7.14.1-1
- New release
* Mon Mar 10 2008 Adam Goode <adam@spicenitz.org> - 7.14.0-1
- New release
- Remove GCC 4.3 patch (upstream)
2008-02-09 07:59:09 +00:00
* Sat Feb 9 2008 Adam Goode <adam@spicenitz.org> - 7.12.5-5
- Fix GCC 4.3 build
2008-02-09 06:45:49 +00:00
* Sat Feb 9 2008 Adam Goode <adam@spicenitz.org> - 7.12.5-4
- GCC 4.3 mass rebuild
* Tue Oct 23 2007 Adam Goode <adam@spicenitz.org> - 7.12.5-3
- Eliminate build differences in version.h to work on multiarch
2007-10-16 02:59:15 +00:00
* Mon Oct 15 2007 Adam Goode <adam@spicenitz.org> - 7.12.5-2
- Rebuild for OpenEXR update
2007-09-22 03:08:08 +00:00
* Fri Sep 21 2007 Adam Goode <adam@spicenitz.org> - 7.12.5-1
- New upstream release
* Thu Aug 16 2007 Adam Goode <adam@spicenitz.org> - 7.12.4-2
- Add Conflicts for doc
- Update doc package description
* Thu Aug 16 2007 Adam Goode <adam@spicenitz.org> - 7.12.4-1
- New upstream release
- Update License tag
2007-07-25 03:33:59 +00:00
* Tue Jul 24 2007 Adam Goode <adam@spicenitz.org> - 7.12.2-1
- New stable release 7.12
2007-05-06 02:14:49 +00:00
* Sat May 5 2007 Adam Goode <adam@spicenitz.org> - 7.12.0-1
2007-05-04 03:32:58 +00:00
- New upstream release
2006-09-01 03:10:16 +00:00
* Thu Aug 31 2006 Adam Goode <adam@spicenitz.org> - 7.10.21-1
- New upstream release
2006-07-28 04:18:45 +00:00
* Fri Jul 28 2006 Adam Goode <adam@spicenitz.org> - 7.10.20-3
- Include results of running automake in the patch for undefined symbols
- No longer run automake or autoconf (autoconf was never actually necessary)
* Mon Jul 24 2006 Adam Goode <adam@spicenitz.org> - 7.10.20-2
- Eliminate undefined non-weak symbols in libvipsCC.so
* Fri Jul 21 2006 Adam Goode <adam@spicenitz.org> - 7.10.20-1
- New upstream release
- Updated for FC5
* Tue Dec 14 2004 John Cupitt <john.cupitt@ng-london.org.uk> 7.10.8
- updated for 7.10.8
- now updated from configure
- implicit deps and files
* Wed Jul 16 2003 John Cupitt <john.cupitt@ng-london.org.uk> 7.8.10
- updated for 7.8.10
- updated %%files
- copies formatted docs to install area
* Wed Mar 12 2003 John Cupitt <john.cupitt@ng-london.org.uk> 7.8.8
- updated for 7.8.8, adding libdrfftw
* Mon Feb 3 2003 John Cupitt <john.cupitt@ng-london.org.uk> 7.8.7-2
- hack to change default install prefix to /usr/local
* Thu Jan 30 2003 John Cupitt <john.cupitt@ng-london.org.uk> 7.8.7-1
- first stab at an rpm package for vips