OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 06-Feb-2005 14:10:20
Branch: HEAD Handle: 2005020613101900
Modified files:
openpkg-src/pinfo pinfo.spec
Log:
requires ncurses; fix packaging by tagging config file as %config
Summary:
Revision Changes Path
1.43 +9 -2 openpkg-src/pinfo/pinfo.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/pinfo/pinfo.spec
============================================================================
$ cvs diff -u -r1.42 -r1.43 pinfo.spec
--- openpkg-src/pinfo/pinfo.spec 24 Jan 2005 18:27:39 -0000 1.42
+++ openpkg-src/pinfo/pinfo.spec 6 Feb 2005 13:10:19 -0000 1.43
@@ -34,7 +34,7 @@
Group: Text
License: GPL
Version: 0.6.8
-Release: 20050124
+Release: 20050206
# list of sources
Source0:
http://dione.ids.pl/~pborys/software/pinfo/pinfo-%{version}.tar.gz
@@ -44,6 +44,8 @@
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130, config
PreReq: OpenPKG, openpkg >= 20040130
+BuildPreReq: ncurses
+PreReq: ncurses
AutoReq: no
AutoReqProv: no
@@ -66,6 +68,9 @@
%build
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
+ CPPFLAGS="%{l_cppflags ncurses .}" \
+ LDFLAGS="%{l_ldflags}" \
+ LIBS="-lncurses" \
./configure \
--prefix=%{l_prefix} \
--sysconfdir=%{l_prefix}/etc/pinfo \
@@ -77,7 +82,9 @@
%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
- %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
+ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
+ %{l_files_std} \
+ '%config %{l_prefix}/etc/pinfo/*'
%files -f files
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]