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 openpkg-web openpkg$ Date: 03-Jun-2003 10:43:06
Branch: HEAD Handle: 2003060309430302
Modified files:
openpkg-re/vcheck vc.tin
openpkg-src/tin tin.spec
openpkg-web news.txt
Log:
upgrade to 1.5.18 and cleanup packaging
Summary:
Revision Changes Path
1.8 +1 -1 openpkg-re/vcheck/vc.tin
1.35 +19 -12 openpkg-src/tin/tin.spec
1.4697 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/vcheck/vc.tin
============================================================================
$ cvs diff -u -r1.7 -r1.8 vc.tin
--- openpkg-re/vcheck/vc.tin 8 Apr 2003 09:44:39 -0000 1.7
+++ openpkg-re/vcheck/vc.tin 3 Jun 2003 08:43:03 -0000 1.8
@@ -2,7 +2,7 @@
}
prog tin = {
- version = 1.5.17
+ version = 1.5.18
url = ftp://ftp.tin.org/pub/news/clients/tin/
regex = v((\d+\.)*\d)
url = ftp://ftp.tin.org/pub/news/clients/tin/v__NEWVER__/
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/tin/tin.spec
============================================================================
$ cvs diff -u -r1.34 -r1.35 tin.spec
--- openpkg-src/tin/tin.spec 8 Apr 2003 13:02:18 -0000 1.34
+++ openpkg-src/tin/tin.spec 3 Jun 2003 08:43:05 -0000 1.35
@@ -23,6 +23,10 @@
## SUCH DAMAGE.
##
+# package version
+%define V_major 1.5
+%define V_minor 18
+
# package information
Name: tin
Summary: News User Agent
@@ -32,18 +36,18 @@
Distribution: OpenPKG [BASE]
Group: News
License: GPL
-Version: 1.5.17
-Release: 20030408
+Version: %{V_major}.%{V_minor}
+Release: 20030603
# list of sources
-Source0: ftp://ftp.tin.org/pub/news/clients/tin/v1.5/tin-%{version}.tar.bz2
+Source0:
ftp://ftp.tin.org/pub/news/clients/tin/v%{V_major}/tin-%{version}.tar.bz2
Patch0: tin.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
-BuildPreReq: OpenPKG, openpkg >= 20020206, ncurses, libiconv, make, flex, bison
-PreReq: OpenPKG, openpkg >= 20020206, ncurses, libiconv
+BuildPreReq: OpenPKG, openpkg >= 20030103, ncurses, libiconv, make, flex, bison
+PreReq: OpenPKG, openpkg >= 20030103, ncurses, libiconv
AutoReq: no
AutoReqProv: no
@@ -52,12 +56,12 @@
%prep
%setup -q
- %patch0 -p0
+ %patch -p0
%build
CC="%{l_cc}" \
- CFLAGS="%{l_cflags -O} -I%{l_prefix}/include -I%{l_prefix}/include/ncurses" \
- LDFLAGS="-L%{l_prefix}/lib" \
+ CFLAGS="%{l_cflags -O} %{l_cppflags ncurses}" \
+ LDFLAGS="%{l_ldflags}" \
LIBS="-liconv" \
./configure \
--prefix=%{l_prefix} \
@@ -76,10 +80,13 @@
%install
rm -rf $RPM_BUILD_ROOT
- %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/bin
- %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/man/man1
- %{l_shtool} install -c -s -m 755 src/tin $RPM_BUILD_ROOT%{l_prefix}/bin/
- %{l_shtool} install -c -m 644 doc/tin.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
+ %{l_shtool} mkdir -f -p -m 755 \
+ $RPM_BUILD_ROOT%{l_prefix}/bin \
+ $RPM_BUILD_ROOT%{l_prefix}/man/man1
+ %{l_shtool} install -c -s -m 755 \
+ src/tin $RPM_BUILD_ROOT%{l_prefix}/bin/
+ %{l_shtool} install -c -m 644 \
+ doc/tin.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.4696 -r1.4697 news.txt
--- openpkg-web/news.txt 3 Jun 2003 08:42:01 -0000 1.4696
+++ openpkg-web/news.txt 3 Jun 2003 08:43:04 -0000 1.4697
@@ -1,3 +1,4 @@
+03-Jun-2003: Upgraded package: P<tin-1.5.18-20030603>
03-Jun-2003: Upgraded package: P<ssmtp-2.48-20030603>
03-Jun-2003: Upgraded package: P<perl-net-20030603-20030603>
03-Jun-2003: Upgraded package: P<perl-dbi-20030603-20030603>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]