1 ## |
1 ## |
2 ## confuse.spec -- OpenPKG RPM Specification |
2 ## confuse.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: Libraries |
33 Group: Libraries |
34 License: ISC |
34 License: ISC |
35 Version: 2.6 |
35 Version: 2.6 |
36 Release: 20090320 |
36 Release: 20120800 |
37 |
37 |
38 # list of sources |
38 # list of sources |
39 Source0: http://bzero.se/confuse/confuse-%{version}.tar.gz |
39 Source0: http://bzero.se/confuse/confuse-%{version}.tar.gz |
40 |
40 |
41 # build information |
41 # build information |
42 Prefix: %{l_prefix} |
42 BuildPreReq: OpenPKG, openpkg >= 20100101, make |
43 BuildRoot: %{l_buildroot} |
43 PreReq: OpenPKG, openpkg >= 20100101 |
44 BuildPreReq: OpenPKG, openpkg >= 20040130, make |
|
45 PreReq: OpenPKG, openpkg >= 20040130 |
|
46 AutoReq: no |
|
47 AutoReqProv: no |
|
48 |
44 |
49 %description |
45 %description |
50 Previously known as libcfg, confuse is a configuration file |
46 Previously known as libcfg, confuse is a configuration file |
51 parser library which supports sections and (lists of) values |
47 parser library which supports sections and (lists of) values |
52 (strings, integers, floats, booleans or other sections). Other |
48 (strings, integers, floats, booleans or other sections). Other |
79 |
80 |
80 # run the native build logic using parallel make |
81 # run the native build logic 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 # install files |
85 # install files |
88 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT |
86 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT |
89 |
87 |
90 # determine installation files |
88 # determine installation files |
91 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
89 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
92 |
90 |
93 %files -f files |
91 %files -f files |
94 |
92 |
95 %clean |
93 %clean |
96 rm -rf $RPM_BUILD_ROOT |
|
97 |
94 |