| 46 Patch0: uuid.patch |
46 Patch0: uuid.patch |
| 47 |
47 |
| 48 # build information |
48 # build information |
| 49 Prefix: %{l_prefix} |
49 Prefix: %{l_prefix} |
| 50 BuildRoot: %{l_buildroot} |
50 BuildRoot: %{l_buildroot} |
| 51 BuildPreReq: OpenPKG, openpkg >= 20050615 |
51 BuildPreReq: OpenPKG, openpkg >= 20100101 |
| 52 PreReq: OpenPKG, openpkg >= 20050615 |
52 PreReq: OpenPKG, openpkg >= 20100101 |
| 53 %if "%{with_cxx}" == "yes" |
53 %if "%{with_cxx}" == "yes" |
| 54 BuildPreReq: gcc |
54 BuildPreReq: gcc |
| 55 %endif |
55 %endif |
| 56 %if "%{with_perl}" == "yes" |
56 %if "%{with_perl}" == "yes" |
| 57 BuildPreReq: perl, perl-openpkg |
57 BuildPreReq: perl, perl-openpkg |
| 123 %{l_prefix}/bin/perl-openpkg prepare |
128 %{l_prefix}/bin/perl-openpkg prepare |
| 124 %{l_prefix}/bin/perl-openpkg -d perl configure build |
129 %{l_prefix}/bin/perl-openpkg -d perl configure build |
| 125 %endif |
130 %endif |
| 126 |
131 |
| 127 %install |
132 %install |
| 128 rm -rf $RPM_BUILD_ROOT |
|
| 129 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT |
133 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT |
| 130 %if "%{with_perl}" == "yes" |
134 %if "%{with_perl}" == "yes" |
| 131 %{l_prefix}/bin/perl-openpkg -d perl install |
135 %{l_prefix}/bin/perl-openpkg -d perl install |
| 132 %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup |
136 %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup |
| 133 %else |
137 %else |