vips/vips.spec

221 lines
5.8 KiB
RPMSpec
Raw Normal View History

2007-05-04 03:32:58 +00:00
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: vips
2008-08-30 18:03:37 +00:00
Version: 7.14.5
Release: 1%{?dist}
2008-11-23 01:12:22 +00:00
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/
2008-03-15 05:19:27 +00:00
Source0: http://www.vips.ecs.soton.ac.uk/supported/7.14/%{name}-%{version}.tar.gz
2008-02-09 07:59:09 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
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)
2007-05-05 18:23:15 +00:00
BuildRequires: libtool python-devel libxml2-devel liboil-devel
BuildRequires: OpenEXR-devel libexif-devel swig
#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
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
2007-05-06 02:14:49 +00:00
Requires: libxml2-devel liboil-devel OpenEXR-devel libexif-devel
%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
contains a C++ API and development man pages.
%package tools
2008-11-23 01:12:22 +00:00
Summary: Command-line tools for %{name}
Group: Applications/Multimedia
Requires: %{name} = %{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
Requires: %{name} = %{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
2007-05-04 03:32:58 +00:00
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
make %{?_smp_mflags} LIBTOOL=libtool
%install
rm -rf $RPM_BUILD_ROOT
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 {} ';'
# delete doc (we will get it later with %doc)
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/doc/vips
# malkovich??
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/locale/malkovich
# locale stuff
%find_lang vips7
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -f vips7.lang
%defattr(-,root,root,-)
2007-05-04 03:32:58 +00:00
%doc AUTHORS NEWS THANKS TODO COPYING ChangeLog
%{_libdir}/*.so.*
%{_datadir}/vips
%files devel
%defattr(-,root,root,-)
%{_includedir}/vips
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%{_mandir}/man3/*
%files tools
2007-05-04 03:32:58 +00:00
%defattr(-,root,root,-)
%{_bindir}/*
%{_mandir}/man1/*
2007-05-04 03:32:58 +00:00
%files python
%defattr(-,root,root,-)
%{python_sitearch}/*
%files doc
2007-05-04 03:32:58 +00:00
%defattr(-,root,root,-)
%doc doc/html doc/pdf
%changelog
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