1.1 --- a/id3lib/id3lib.spec Tue Aug 28 19:00:20 2012 +0200 1.2 +++ b/id3lib/id3lib.spec Tue Aug 28 19:00:30 2012 +0200 1.3 @@ -1,6 +1,6 @@ 1.4 ## 1.5 ## id3lib.spec -- OpenPKG RPM Specification 1.6 -## Copyright (c) 2009 Michael Schloh von Bennewitz <michael@schloh.com> 1.7 +## Copyright (c) 2012 Michael Schloh von Bennewitz <michael@schloh.com> 1.8 ## 1.9 ## Permission to use, copy, modify, and distribute this software for 1.10 ## any purpose with or without fee is hereby granted, provided that 1.11 @@ -33,18 +33,15 @@ 1.12 Group: Audio 1.13 License: LGPL 1.14 Version: 3.8.3 1.15 -Release: 20090106 1.16 +Release: 20120800 1.17 1.18 # list of sources 1.19 Source0: http://switch.dl.sourceforge.net/id3lib/id3lib-%{version}.tar.gz 1.20 +Patch0: id3lib.patch 1.21 1.22 # build information 1.23 -Prefix: %{l_prefix} 1.24 -BuildRoot: %{l_buildroot} 1.25 -BuildPreReq: OpenPKG, openpkg >= 20040130, make, gcc, gcc::with_cxx = yes 1.26 -PreReq: OpenPKG, openpkg >= 20040130 1.27 -AutoReq: no 1.28 -AutoReqProv: no 1.29 +BuildPreReq: OpenPKG, openpkg >= 20100101, make, gcc, gcc::with_cxx = yes 1.30 +PreReq: OpenPKG, openpkg >= 20100101 1.31 1.32 %description 1.33 id3lib is an Opensource, cross platform software development library 1.34 @@ -64,6 +61,10 @@ 1.35 %prep 1.36 # unpack sources 1.37 %setup -q 1.38 + %patch -p0 1.39 + %{l_shtool} subst \ 1.40 + -e 's;iomanip\.h;iomanip;' \ 1.41 + configure 1.42 1.43 %build 1.44 # prepare configuration 1.45 @@ -81,9 +82,6 @@ 1.46 %{l_make} %{l_mflags -O} 1.47 1.48 %install 1.49 - # remove previously existing installations 1.50 - rm -rf $RPM_BUILD_ROOT 1.51 - 1.52 # run the native installation logic 1.53 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT 1.54 1.55 @@ -96,5 +94,4 @@ 1.56 %files -f files 1.57 1.58 %clean 1.59 - rm -rf $RPM_BUILD_ROOT 1.60