|
Lines 6-12
Link Here
|
| 6 |
|
6 |
|
| 7 |
Name: postgresql8.0 |
7 |
Name: postgresql8.0 |
| 8 |
Version: 8.0.3 |
8 |
Version: 8.0.3 |
| 9 |
Release: alt1 |
9 |
Release: alt1.64bit |
| 10 |
|
10 |
|
| 11 |
%define PGSQL pgsql |
11 |
%define PGSQL pgsql |
| 12 |
%define ROOT %_localstatedir/%PGSQL-root |
12 |
%define ROOT %_localstatedir/%PGSQL-root |
|
Lines 240-245
Link Here
|
| 240 |
%__autoconf |
240 |
%__autoconf |
| 241 |
./configure %_target_platform \ |
241 |
./configure %_target_platform \ |
| 242 |
--prefix=%prefix \ |
242 |
--prefix=%prefix \ |
|
|
243 |
--libdir=%_libdir \ |
| 243 |
--mandir=%_mandir \ |
244 |
--mandir=%_mandir \ |
| 244 |
--with-docdir=%_docdir \ |
245 |
--with-docdir=%_docdir \ |
| 245 |
--includedir=%_includedir/%PGSQL \ |
246 |
--includedir=%_includedir/%PGSQL \ |
|
Lines 318-324
Link Here
|
| 318 |
%__ln_s port/linux.h %buildroot%_includedir/%PGSQL/os.h |
319 |
%__ln_s port/linux.h %buildroot%_includedir/%PGSQL/os.h |
| 319 |
|
320 |
|
| 320 |
# Chrooted environment |
321 |
# Chrooted environment |
| 321 |
%__mkdir_p %buildroot%ROOT/{bin,dev,lib,tmp,%_sysconfdir/%PGSQL,%_localstatedir,%_libdir/%PGSQL,%_libdir/locale} |
322 |
%__mkdir_p %buildroot%ROOT/{bin,dev,%_lib,tmp,%_sysconfdir/%PGSQL,%_localstatedir,%_libdir/%PGSQL,%_libdir/locale} |
| 322 |
|
323 |
|
| 323 |
mksock %buildroot%ROOT/dev/log |
324 |
mksock %buildroot%ROOT/dev/log |
| 324 |
%__mkdir_p -m700 %buildroot%_sysconfdir/syslog.d |
325 |
%__mkdir_p -m700 %buildroot%_sysconfdir/syslog.d |
|
Lines 339-345
Link Here
|
| 339 |
filelist=`find $curdir -name "*.sql" -print` |
340 |
filelist=`find $curdir -name "*.sql" -print` |
| 340 |
for f in $filelist; do |
341 |
for f in $filelist; do |
| 341 |
if [ -f "$f" ]; then |
342 |
if [ -f "$f" ]; then |
| 342 |
%__subst -p "s|\$libdir|/lib/$p|g" $f |
343 |
%__subst -p "s|\$libdir|/%_lib/$p|g" $f |
| 343 |
fi |
344 |
fi |
| 344 |
done |
345 |
done |
| 345 |
popd |
346 |
popd |
|
Lines 611-616
Link Here
|
| 611 |
%_libdir/%PGSQL/plpython.so |
612 |
%_libdir/%PGSQL/plpython.so |
| 612 |
|
613 |
|
| 613 |
%changelog |
614 |
%changelog |
|
|
615 |
* Fri Jun 03 2005 Anton D. Kachalov <mouse@altlinux.org> 8.0.3-alt1.64bit |
| 616 |
- multilib support |
| 617 |
|
| 614 |
* Tue May 17 2005 Ivan Fedorov <ns@altlinux.ru> 8.0.3-alt1 |
618 |
* Tue May 17 2005 Ivan Fedorov <ns@altlinux.ru> 8.0.3-alt1 |
| 615 |
- 8.0.3 |
619 |
- 8.0.3 |
| 616 |
- some bugs fixed |
620 |
- some bugs fixed |