Name: libowfat Version: 0.24 Release: 3 Group: Library/Utilities URL: http://cr.yp.to/cdb.html Copyright: GPL version 2 Packager: Blair Lowe Source0: http://dl.fefe.de/libowfat-0.24.tar.gz Summary: a library of general purpose APIs extracted from Dan Bernstein's software, reimplemented Provides: libowfat BuildRoot: /var/tmp/libowfat-root %description a library of general purpose APIs extracted from Dan Bernstein's software, reimplemented. %prep %setup %build make %install # if buildroot is not "/" then remove it to clean up before install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} mkdir -p %{buildroot} pushd %{buildroot} install -d %{buildroot}%{_bindir} install -d %{buildroot}/usr/local/include popd # keep includes in the oldschool local area for diet. make PREFIX=%{buildroot} LIBDIR=%{buildroot}%{_libdir} INCLUDEDIR=%{buildroot}/usr/local/include MAN3DIR=%{buildroot}/opt/diet/man/man3 install %clean # if buildroot is not "/" then remove it to clean up before install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} # Pre/Post-install Scripts ##################################################### %pre %preun # Files List ################################################################### %files %defattr(-,root,root) %doc CHANGES COPYING GNUmakefile Makefile README TODO %defattr(644,root,root) %{_libdir} /usr/local/include %defattr(755,root,root) %dir %{_libdir} %dir /usr/local/include /opt/diet/man/man3 %changelog * Fri Jan 6 2006 Blair Lowe - Version: 0.75-3 - first time packaged - fix /usr/lib attr - move includes back to local for diet (safer there anyhow) * Wed Jan 4 2006 Blair Lowe - Version: 0.75-1 - first time packaged