Name: libharu Version: 2.1.0 Release: 1%{?dist} Summary: C library for generating PDF files Group: System Environment/Libraries License: zlib with acknowledgement URL: http://libharu.org Source0: http://libharu.org/files/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: glibc-headers BuildRequires: libpng-devel BuildRequires: zlib-devel %description libHaru is a library for generating PDF files. It is free, open source, written in ANSI C and cross platform. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %build %configure --disable-static 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 INSTALL CHANGES %{_libdir}/*.so %files devel %defattr(-,root,root,-) %doc README INSTALL CHANGES doc %{_includedir}/* %changelog * Sat Mar 20 2010 Alex71 2.1.0-1 - First release for Fedora