View | Details | Raw Unified | Return to bug 45589
Collapse All | Expand All

(-)a/fpc.spec (-1 / +11 lines)
Lines 48-53 Source9: fpctoc.htx Link Here
48
Source10: base.%ppctarget.tar.gz
48
Source10: base.%ppctarget.tar.gz
49
%endif
49
%endif
50
50
51
Source11: fpc-l10n-setup.sh
52
51
# Patches from Mageia
53
# Patches from Mageia
52
# Fix http://bugs.freepascal.org/view.php?id=23682
54
# Fix http://bugs.freepascal.org/view.php?id=23682
53
Patch1: fpc-fpkeys.patch
55
Patch1: fpc-fpkeys.patch
Lines 263-269 install -p -m 644 utils/fppkg/units/%ppctarget/*.{o,ppu} %buildroot%fpc_dir/unit Link Here
263
sed -i "s|\$fpctarget|%ppctarget|g" %buildroot%_sysconfdir/%name.cfg
265
sed -i "s|\$fpctarget|%ppctarget|g" %buildroot%_sysconfdir/%name.cfg
264
sed -i "s|\$fpctarget|%ppctarget|g" %buildroot%_sysconfdir/fp.cfg
266
sed -i "s|\$fpctarget|%ppctarget|g" %buildroot%_sysconfdir/fp.cfg
265
sed -i "s|/usr/lib|%_libdir|g" %buildroot%_sysconfdir/fp.cfg
267
sed -i "s|/usr/lib|%_libdir|g" %buildroot%_sysconfdir/fp.cfg
266
sed -i "s|errorn.msg|errorn.msg\n-Fr%fpc_dir/msg/errorru.msg|g" %buildroot%_sysconfdir/%name.cfg
268
sed -i "s|errorn.msg|errorn.msg\n#-Fr%fpc_dir/msg/errorru.msg|g" %buildroot%_sysconfdir/%name.cfg
267
sed -i "s|\$fpcversion|fpc|g" %buildroot%_sysconfdir/%name.cfg
269
sed -i "s|\$fpcversion|fpc|g" %buildroot%_sysconfdir/%name.cfg
268
270
269
popd
271
popd
Lines 318-323 rm -f %buildroot%_bindir/installer Link Here
318
# Create directory for fppkgconf.d/*.conf
320
# Create directory for fppkgconf.d/*.conf
319
mkdir -p %buildroot%_sysconfdir/fppkgconf.d
321
mkdir -p %buildroot%_sysconfdir/fppkgconf.d
320
322
323
# l10n setup script
324
sed 's,/etc/fpc.cfg,%_sysconfdir/%name.cfg,' \
325
	<%SOURCE11 >%buildroot%_bindir/fpc-l10n-setup
326
321
%files
327
%files
322
328
323
%package common
329
%package common
Lines 376-381 This package contains the command line compiler. Link Here
376
%_bindir/fpcmkcfg*
382
%_bindir/fpcmkcfg*
377
%_bindir/fppkg
383
%_bindir/fppkg
378
%_bindir/grab_vcsa
384
%_bindir/grab_vcsa
385
%_bindir/fpc-l10n-setup
379
%fpc_dir/samplecfg
386
%fpc_dir/samplecfg
380
%fpc_dir/ppc*
387
%fpc_dir/ppc*
381
%fpc_dir/msg
388
%fpc_dir/msg
Lines 387-392 This package contains the command line compiler. Link Here
387
%_man1dir/grab_vcsa.*
394
%_man1dir/grab_vcsa.*
388
%_man5dir/fpc.cfg.*
395
%_man5dir/fpc.cfg.*
389
396
397
%post compiler
398
%_bindir/fpc-l10n-setup ||:
399
390
# utils
400
# utils
391
%package utils
401
%package utils
392
Summary: Free Pascal -- Utils
402
Summary: Free Pascal -- Utils

Return to bug 45589