浏览代码

libpq:
- add pgconfig
- add pg_config*.h and libpq/libpq-fs.h

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8604 ec354946-7b23-47d6-9f5a-488ba84defc7

daisuke 10 年之前
父节点
当前提交
ca5758cc13
共有 1 个文件被更改,包括 15 次插入7 次删除
  1. 15 7
      lib/libp/libpq/libpq-vl.spec

+ 15 - 7
lib/libp/libpq/libpq-vl.spec

@@ -16,7 +16,7 @@ Summary(ja): PostgreSQL クライアントに必要な共有ライブラリ
 Name: libpq
 Group: System Environment/Libraries
 Version: %{pgver}.4
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: BSD
 Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
 Source3: postgresql.init
@@ -153,15 +153,21 @@ make %{?_smp_mflags} -C ./src/bin/pg_config all
 rm -rf $RPM_BUILD_ROOT
 
 make DESTDIR=$RPM_BUILD_ROOT -C ./src/interfaces install
-#make DESTDIR=$RPM_BUILD_ROOT -C ./src/bin/pg_config install
+make DESTDIR=$RPM_BUILD_ROOT -C ./src/bin/pg_config install
 
 # copy over Makefile.global to the include dir....
 install -m644 src/Makefile.global $RPM_BUILD_ROOT%{_includedir}/pgsql
 install -m644 src/Makefile.shlib $RPM_BUILD_ROOT%{_includedir}/pgsql
 
 # install missing header
+mkdir -p $RPM_BUILD_ROOT%{_includedir}/pgsql/libpq
+install -m644 src/include/libpq/libpq-fs.h $RPM_BUILD_ROOT%{_includedir}/pgsql/libpq
+install -m644 src/include/libpq/pqcomm.h $RPM_BUILD_ROOT%{_includedir}/pgsql/libpq
 install -m644 src/include/postgres_ext.h $RPM_BUILD_ROOT%{_includedir}/pgsql
-install -m644 src/include/pg_config_ext.h $RPM_BUILD_ROOT%{_includedir}/pgsql
+install -m644 src/include/pg_config*.h $RPM_BUILD_ROOT%{_includedir}/pgsql
+install -m644 src/include/c.h $RPM_BUILD_ROOT%{_includedir}/pgsql
+install -m644 src/include/port.h $RPM_BUILD_ROOT%{_includedir}/pgsql
+install -m644 src/include/postgres_fe.h $RPM_BUILD_ROOT%{_includedir}/pgsql
 
 # Fix some more documentation
 ##gzip doc/internals.ps
@@ -212,20 +218,22 @@ rm -rf $RPM_BUILD_ROOT
 %files devel -f devel.lst
 %defattr(-,root,root)
 %{_bindir}/ecpg
-#%{_bindir}/pg_config
-#%{_includedir}/pgsql/libpq-events.h
-#%{_includedir}/pgsql/libpq-fe.h
-#%{_includedir}/pgsql/postgres_ext.h
+%{_bindir}/pg_config
 %{_libdir}/libecpg.so
 %{_libdir}/libecpg_compat.so
 %{_libdir}/libpgtypes.so
 %{_libdir}/libpq.so
 %{_libdir}/pkgconfig/*
+%{_datadir}/locale/*/LC_MESSAGES/*.mo
 %{_mandir}/man1/ecpg.*
 #%{_mandir}/man1/pg_config.*
 
 
 %changelog
+* Wed Jun 25 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 9.3.4-3
+- add pgconfig
+- add pg_config*.h and libpq/libpq-fs.h
+
 * Sun Jun 15 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 9.3.4-2
 - add postgres_ext.h and pg_config_ext.h