fix rpm with .pc install, from Brian

This commit is contained in:
toddouska 2013-08-06 11:29:37 -07:00
parent 831d9cf640
commit 427a421ec5
6 changed files with 8 additions and 3 deletions

2
.gitignore vendored
View File

@ -68,7 +68,7 @@ cyassl*rc*
autoscan.log
TAGS
.DS_Store
support/libcyassl.pc
support/cyassl.pc
cyassl/ctaocrypt/stamp-h1
swig/_cyassl.so
swig/cyassl.py

View File

@ -46,6 +46,7 @@ include doc/include.am
include swig/include.am
include src/include.am
include support/include.am
include ctaocrypt/benchmark/include.am
include ctaocrypt/src/include.am
include ctaocrypt/test/include.am
@ -100,6 +101,7 @@ maintainer-clean-local:
-rm m4/ltsugar.m4
-rm m4/ltversion.m4
-rm m4/lt~obsolete.m4
-rm support/cyassl.pc
find . -type f -name '*~' -exec rm -f '{}' \;
-rm -f @PACKAGE@-*.tar.gz
-rm -f @PACKAGE@-*.rpm

View File

@ -1366,7 +1366,7 @@ AC_CONFIG_FILES([stamp-h], [echo timestamp > stamp-h])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([cyassl/version.h])
AC_CONFIG_FILES([cyassl/options.h])
AC_CONFIG_FILES([support/libcyassl.pc])
AC_CONFIG_FILES([support/cyassl.pc])
AC_CONFIG_FILES([rpm/spec])
AX_CREATE_GENERIC_CONFIG

View File

@ -149,6 +149,7 @@ mkdir -p $RPM_BUILD_ROOT/
%{_includedir}/cyassl/ssl.h
%{_includedir}/cyassl/test.h
%{_includedir}/cyassl/version.h
%{_libdir}/pkgconfig/cyassl.pc
%changelog
* Fri Oct 20 2012 Brian Aker <brian@tangent.org> - 0.1-1

View File

@ -2,7 +2,9 @@
# All paths should be given relative to the root
#
EXTRA_DIST += support/cyassl.pc
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = support/libcyassl.pc
pkgconfig_DATA = support/cyassl.pc