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: 14-Mar-2009 10:12:36 Branch: HEAD Handle: 2009031409123600 Added files: openpkg-src/libnut libnut.patch libnut.spec Log: new package: libnut 20090314 (NUT Video/Audio Container Format Library) Summary: Revision Changes Path 1.1 +12 -0 openpkg-src/libnut/libnut.patch 1.1 +86 -0 openpkg-src/libnut/libnut.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/libnut/libnut.patch ============================================================================ $ cvs diff -u -r0 -r1.1 libnut.patch --- /dev/null 2009-03-14 10:12:30 +0100 +++ libnut.patch 2009-03-14 10:12:36 +0100 @@ -0,0 +1,12 @@ +Index: config.mak +--- config.mak.orig 2009-03-14 10:04:17 +0100 ++++ config.mak 2009-03-14 10:04:11 +0100 +@@ -3,7 +3,7 @@ + + #CFLAGS += -DDEBUG + +-CFLAGS += -Os -fomit-frame-pointer -g -Wall ++CFLAGS += -fomit-frame-pointer + + CFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 + @@ . patch -p0 <<'@@ .' Index: openpkg-src/libnut/libnut.spec ============================================================================ $ cvs diff -u -r0 -r1.1 libnut.spec --- /dev/null 2009-03-14 10:12:30 +0100 +++ libnut.spec 2009-03-14 10:12:36 +0100 @@ -0,0 +1,86 @@ +## +## libnut.spec -- OpenPKG RPM Package Specification +## Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/> +## +## Permission to use, copy, modify, and distribute this software for +## any purpose with or without fee is hereby granted, provided that +## the above copyright notice and this permission notice appear in all +## copies. +## +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +## SUCH DAMAGE. +## + +# package information +Name: libnut +Summary: NUT Video/Audio Container Format Library +URL: http://www.nut-container.org/ +Vendor: Oded Shimon et al. +Packager: OpenPKG Foundation e.V. +Distribution: OpenPKG Community +Class: EVAL +Group: Video +License: MIT-style +Version: 20090314 +Release: 20090314 + +# list of sources +Source0: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/libnut/libnut-%{version}.tar.gz +Patch0: libnut.patch + +# build information +Prefix: %{l_prefix} +BuildRoot: %{l_buildroot} +BuildPreReq: OpenPKG, openpkg >= 20060823 +PreReq: OpenPKG, openpkg >= 20060823 +AutoReq: no +AutoReqProv: no + +%description + NUT is a patent-free, multimedia container format originally + conceived by a few MPlayer and FFmpeg developers that were + dissatisfied with the limitations of all currently available + multimedia container formats such as AVI, Ogg or Matroska. It + aims to be simple, flexible, extensible, compact and error + resistant (error resilient), thus addressing most if not all of the + shortcomings present in alternative formats, like excessive CPU and + size overhead, file size limits, inability to allow fine grained + seeking or restrictions on the type of data they can contain. + +%track + prog libnut = { + version = %{version} + url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/libnut/ + regex = libnut-(__VER__)\.tar\.gz + } + +%prep + %setup -q -n libnut + %patch -p0 + +%build + %{l_make} %{l_mflags} \ + CC="%{l_cc} %{l_cflags -O}" + +%install + rm -rf $RPM_BUILD_ROOT + %{l_make} %{l_mflags} install \ + DESTDIR=$RPM_BUILD_ROOT \ + PREFIX=%{l_prefix} + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} + +%files -f files + +%clean + rm -rf $RPM_BUILD_ROOT + @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List [email protected]
