274 lines
7.8 KiB
RPMSpec
274 lines
7.8 KiB
RPMSpec
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
Name: vips
|
|
Version: 7.22.2
|
|
Release: 1%{?dist}
|
|
Summary: C/C++ library for processing large images
|
|
|
|
Group: System Environment/Libraries
|
|
License: LGPLv2+
|
|
URL: http://www.vips.ecs.soton.ac.uk/
|
|
Source0: http://www.vips.ecs.soton.ac.uk/supported/7.22/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: libjpeg-devel libtiff-devel zlib-devel fftw-devel lcms-devel
|
|
BuildRequires: libpng-devel glib2-devel ImageMagick-devel pango-devel
|
|
BuildRequires: pkgconfig gettext perl(XML::Parser)
|
|
BuildRequires: libtool python-devel libxml2-devel liboil-devel
|
|
BuildRequires: OpenEXR-devel libexif-devel swig matio-devel 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
|
|
Summary: Development files for %{name}
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}, pkgconfig
|
|
Requires: libjpeg-devel libtiff-devel zlib-devel fftw-devel lcms-devel
|
|
Requires: libpng-devel glib2-devel ImageMagick-devel pango-devel
|
|
Requires: libxml2-devel liboil-devel OpenEXR-devel libexif-devel
|
|
|
|
%description devel
|
|
The %{name}-devel package contains the header files and
|
|
libraries necessary for developing programs using VIPS. It also
|
|
contains a C++ API and development man pages.
|
|
|
|
|
|
%package tools
|
|
Summary: Command-line tools for %{name}
|
|
Group: Applications/Multimedia
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description tools
|
|
The %{name}-tools package contains command-line tools for working with VIPS.
|
|
|
|
|
|
%package python
|
|
Summary: Python support for %{name}
|
|
Group: Development/Languages
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description python
|
|
The %{name}-python package contains Python support for VIPS.
|
|
|
|
|
|
%package doc
|
|
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
|
|
find . -name 'CVS' -type d -print0 | xargs -0 rm -rf
|
|
|
|
# make the version string consistent for multiarch
|
|
export FAKE_BUILD_DATE=$(date -r %{SOURCE0})
|
|
sed -i "s/\\(IM_VERSION_STRING=\\)\$IM_VERSION-\`date\`/\\1\"\$IM_VERSION-$FAKE_BUILD_DATE\"/g" \
|
|
configure
|
|
unset FAKE_BUILD_DATE
|
|
|
|
|
|
%build
|
|
%configure --disable-static --enable-gtk-doc
|
|
make %{?_smp_mflags} LIBTOOL=libtool
|
|
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
find $RPM_BUILD_ROOT \( -name '*.la' -o -name '*.a' \) -exec rm -f {} ';'
|
|
|
|
# delete doc (we will get it later with %doc)
|
|
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/doc/vips
|
|
|
|
# locale stuff
|
|
%find_lang vips7
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
%files -f vips7.lang
|
|
%defattr(-,root,root,-)
|
|
%doc AUTHORS NEWS THANKS TODO COPYING ChangeLog
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%{_includedir}/vips
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*
|
|
%{_mandir}/man3/*
|
|
%{_datadir}/gtk-doc
|
|
|
|
|
|
%files tools
|
|
%defattr(-,root,root,-)
|
|
%{_bindir}/*
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
%files python
|
|
%defattr(-,root,root,-)
|
|
%{python_sitearch}/*
|
|
|
|
|
|
%files doc
|
|
%defattr(-,root,root,-)
|
|
%doc doc/html doc/pdf COPYING
|
|
|
|
|
|
|
|
%changelog
|
|
* Fri Aug 6 2010 Adam Goode <adam@spicenitz.org> - 7.22.2-1
|
|
- New upstream release (a few minor fixes)
|
|
|
|
* 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
|
|
|
|
* Sun Dec 28 2008 Adam Goode <adam@spicenitz.org> - 7.16.4-1
|
|
- New release
|
|
|
|
* Sun Dec 21 2008 Adam Goode <adam@spicenitz.org> - 7.16.3-1
|
|
- New release
|
|
- Update description
|
|
|
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 7.14.5-2
|
|
- Rebuild for Python 2.6
|
|
|
|
* Sat Aug 30 2008 Adam Goode <adam@spicenitz.org> - 7.14.5-1
|
|
- New release
|
|
|
|
* Fri Jun 20 2008 Adam Goode <adam@spicenitz.org> - 7.14.4-1
|
|
- New release
|
|
|
|
* 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)
|
|
|
|
* Sat Feb 9 2008 Adam Goode <adam@spicenitz.org> - 7.12.5-5
|
|
- Fix GCC 4.3 build
|
|
|
|
* 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
|
|
|
|
* Mon Oct 15 2007 Adam Goode <adam@spicenitz.org> - 7.12.5-2
|
|
- Rebuild for OpenEXR update
|
|
|
|
* 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
|
|
|
|
* Tue Jul 24 2007 Adam Goode <adam@spicenitz.org> - 7.12.2-1
|
|
- New stable release 7.12
|
|
|
|
* Sat May 5 2007 Adam Goode <adam@spicenitz.org> - 7.12.0-1
|
|
- New upstream release
|
|
|
|
* Thu Aug 31 2006 Adam Goode <adam@spicenitz.org> - 7.10.21-1
|
|
- New upstream release
|
|
|
|
* 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
|