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:   20-Sep-2004 15:53:40
  Branch: HEAD                             Handle: 2004092014533900

  Modified files:
    openpkg-src/xsel        xsel.spec

  Log:
    switch to versioned tarball

  Summary:
    Revision    Changes     Path
    1.14        +8  -11     openpkg-src/xsel/xsel.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/xsel/xsel.spec
  ============================================================================
  $ cvs diff -u -r1.13 -r1.14 xsel.spec
  --- openpkg-src/xsel/xsel.spec        7 Feb 2004 18:00:40 -0000       1.13
  +++ openpkg-src/xsel/xsel.spec        20 Sep 2004 13:53:39 -0000      1.14
  @@ -26,7 +26,7 @@
   #   package information
   Name:         xsel
   Summary:      X11 Selection Buffer Command Line Utility
  -URL:          http://www.xsel.org/
  +URL:          http://www.niksula.cs.hut.fi/~vherva/xsel/
   Vendor:       Ralph Swick, Ville Herva
   Packager:     The OpenPKG Project
   Distribution: OpenPKG
  @@ -34,11 +34,10 @@
   Group:        XWindow
   License:      X11
   Version:      0.04.1
  -Release:      20040207
  +Release:      20040920
   
   #   list of sources
  -Source0:      http://www.niksula.cs.hut.fi/~vherva/xsel/xsel.c
  -Source1:      http://www.niksula.cs.hut.fi/~vherva/xsel/xsel.man
  +Source0:      
ftp://ftp.openpkg.org/sources/CPY/VERSIONED/xsel/xsel-%{version}.tar.gz
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -55,20 +54,18 @@
   
   %track
       prog xsel = {
  -        disabled
  -        comment   = "rse: author does not provide versioned distribution files"
           version   = %{version}
  -        url       = http://www.niksula.cs.hut.fi/~vherva/xsel/
  -        regex     = xsel.c
  +        url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/xsel/
  +        regex     = xsel-(__VER__)\.tar\.gz
       }
   
   %prep
  -    %setup -q -c -T
  +    %setup -q -c
   
   %build
       %{l_cc} \
           %{l_cflags -O} -I`%{l_prefix}/etc/rc --query x11_incdir` \
  -        -o xsel %{SOURCE xsel.c} \
  +        -o xsel xsel.c \
           %{l_ldflags} -L`%{l_prefix}/etc/rc --query x11_libdir` \
           -lX11 -lXt -lXmu -lXaw
   
  @@ -80,7 +77,7 @@
       %{l_shtool} install -c -s -m 755 \
           xsel $RPM_BUILD_ROOT%{l_prefix}/bin/
       %{l_shtool} install -c -m 644 \
  -        %{SOURCE xsel.man} $RPM_BUILD_ROOT%{l_prefix}/man/man1/xsel.1
  +        xsel.man $RPM_BUILD_ROOT%{l_prefix}/man/man1/xsel.1
       %{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