diff -r 03d66ab4c7ca -r aba05e03de0f id3lib/id3lib.spec --- a/id3lib/id3lib.spec Tue Aug 28 19:00:20 2012 +0200 +++ b/id3lib/id3lib.spec Tue Aug 28 19:00:30 2012 +0200 @@ -1,6 +1,6 @@ ## ## id3lib.spec -- OpenPKG RPM Specification -## Copyright (c) 2009 Michael Schloh von Bennewitz +## Copyright (c) 2012 Michael Schloh von Bennewitz ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that @@ -33,18 +33,15 @@ Group: Audio License: LGPL Version: 3.8.3 -Release: 20090106 +Release: 20120800 # list of sources Source0: http://switch.dl.sourceforge.net/id3lib/id3lib-%{version}.tar.gz +Patch0: id3lib.patch # build information -Prefix: %{l_prefix} -BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20040130, make, gcc, gcc::with_cxx = yes -PreReq: OpenPKG, openpkg >= 20040130 -AutoReq: no -AutoReqProv: no +BuildPreReq: OpenPKG, openpkg >= 20100101, make, gcc, gcc::with_cxx = yes +PreReq: OpenPKG, openpkg >= 20100101 %description id3lib is an Opensource, cross platform software development library @@ -64,6 +61,10 @@ %prep # unpack sources %setup -q + %patch -p0 + %{l_shtool} subst \ + -e 's;iomanip\.h;iomanip;' \ + configure %build # prepare configuration @@ -81,9 +82,6 @@ %{l_make} %{l_mflags -O} %install - # remove previously existing installations - rm -rf $RPM_BUILD_ROOT - # run the native installation logic %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT @@ -96,5 +94,4 @@ %files -f files %clean - rm -rf $RPM_BUILD_ROOT