Name: iulib Version: hg_bradh+2009Aug01 Release: 1%{?dist} Summary: Image Understanding Library Group: System Environment/Libraries License: ASL 2.0 URL: http://bitbucket.org/bradh/iulib-bradh/ Source0: iulib-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libpng-devel BuildRequires: libjpeg-devel BuildRequires: libtiff-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool %description Image Understanding library. %package devel Summary: Development tools for programs which will use iulib Group: Development/Libraries Requires: iulib = %{version}-%{release} %description devel The iulib-devel package includes the header files and documentation necessary for developing programs using the iulib library. You'll also need to have the iulib package installed. %package static Summary: Static library version of iulib Group: Development/Libraries Requires: iulib = %{version}-%{release} Requires: iulib-devel = %{version}-%{release} %description static The iulib-static package includes the static library version of the iulib library. You'll also need to have the iulib-devel package installed if you want the headers. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc README TODO COPYING %{_libdir}/libiulib.so.* %files devel %defattr(-,root,root,-) %doc /usr/include/iulib/*.h /usr/include/colib/*.h %{_libdir}/libiulib.so %{_libdir}/pkgconfig/*.pc %files static %defattr(-,root,root,-) %doc %{_libdir}/libiulib.a %changelog * Sat Aug 01 2009 Brad Hards - hg_bradh+2009Aug01-1 - Initial version.