Sophie

Sophie

distrib > Mandriva > 2007.0 > x86_64 > media > contrib-release-src > by-pkgid > a25f80781324709681923dbe38d008f2 > files > 2

vips-7.10.21-1mdv2007.0.src.rpm

%define name vips
%define version 7.10.21
%define release %mkrel 1

%define lib_major 10
%define lib_name  %mklibname %{name} %{lib_major}
%define lib_name_orig lib%{name}

Summary: VIPS is a free image processing system
Name: %{name}
Version: %{version}
Release: %{release}
License: LGPL
Group: Video
URL: http://www.vips.ecs.soton.ac.uk/index.php
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: glib2-devel pango-devel
BuildRequires: libpng-devel libjpeg-devel libtiff-devel
BuildRequires: fftw3-devel zlib-devel 
BuildRequires: ImageMagick-devel
BuildRequires: perl-XML-Parser

%description
VIPS is a free image processing system. It aims to be about half-way between
Photoshop and Excel: it is very bad at retouching photographs, but very handy 
for the many other imaging tasks that programs like Photoshop get used for. 
It is good with large images (images larger than the amount of RAM in your 
machine), and for working with colour.

%files -f %{name}7.lang
%defattr(-,root,root,-)
%doc README COPYING AUTHORS NEWS TODO
%{_bindir}/*
%{_datadir}/%{name}

#--------------------------------------------------------------------

%package -n %{lib_name}
Summary:        Main library for vips
Group:          System/Libraries
Provides:       %{name} = %{version}-%{release}

%description -n %{lib_name}
This package contains the library needed to run programs dynamically
linked with vips.

%post -n %{lib_name} -p /sbin/ldconfig
%postun -n %{lib_name} -p /sbin/ldconfig

%files -n %{lib_name}
%defattr(-,root,root,-)
%{_libdir}/*.so.*

#--------------------------------------------------------------------

%package -n %{lib_name}-devel
Summary:        VIPS devel files
Group:          Development/Other
Provides:       %{lib_name_orig}-devel = %{version}-%{release}
Provides:       %{name}-devel = %{version}-%{release}
Requires:	%{lib_name} = %{version}
%define _requires_exceptions  devel\(libpathplan\)\\|devel\(libgvgd\)\\|devel\(libcdt\)\\|devel\(libgraph\)\\|devel\(libgvc\)

%description -n %{lib_name}-devel
This package contains the headers that programmers will need to develop
applications which will use vips.

%files -n %{lib_name}-devel
%defattr(-,root,root,-)
%{_libdir}/libvips*.so
%defattr(644,root,root,755)
%{_includedir}/*
%{_libdir}/libvips*.a
%{_libdir}/libvips*.la
%doc %{_defaultdocdir}/%{name}
%{_libdir}/pkgconfig/*
%{_mandir}/man?/*

#--------------------------------------------------------------------

%prep
%setup -q

%build
%configure
%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
rm -fr $RPM_BUILD_ROOT/%{_datadir}/locale/malkovich
%find_lang %{name}7

%clean
rm -rf $RPM_BUILD_ROOT

%changelog
* Thu Aug 31 2006 Couriousous <couriousous@mandriva.org>
+ 2006-08-31 14:57:07 (59030)
- 7.10.21

* Thu Aug 03 2006 Nicolas Lécureuil <neoclust@mandriva.org>
+ 2006-08-03 18:49:32 (51659)
- Rebuild against new DBUS


* Thu Aug 03 2006 Nicolas Lécureuil <neoclust@mandriva.org>
+ 2006-08-03 13:13:44 (43285)
import vips-7.10.18-3mdk

* Mon Apr 17 2006 Couriousous <couriousous@mandriva.org> 7.10.18-3mdk
- Really fix wrong requires

* Mon Apr 17 2006 Couriousous <couriousous@mandriva.org> 7.10.18-2mdk
- Filter wrong automatic requrie

* Mon Apr 17 2006 Couriousous <couriousous@mandriva.org> 7.10.18-1mdk
- 7.10.18

* Tue Dec 27 2005 Nicolas Lécureuil <neoclust@mandriva.org> 7.10.14-3mdk
- rebuild against new imagemagick

* Sun Oct 02 2005 Nicolas Lécureuil <neoclust@mandriva.org> 7.10.14-2mdk
- BuildRequires fix

* Sat Oct 01 2005 Couriousous <couriousous@mandriva.org> 7.10.14-1mdk
- 7.10.14

* Mon Aug 01 2005 Couriousous <couriousous@mandriva.org> 7.10.10-3mdk
- Enable ImageMagick support

* Sun Jul 17 2005 Couriousous <couriousous@mandriva.org> 7.10.10-2mdk
- Buildconflict with ImageMagick and graphviz

* Sun Jul 17 2005 Couriousous <couriousous@mandriva.org> 7.10.10-1mdk
- From: trem <trem@zarb.org> 
	- Initial build.