I am having the same problem when I attempt to use rpm-build on proftpd 1.3.3d and the .spec file that comes with it. Did you find a solution?
I am building on CentOS 5.5 x64.
Here are the last file lines of the output from rpmbuild:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/proftpd-1.3.3d-root
error: Installed (but unpackaged) file(s) found:
RPM build errors:
File not found by glob: /var/tmp/proftpd-1.3.3d-root/usr/lib64/proftpd/*.pc
Installed (but unpackaged) file(s) found:
This is the rpmbuild command i've used:
rpmbuild -ba --with mod_ctrls --with mod_tls --with ctrls --with dso --with nls --with mod_sftp --with mod_vroot proftpd.spec
While attempting to investigate the issue I found the file:/var/tmp/proftpd-1.3.3d-root/usr/lib/pkgconfig/proftpd.pc
and the directory:/var/tmp/proftpd-1.3.3d-root/usr/lib64/proftpd/
but the directory is empty.
I tried copying the proftpd.pc from the /var/tmp/proftpd-1.3.3d-root/usr/lib/pkgconfig/
and running rpmbuild again, but the build process must have deleted and recreated the contents of the /var/tmp/proftpd-1.3.3d-root/
I grep'ed for proftpd.pc in the proftpd-1.3.3d source and found on line 381 of the configure.in file :
dnl Configurable location of the pkgconfig file
[configure directory that will contain the proftpd.pc pkgconfig file (default=lib/pkgconfig)])
if test x"$withval" != x; then
Can those lines be modified to fix this issue? I tried copying proftpd.pc to /tmp and setting the pkgconfigdir=NONE
line to pkgconfigdir=/tmp/proftpd.pc
but that didn't help. I don't know didlly squat about autoconf and looking at the documentation for autoconf makes me think it's scary beast.
I successfully built the proftpd 1.3.3d rpms on a 32bit CentOS 5.5 machine.