1 ## |
1 ## |
2 ## id3lib.spec -- OpenPKG RPM Specification |
2 ## id3lib.spec -- OpenPKG RPM Specification |
3 ## Copyright (c) 2009 Michael Schloh von Bennewitz <michael@schloh.com> |
3 ## Copyright (c) 2012 Michael Schloh von Bennewitz <michael@schloh.com> |
4 ## |
4 ## |
5 ## Permission to use, copy, modify, and distribute this software for |
5 ## Permission to use, copy, modify, and distribute this software for |
6 ## any purpose with or without fee is hereby granted, provided that |
6 ## any purpose with or without fee is hereby granted, provided that |
7 ## the above copyright notice and this permission notice appear in all |
7 ## the above copyright notice and this permission notice appear in all |
8 ## copies. |
8 ## copies. |
31 Distribution: Europalab Networks Production |
31 Distribution: Europalab Networks Production |
32 Class: EVAL |
32 Class: EVAL |
33 Group: Audio |
33 Group: Audio |
34 License: LGPL |
34 License: LGPL |
35 Version: 3.8.3 |
35 Version: 3.8.3 |
36 Release: 20090106 |
36 Release: 20120800 |
37 |
37 |
38 # list of sources |
38 # list of sources |
39 Source0: http://switch.dl.sourceforge.net/id3lib/id3lib-%{version}.tar.gz |
39 Source0: http://switch.dl.sourceforge.net/id3lib/id3lib-%{version}.tar.gz |
|
40 Patch0: id3lib.patch |
40 |
41 |
41 # build information |
42 # build information |
42 Prefix: %{l_prefix} |
43 BuildPreReq: OpenPKG, openpkg >= 20100101, make, gcc, gcc::with_cxx = yes |
43 BuildRoot: %{l_buildroot} |
44 PreReq: OpenPKG, openpkg >= 20100101 |
44 BuildPreReq: OpenPKG, openpkg >= 20040130, make, gcc, gcc::with_cxx = yes |
|
45 PreReq: OpenPKG, openpkg >= 20040130 |
|
46 AutoReq: no |
|
47 AutoReqProv: no |
|
48 |
45 |
49 %description |
46 %description |
50 id3lib is an Opensource, cross platform software development library |
47 id3lib is an Opensource, cross platform software development library |
51 for reading, writing, and manipulating ID3v1 and ID3v2 tags. It is |
48 for reading, writing, and manipulating ID3v1 and ID3v2 tags. It is |
52 an ongoing project whose primary goals are full compliance with the |
49 an ongoing project whose primary goals are full compliance with the |
79 |
80 |
80 # build using parallel make |
81 # build using parallel make |
81 %{l_make} %{l_mflags -O} |
82 %{l_make} %{l_mflags -O} |
82 |
83 |
83 %install |
84 %install |
84 # remove previously existing installations |
|
85 rm -rf $RPM_BUILD_ROOT |
|
86 |
|
87 # run the native installation logic |
85 # run the native installation logic |
88 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT |
86 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT |
89 |
87 |
90 # strip binaries of symbols |
88 # strip binaries of symbols |
91 strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true |
89 strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true |