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          Date:   18-Feb-2003 16:29:52
  Branch: HEAD                             Handle: 2003021815294902

  Modified files:
    openpkg-src/libevent    libevent.spec
    openpkg-web             news.txt

  Log:
    - get the package really working by disabling Automake stuff
    - fix syntax by adding the missing colon at end of Source0
    - %{l_ldflags} already contains -L%{l_prefix}/lib
    - use %{l_cppflags} for -I%{l_prefix}/include
    - remove trailing whitespaces

  Summary:
    Revision    Changes     Path
    1.2         +18 -9      openpkg-src/libevent/libevent.spec
    1.3347      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/libevent/libevent.spec
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 libevent.spec
  --- openpkg-src/libevent/libevent.spec        18 Feb 2003 14:04:07 -0000      1.1
  +++ openpkg-src/libevent/libevent.spec        18 Feb 2003 15:29:51 -0000      1.2
  @@ -25,7 +25,7 @@
   
   #   package information
   Name:         libevent
  -Summary:      An asynchronous Event Notification Library  
  +Summary:      Asynchronous Event Notification Library
   URL:          http://monkey.org/~provos/libevent/
   Vendor:       Dug Song
   Packager:     The OpenPKG Project
  @@ -36,28 +36,37 @@
   Release:      20030218
   
   #   list of sources
  -Source0       http://monkey.org/~provos/libevent/libevent-%{version}.tar.gz
  +Source0:      http://monkey.org/~provos/libevent/libevent-%{version}.tar.gz
   
   #   build information
   Prefix:       %{l_prefix}
   BuildRoot:    %{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg >= 20020211, make
  +BuildPreReq:  OpenPKG, openpkg >= 20020211, gcc, make
   PreReq:       OpenPKG, openpkg >= 20020211
   AutoReq:      no
   AutoReqProv:  no
   
   %description
  -     The libevent API provides a mechanism to execute a callback function 
  -     when a specific event occurs on a file descriptor or after a timeout 
  -     has been reached.
  +    The libevent API provides a mechanism to execute a callback function
  +    when a specific event occurs on a file descriptor or after a timeout
  +    has been reached.
   
   %prep
       %setup -q
   
   %build
  +    %{l_shtool} subst \
  +        -e 's;\(ACLOCAL\)=.*;\1=true;' \
  +        -e 's;\(AUTOCONF\)=.*;\1=true;' \
  +        -e 's;\(AUTOMAKE\)=.*;\1=true;' \
  +        -e 's;\(AUTOHEADER\)=.*;\1=true;' \
  +        -e 's;\(MAKEINFO\)=.*;\1=true;' \
  +        -e 's;\(AMTAR\)=.*;\1=true;' \
  +        configure
       CC="%{l_cc}" \
  -    LDFLAGS="%{l_ldflags} -L%{l_prefix}/lib" \
  -    CFLAGS="%{l_cflags -O} -I%{l_prefix}/include/" \
  +    CFLAGS="%{l_cflags -O}" \
  +    CPPFLAGS="%{l_cppflags}" \
  +    LDFLAGS="%{l_ldflags}" \
       ./configure \
           --prefix=%{l_prefix}
       %{l_make} %{l_mflags -O}
  @@ -67,7 +76,7 @@
       %{l_shtool} mkdir -p $RPM_BUILD_ROOT%{l_prefix}/man/man3
       %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
  - 
  +
   %files -f files
   
   %clean
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.3346 -r1.3347 news.txt
  --- openpkg-web/news.txt      18 Feb 2003 14:21:52 -0000      1.3346
  +++ openpkg-web/news.txt      18 Feb 2003 15:29:49 -0000      1.3347
  @@ -1,3 +1,4 @@
  +18-Feb-2003: Upgraded package: P<libevent-0.6-20030218>
   18-Feb-2003: Upgraded package: P<graphviz-1.9-20030218>
   18-Feb-2003: Upgraded package: P<tomcat-adapter-3.2.4-20030218>
   18-Feb-2003: Upgraded package: P<flex-2.5.4a-20030218>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to