provide RPM specfile
Brought to you by:
rgamble
This patch against 1.0.0 provides an RPM specfile. Slight changes were made to the Makefile.
If backwards compatibility is desired for the Makefile, the following would require less change to the Makefile but allow smooth interaction with RPM and other systems using GNU-standard installation directories:
DESTDIR=
prefix=$(DESTDIR)/usr
libdir=$(prefix)/lib
includedir=$(prefix)/include
mandir=$(prefix)/share/man
LIBDIR=$(libdir)
INCDIR=$(includedir)
MANDIR=$(mandir)/man3
...and the rest of the Makefile should remain unchanged if this alternate setup is desired.
better patch against 1.0.0
Logged In: YES
user_id=259388
Originator: YES
Improved patch. The previous patch provides a specfile that includes /usr/share/man, a definite no-no.
Also, allow Makefile access to RPM's default optimization flags.
File Added: libcsv-1.0.0-newbuild2.patch.gz