1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
# Note that this is NOT a relocatable package
%define ver 0.4
%define rel 2
%define prefix /usr
Summary: Color Font rendering lobrary for X11R6
Name: fnlib
Version: %ver
Release: %rel
Copyright: LGPL
Group: X11/Libraries
Source: ftp://www.rasterman.com/pub/enlightenment/libs/fnlib/fnlib-%{ver}.tar.gz
Obsoletes: Fnlib
BuildRoot: /tmp/fnlib-root
Packager: The Rastermnan <raster@redhat.com>
URL: http://www.rasterman.com/
Docdir: %{prefix}/doc
Requires: imlib
%description
Fnlib is a library that provides full scalable 24-bit Color font rendering
abilities for X.
%package devel
Summary: Fnlib headers, static libraries and documentation
Group: X11/Libraries
Requires: fnlib
Obsoletes: Fnlib
%description devel
Headers, static libraries and documentation for Fnlib.
%prep
%setup
%build
libtoolize --copy --force
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
make
%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{prefix} install
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog
* Thu Jan 21 1999 The Rasterman <raster@redhat.com>
- added spec file to CVS
%files
%defattr(-, root, root)
%doc README
%{prefix}/lib/lib*.so.*
%{prefix}/share/fnlib_fonts/*
%files devel
%defattr(-, root, root)
%doc HACKING
%doc doc/index.html
%doc doc/fontinfo.README
%{prefix}/lib/lib*.so
%{prefix}/lib/*a
%{prefix}/include/*
|