OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   27-Aug-2005 14:54:39
  Branch: HEAD                             Handle: 2005082713543900

  Modified files:
    openpkg-src/rfc         rfc.spec

  Log:
    cleanup packaging

  Summary:
    Revision    Changes     Path
    1.34        +20 -14     openpkg-src/rfc/rfc.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/rfc/rfc.spec
  ============================================================================
  $ cvs diff -u -r1.33 -r1.34 rfc.spec
  --- openpkg-src/rfc/rfc.spec  24 Mar 2005 11:20:11 -0000      1.33
  +++ openpkg-src/rfc/rfc.spec  27 Aug 2005 12:54:39 -0000      1.34
  @@ -22,6 +22,11 @@
   ##  SUCH DAMAGE.
   ##
   
  +#   package versions
  +%define       V_rfctool   3.2.3
  +%define       V_rfcindex  20050826
  +%define       V_services  20041012
  +
   #   package information
   Name:         rfc
   Summary:      Request For Comment (RFC) Retrival Tool
  @@ -32,13 +37,13 @@
   Class:        PLUS
   Group:        Misc
   License:      PD
  -Version:      3.2.3
  -Release:      20041228
  +Version:      %{V_rfctool}
  +Release:      20050827
   
   #   list of sources
  -Source0:      http://www.dewn.com/rfc/rfc-%{version}.tar.gz
  -Source1:      http://www.dewn.com/rfc/nmap-services
  -Source2:      http://ftp.isi.edu/in-notes/rfc-index.txt
  +Source0:      http://www.dewn.com/rfc/rfc-%{V_rfctool}.tar.gz
  +Source1:      
ftp://ftp.openpkg.org/sources/CPY/VERSIONED/rfc/rfc-index-%{V_rfcindex}.txt
  +Source2:      
ftp://ftp.openpkg.org/sources/CPY/VERSIONED/rfc/nmap-services-%{V_services}
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -70,21 +75,22 @@
   
   %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}/bin \
  +        $RPM_BUILD_ROOT%{l_prefix}/var/rfc
       %{l_shtool} install -c -m 755 \
           -e "s;^#!.*;#!%{l_prefix}/bin/perl;" \
           -e "s;/usr/local/etc/rfc-index;%{l_prefix}/var/rfc/rfc-index.txt;" \
  -        -e 
"s;/usr/local/etc/nmap-services;%{l_prefix}/var/rfc/nmap-services;" \
  +        -e 
"s;/usr/local/etc/nmap-services;%{l_prefix}/var/rfc/unix-services.txt;" \
           -e "s;/local/path/to/rfcs/;%{l_prefix}/var/rfc/;" \
           rfc-%{version} \
           $RPM_BUILD_ROOT%{l_prefix}/bin/rfc
  -    %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/var/rfc
  -    %{l_shtool} install -c -m 755 \
  -        %{SOURCE nmap-services} \
  -        $RPM_BUILD_ROOT%{l_prefix}/var/rfc/
  -    %{l_shtool} install -c -m 755 \
  -        %{SOURCE rfc-index.txt} \
  -        $RPM_BUILD_ROOT%{l_prefix}/var/rfc/
  +    %{l_shtool} install -c -m 644 \
  +        %{SOURCE nmap-services-%{V_services}} \
  +        $RPM_BUILD_ROOT%{l_prefix}/var/rfc/unix-services.txt
  +    %{l_shtool} install -c -m 644 \
  +        %{SOURCE rfc-index-%{V_rfcindex}.txt} \
  +        $RPM_BUILD_ROOT%{l_prefix}/var/rfc/rfc-index.txt
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
   
   %files -f files
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to