HI LQers,
as LPI 2 is creeping up I'm messing around with rpmbuild. As there are nice howtos and book on the subject the first package was a brezze but now I'm working on subpackages and wonder which files should go into the a development package. Maybe someone with good understanding of compilation skills can shed some light on this.
Heres my setup right now
Code:
Name: libmcrypt
Summary: new improved version of crypt library
Version: 2.5.7
SOURCE: libmcrypt-2.5.7.tar.gz
License: GPL
Release: 2
Group: support
URL: ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/libmcrypt
BuildRoot: /home/user/downloads/libmcrypt_build
%description
Improved version of crypt library. Supports a dozen of encrpytions
%package devel
Summary: New Improved Version of the Crypt Library. Develepoers version
Group: development
%description devel
%prep
%setup -q
%build
%configure
#make
%install
%makeinstall
%files
%defattr(755,root,root)
/usr/lib64/libmcrypt
/usr/lib64/libmcrypt.so.4
/usr/lib64/libmcrypt.so.4.4.7
%files devel
/usr/include/mcrypt.h
/usr/lib64/libmcrypt.so
/usr/lib64/libmcrypt.la
/usr/bin/libmcrypt-config
/usr/share/aclocal/libmcrypt.m4
%doc /usr/share/man/man3/mcrypt.3.gz
Code:
$ rpm -qlp ./libmcrypt-2.5.7-2.x86_64.rpm
/usr/lib64/libmcrypt
/usr/lib64/libmcrypt.so.4
/usr/lib64/libmcrypt.so.4.4.7
Code:
$ rpm -qlp ./libmcrypt-devel-2.5.7-2.x86_64.rpm
/usr/bin/libmcrypt-config
/usr/include/mcrypt.h
/usr/lib64/libmcrypt.la
/usr/lib64/libmcrypt.so
/usr/share/aclocal/libmcrypt.m4
/usr/share/man/man3/mcrypt.3.gz
I just borrowed this file splitting from libgcrypt on RH4 but am not sure what the libmcryt.la files about.....
I'd be happy about any input