]> git.pld-linux.org Git - packages/fpc.git/blame - fpc.spec
- fixes from fedora, rel 2
[packages/fpc.git] / fpc.spec
CommitLineData
d59a3c01
BZ
1#
2# Conditional build:
86a4b6b9 3%bcond_with gdb # GDB support in FPC IDE
3e9a31c5 4%bcond_without doc # documentation
d59a3c01 5
3e9a31c5
JB
6Summary: Free Pascal - 32-bit Pascal compiler
7Summary(pl.UTF-8): Free Pascal - 32-bitowy kompilator języka Pascal
1d1a4bc8
ER
8Summary(ru.UTF-8): Свободный компилятор Pascal
9Summary(uk.UTF-8): Вільний компілятор Pascal
e8f622a3 10Name: fpc
361caa6b 11Version: 3.2.2
1d5dd79c 12Release: 2
3c782031 13License: GPL v2+
e8f622a3 14Group: Development/Languages
7ab23651 15Source0: ftp://ftp.freepascal.org/pub/fpc/dist/%{version}/source/%{name}build-%{version}.tar.gz
361caa6b 16# Source0-md5: 3681ae4a208be4f64ec65e832a9a702d
7ab23651 17Source1: ftp://ftp.freepascal.org/pub/fpc/dist/%{version}/i386-linux/%{name}-%{version}.i386-linux.tar
361caa6b 18# Source1-md5: 18354e51309a34b0efe7702633568a1e
7ab23651 19Source2: ftp://ftp.freepascal.org/pub/fpc/dist/%{version}/x86_64-linux/%{name}-%{version}.x86_64-linux.tar
361caa6b 20# Source2-md5: 0186779de0c9caee073fc1394afbee56
786da423 21Patch0: %{name}-skip-dev-dot.patch
938b52f5 22Patch1: %{name}-link.patch
1d5dd79c
JR
23Patch2: glibc-2.34.patch
24Patch3: dwarf-debug.patch
1ac879da 25Patch4: fpcdocs-r1260.patch
0946044b 26Patch5: fpc-man.patch
e8f622a3 27URL: http://www.freepascal.org/
9a6604f5 28BuildRequires: babeltrace-devel
361caa6b 29BuildRequires: binutils-devel >= 3:2.17.50
3c782031 30BuildRequires: expat-devel
361caa6b 31BuildRequires: gpm-devel
9a6604f5 32BuildRequires: guile-devel
3c782031 33BuildRequires: libselinux-devel
361caa6b
JR
34BuildRequires: ncurses-devel
35BuildRequires: readline-devel
36BuildRequires: rpmbuild(macros) >= 1.213
3c782031
JB
37BuildRequires: xz-devel
38BuildRequires: zlib-devel
361caa6b
JR
39%if %{with gdb}
40BuildRequires: gdb-lib >= 7.2-7}
41BuildRequires: python-devel
938b52f5
JR
42%endif
43%if %{with doc}
44BuildRequires: tetex-fonts-jknappen
45BuildRequires: tetex-format-pdflatex
361caa6b 46BuildRequires: tetex-latex-imakeidx
938b52f5
JR
47BuildRequires: tetex-makeindex
48BuildRequires: tetex-metafont
361caa6b
JR
49BuildRequires: texlive-latex-enumitem
50BuildRequires: texlive-latex-ucs
51BuildRequires: texlive-tex-xkeyval
938b52f5
JR
52BuildRequires: texlive-xetex
53%endif
7da7a711 54Requires: binutils
41cff313 55Provides: fpc-bootstrap
1ac879da 56ExclusiveArch: %{ix86} %{x8664}
0946044b
JB
57# TODO:
58# %{arm} ftp://ftp.freepascal.org/pub/fpc/dist/3.0.0/arm-linux/fpc-3.0.0.arm-linux-raspberry1wq.tar
59# ppc64 ftp://ftp.freepascal.org/pub/fpc/dist/3.0.0/powerpc64-linux/fpc-3.0.0.powerpc64-linux.tar
e7e4f882 60BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
e8f622a3
AM
61
62%description
3e9a31c5
JB
63Free Pascal is a 32-bit Pascal compiler. Free Pascal is designed to
64be, as much as possible, source compatible with Turbo Pascal 7.0 and
65Delphi 4 (although this goal is not yet attained), but it also
66enhances these languages with elements like function overloading. And,
67unlike these ancestors, it supports multiple platforms.
e8f622a3 68
6b989699 69%description -l pl.UTF-8
3e9a31c5
JB
70Free Pascal to 32-bitowy kompilator języka Pascal. Free Pascal został
71zaprojektowany by być (na ile to tylko możliwe) kompatybilnym z Turbo
72Pascalem 7.0 oraz Delphi 4. Free Pascal również rozszerza te języki
73elementami takimi jak przeciążanie funkcji.
e8f622a3 74
6b989699
JR
75%description -l ru.UTF-8
76FPC -- 32-битный компилятор Pascal, совместимый с Turbo Pascal 7.0 и
77Delphi. Поставляется с RTL (библиотекой времени исполнения), FCL
78(библиотекой свободных компонент), интерфейсами к gtk, ncurses, zlib,
3c3a6271 79mysql, postgres, ibase.
def44520 80
6b989699
JR
81%description -l uk.UTF-8
82FPC -- 32-бітний компілятор Pascal, сумісний із Turbo Pascal 7.0 та
83Delphi. Постачається із RTL (бібліотекою часу виконання), FCL
84(бібліотекою вільних компонент), інтерфейсами до gtk, ncurses, zlib,
3c3a6271 85mysql, postgres, ibase.
def44520 86
3e9a31c5
JB
87%package ide
88Summary: Free Pascal IDE (integrated development environment)
89Summary(pl.UTF-8): Zintegrowane środowisko programistyczne (IDE) Free Pascala
90Group: Development/Tools
91Requires: %{name} = %{version}-%{release}
92
93%description ide
94Free Pascal IDE (integrated development environment).
95
96%description ide -l pl.UTF-8
97Zintegrowane środowisko programistyczne (IDE) Free Pascala.
98
412a5ed9
KK
99%package src
100Summary: Free Pascal Compiler source files
1d1a4bc8 101Summary(pl.UTF-8): Pliki źródłowe kompilatora Free Pascal
412a5ed9 102Group: Development
412a5ed9 103Requires: %{name} = %{version}-%{release}
41cff313 104Provides: fpcsrc
412a5ed9
KK
105
106%description src
107Free Pascal Compiler source files.
108
6b989699
JR
109%description src -l pl.UTF-8
110Pliki źródłowe kompilatora Free Pascal.
412a5ed9 111
1eee4a0c
JR
112%package examples
113Summary: Free Pascal Compiler exaple programs
1d1a4bc8 114Summary(pl.UTF-8): Przykładowe programy do kompilatora Free Pascal
1eee4a0c 115Group: Documentation
3f331815 116Requires: %{name} = %{version}-%{release}
1eee4a0c
JR
117
118%description examples
119Free Pascal Compiler exaple programs.
120
6b989699
JR
121%description examples -l pl.UTF-8
122Przykładowe programy do kompilatora Free Pascal.
1eee4a0c 123
786da423
JR
124%package doc
125Summary: Free Pascal Compiler documentation
1d1a4bc8 126Summary(pl.UTF-8): Dokumentacja do kompilatora Free Pascal
786da423 127Group: Documentation
7ab23651 128# doesn't require base
786da423
JR
129
130%description doc
131Documentation for fpc in PDF format.
132
6b989699 133%description doc -l pl.UTF-8
786da423
JR
134Dokumentacja do fpc w formacie PDF.
135
e8f622a3 136%prep
d59a3c01 137%setup -q -n %{name}build-%{version}
786da423 138%patch0 -p1
938b52f5 139%patch1 -p1
1d5dd79c
JR
140cd fpcsrc
141%patch2 -p1
142%patch3 -p0
143cd ..
dd3f385e 144%patch4 -p0
0946044b 145%patch5 -p1
d59a3c01 146
d3e9323d 147%ifarch %{ix86}
786da423 148tar xf %{SOURCE1}
4e71325a 149%define _bver %{version}
d3e9323d 150%define _bname 386
04dae7e9 151%define _barch i386
d3e9323d 152%endif
3f331815 153%ifarch %{x8664}
786da423 154tar xf %{SOURCE2}
4e71325a 155%define _bver %{version}
d3e9323d 156%define _bname x64
04dae7e9 157%define _barch x86_64
d3e9323d 158%endif
0946044b
JB
159%ifarch %{arm}
160%define _bver %{version}
161%define _bname arm
162%define _barch arm
163%endif
164%ifarch ppc
165%define _bver ?
166%define _bname ppc
167%define _barch powerpc
168%endif
169%ifarch ppc64
170%define _bver %{version}
171%define _bname ppc64
172%define _barch powerpc64
173%endif
174%ifarch sparc sparcv9
175%define _bver ?
176%define _bname sparc
177%define _barch sparc
178%endif
d3e9323d 179
04dae7e9 180cd %{name}-%{version}.%{_barch}-linux
786da423 181tar xf binary.*-linux.tar
04dae7e9 182cd ..
786da423
JR
183
184mkdir bin
185cd bin
04dae7e9 186for i in ../%{name}-%{version}.%{_barch}-linux/*.tar.gz ; do
786da423
JR
187 tar xzf $i
188done
4e71325a 189ln -sf `pwd`/lib/%{name}/%{_bver}/ppc* bin
938b52f5 190cd ..
786da423 191
25d5e663
JR
192find fpcsrc -name Makefile -o -name fpcmake.ini -o -name fpmkunit.pp | \
193 xargs %{__sed} -i -e 's|/usr/lib/|%{_libdir}/|g'
194
0946044b
JB
195# remove precompiled objects from fpc-src
196%{__rm} fpcsrc/rtl/palmos/m68k/{libcrt.a,*.o}
197
412a5ed9
KK
198# save for fpc-src
199install -d fpc-src
200cp -af fpcsrc/* fpc-src
361caa6b 201rm -r fpc-src/tests
412a5ed9 202
008ddcda 203%if 0%{?debug:1}
25d5e663 204find fpcsrc -name Makefile | xargs %{__sed} -i -e 's/-Xs//'
008ddcda
JB
205%endif
206
361caa6b
JR
207%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+bash(\s|$),#!/bin/bash\1,' \
208 fpc-src/packages/fpmkunit/examples/ppu2fpmake.sh \
209 fpc-src/packages/gdbint/gen-gdblib-inc.sh \
210 fpc-src/packages/gtk2/src/gtk2x11/scripts/gdkx11_h2pas.sh \
211 fpc-src/rtl/unix/scripts/check_consts.sh \
212 fpc-src/rtl/unix/scripts/check_errno.sh \
213 fpc-src/rtl/unix/scripts/check_errnostr.sh \
214 fpc-src/rtl/unix/scripts/check_sys.sh
215
938b52f5 216%build
4e71325a 217PP=`pwd`/bin/lib/%{name}/%{_bver}/ppc%{_bname}
80841e72 218NEWPP=`pwd`/fpcsrc/compiler/ppc%{_bname}
1ac879da
JR
219NEWFPDOC=`pwd`/fpcsrc/utils/fpdoc/bin/%{_barch}-linux/fpdoc
220DATA2INC=`pwd`/fpcsrc/utils/bin/%{_barch}-linux/data2inc
dd3f385e 221FPCSRCDIR=`pwd`/fpcsrc
d3e9323d 222
ca161524 223# DO NOT PUT $RPM_OPT_FLAGS IN OPT, IT DOES NOT WORK - baggins
224case "%{_build_cpu}" in
0946044b 225 i386|i486) OPTF="-OG2p1" ;;
d59a3c01 226 i586) OPTF="-OG2p2" ;;
0946044b 227 i686|athlon|pentium3|pentium4|x86_64|amd64|ia32e) OPTF="-Og2p3" ;;
d59a3c01 228 *) OPTF="-O2" ;;
ca161524 229esac
230
80841e72 231%{__make} -C fpcsrc compiler_cycle \
9ce0a47f 232 OPT="$OPTF -k--build-id -gl -gw %{!?debug:-Xs} -n" \
d88793f7 233 RELEASE="1" \
e8f622a3
AM
234 BASEINSTALLDIR=%{_libdir}/%{name}/%{version} \
235 BININSTALLDIR=%{_bindir} \
9a6604f5 236 DATA2INC="$DATA2INC" \
1eee4a0c 237 PP="$PP" \
94c54379 238 FPC="$PP" \
d59a3c01 239 LINKSMART=YES
94c54379 240
9ce0a47f
JR
241%{__make} -C fpcsrc \
242 OPT="$OPTF -k--build-id -gl -gw %{!?debug:-Xs} -n" \
d88793f7 243 RELEASE="1" \
5edb3786
SZ
244 BASEINSTALLDIR=%{_libdir}/%{name}/%{version} \
245 BININSTALLDIR=%{_bindir} \
86a4b6b9
JR
246 %{?with_gdb:GDBLIBDIR=%{_libdir}} \
247 %{!?with_gdb:NOGDB=YES} \
9a6604f5 248 DATA2INC="$DATA2INC" \
5edb3786 249 PP="$NEWPP" \
94c54379 250 FPC="$NEWPP" \
d59a3c01 251 FPDOC=$NEWFPDOC \
d59a3c01
BZ
252 LINKSMART=YES \
253 NODOCS=YES \
254 rtl_clean \
255 packages_clean \
256 utils_clean \
361caa6b 257 installer_clean \
d59a3c01
BZ
258 rtl_all \
259 packages_all \
361caa6b
JR
260 utils_all \
261 installer_all
f5681e7a 262
d59a3c01 263%if %{with doc}
786da423 264export save_size=10000
cbfcda9f 265%{__make} -j1 -C fpcdocs \
786da423
JR
266 FPDOC=$NEWFPDOC \
267 FPC="$NEWPP" \
dd3f385e 268 FPCSRCDIR="$FPCSRCDIR" \
786da423 269 pdf
d59a3c01 270%endif
786da423 271
e8f622a3
AM
272%install
273rm -rf $RPM_BUILD_ROOT
412a5ed9
KK
274install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_mandir},%{_datadir}/fpcsrc,%{_examplesdir}/fpc}
275
276cp -af fpc-src/* $RPM_BUILD_ROOT%{_datadir}/fpcsrc
e8f622a3 277
80841e72 278NEWPP=`pwd`/fpcsrc/compiler/ppc%{_bname}
1ac879da 279FPCMAKE=`pwd`/fpcsrc/utils/fpcm/bin/%{_barch}-linux/fpcmake
7be7bd7e 280%{__make} -j1 -C fpcsrc \
f5681e7a 281 compiler_distinstall \
282 rtl_distinstall \
f5681e7a 283 packages_distinstall \
f5681e7a 284 utils_distinstall \
d3e9323d 285 PP="$NEWPP" \
286 FPCMAKE="$FPCMAKE" \
f5681e7a 287 SMARTLINK=YES \
25d5e663 288 FPCDIR=%{_libdir}/%{name}/%{version} \
8bf0c9cb 289 INSTALL_PREFIX=$RPM_BUILD_ROOT%{_prefix} \
290 INSTALL_BINDIR=$RPM_BUILD_ROOT%{_bindir} \
291 INSTALL_LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
292 INSTALL_DOCDIR=$RPM_BUILD_ROOT%{_docdir} \
293 INSTALL_MANDIR=$RPM_BUILD_ROOT%{_mandir} \
d88793f7 294 INSTALL_BASEDIR=$RPM_BUILD_ROOT%{_libdir}/%{name}/%{version} \
f5681e7a 295 INSTALL_EXAMPLEDIR=$RPM_BUILD_ROOT%{_examplesdir}/%{name} \
7da7a711 296 INSTALL_MANDIR=$RPM_BUILD_ROOT%{_mandir} \
d88793f7 297 CODPATH=$RPM_BUILD_ROOT%{_libdir}/%{name}/lexyacc
d3e9323d 298
7be7bd7e 299%{__make} -j1 -C install/man installman \
80841e72 300 INSTALL_MANDIR=$RPM_BUILD_ROOT%{_mandir}
9a679a53 301
fcc93709
JR
302ln -sf ../%{_lib}/%{name}/%{version}/ppc%{_bname} $RPM_BUILD_ROOT%{_bindir}
303
2844e15a
JR
304sh fpc-src/compiler/utils/samplecfg $RPM_BUILD_ROOT%{_libdir}/%{name}/%{version} $RPM_BUILD_ROOT%{_sysconfdir}
305%{__sed} -i -e "s,$RPM_BUILD_ROOT,,g" $RPM_BUILD_ROOT%{_sysconfdir}/{*.cfg,fppkg/default}
e588518e 306
25d5e663 307%if "%{_lib}" != "lib"
902dd00e 308%{__mv} $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/lexyacc $RPM_BUILD_ROOT%{_libdir}/%{name}
25d5e663
JR
309%endif
310
e996f6a1
JR
311# Fix examples, make seems to ignore INSTALL_EXAMPLEDIR
312%{__mv} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/* $RPM_BUILD_ROOT%{_examplesdir}/fpc/
313
0946044b
JB
314%ifnarch %{ix86}
315%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/ppc386.1
316%endif
317%ifnarch %{arm}
318%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/ppcarm.1
319%endif
320%ifnarch ppc ppc64
321%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/ppcppc.1
322%endif
323%ifnarch sparc sparcv9
324%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/ppcsparc.1
325%endif
326%ifnarch %{x8664}
327%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/ppcx64.1
328%endif
329
e8f622a3
AM
330%clean
331rm -rf $RPM_BUILD_ROOT
332
e8f622a3
AM
333%files
334%defattr(644,root,root,755)
0946044b
JB
335%attr(755,root,root) %{_bindir}/bin2obj
336%attr(755,root,root) %{_bindir}/chmcmd
337%attr(755,root,root) %{_bindir}/chmls
338%attr(755,root,root) %{_bindir}/cldrparser
361caa6b 339%attr(755,root,root) %{_bindir}/compileserver
0946044b
JB
340%attr(755,root,root) %{_bindir}/data2inc
341%attr(755,root,root) %{_bindir}/delp
342%attr(755,root,root) %{_bindir}/fd2pascal
0946044b
JB
343%attr(755,root,root) %{_bindir}/fpc*
344%attr(755,root,root) %{_bindir}/fpdoc
345%attr(755,root,root) %{_bindir}/fppkg
346%attr(755,root,root) %{_bindir}/fprcp
347%attr(755,root,root) %{_bindir}/grab_vcsa
348%attr(755,root,root) %{_bindir}/h2pas
349%attr(755,root,root) %{_bindir}/h2paspp
350%attr(755,root,root) %{_bindir}/instantfpc
361caa6b 351%attr(755,root,root) %{_bindir}/json2pas
0946044b 352%attr(755,root,root) %{_bindir}/makeskel
361caa6b 353%attr(755,root,root) %{_bindir}/mka64ins
0946044b
JB
354%attr(755,root,root) %{_bindir}/mkarmins
355%attr(755,root,root) %{_bindir}/mkinsadd
356%attr(755,root,root) %{_bindir}/mkx86ins
357%attr(755,root,root) %{_bindir}/pas2fpm
358%attr(755,root,root) %{_bindir}/pas2jni
361caa6b 359%attr(755,root,root) %{_bindir}/pas2js
0946044b
JB
360%attr(755,root,root) %{_bindir}/pas2ut
361%attr(755,root,root) %{_bindir}/plex
362%attr(755,root,root) %{_bindir}/postw32
363%attr(755,root,root) %{_bindir}/ppc%{_bname}
364%attr(755,root,root) %{_bindir}/ppdep
365%attr(755,root,root) %{_bindir}/ppudump
366%attr(755,root,root) %{_bindir}/ppufiles
367%attr(755,root,root) %{_bindir}/ppumove
368%attr(755,root,root) %{_bindir}/ptop
369%attr(755,root,root) %{_bindir}/pyacc
370%attr(755,root,root) %{_bindir}/rmcvsdir
371%attr(755,root,root) %{_bindir}/rstconv
372%attr(755,root,root) %{_bindir}/unihelper
373%attr(755,root,root) %{_bindir}/unitdiff
361caa6b 374%attr(755,root,root) %{_bindir}/webidl2pas
3e9a31c5 375# TODO: move the below files to data dir
0946044b
JB
376# - JSON resources(?)
377%{_bindir}/makeskel.rsj
378%{_bindir}/ptop.rsj
361caa6b
JR
379%{_bindir}/pas2ut.rsj
380%{_bindir}/rstconv.rsj
381%{_bindir}/unitdiff.rsj
3c3a6271 382%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpc.cfg
2844e15a
JR
383%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fppkg.cfg
384%dir %{_sysconfdir}/fppkg
385%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fppkg/default
e8f622a3
AM
386%dir %{_libdir}/%{name}
387%dir %{_libdir}/%{name}/%{version}
d88793f7 388%dir %{_libdir}/%{name}/lexyacc
e8f622a3 389%{_libdir}/%{name}/%{version}/msg
1eee4a0c 390%{_libdir}/%{name}/%{version}/units
1ac879da 391%{_libdir}/%{name}/%{version}/fpmkinst
d88793f7 392%{_libdir}/%{name}/lexyacc/*
d3e9323d 393%attr(755,root,root) %{_libdir}/%{name}/%{version}/ppc%{_bname}
1eee4a0c 394%attr(755,root,root) %{_libdir}/%{name}/%{version}/samplecfg
361caa6b 395%attr(755,root,root) %{_libdir}/libpas2jslib.so
0946044b
JB
396%{_mandir}/man1/bin2obj.1*
397%{_mandir}/man1/chmcmd.1*
398%{_mandir}/man1/chmls.1*
399%{_mandir}/man1/data2inc.1*
400%{_mandir}/man1/delp.1*
401%{_mandir}/man1/fd2pascal.1*
402%{_mandir}/man1/fp.1*
403%{_mandir}/man1/fpc*.1*
404%{_mandir}/man1/fpdoc.1*
405%{_mandir}/man1/fppkg.1*
406%{_mandir}/man1/fprcp.1*
407%{_mandir}/man1/grab_vcsa.1*
408%{_mandir}/man1/h2pas.1*
409%{_mandir}/man1/h2paspp.1*
410%{_mandir}/man1/makeskel.1*
411%{_mandir}/man1/pas2fpm.1*
412%{_mandir}/man1/pas2jni.1*
413%{_mandir}/man1/pas2ut.1*
414%{_mandir}/man1/plex.1*
415%{_mandir}/man1/postw32.1*
416%ifarch ppc64
417%{_mandir}/man1/ppcppc.1*
418%else
419%{_mandir}/man1/ppc%{_bname}.1*
420%endif
421%{_mandir}/man1/ppdep.1*
422%{_mandir}/man1/ppudump.1*
423%{_mandir}/man1/ppufiles.1*
424%{_mandir}/man1/ppumove.1*
425%{_mandir}/man1/ptop.1*
426%{_mandir}/man1/pyacc.1*
427%{_mandir}/man1/rmcvsdir.1*
428%{_mandir}/man1/rstconv.1*
429%{_mandir}/man1/unitdiff.1*
430%{_mandir}/man5/fpc.cfg.5*
431%{_mandir}/man5/fpcmake.5*
432%{_mandir}/man5/ptop.cfg.5*
1eee4a0c 433
3e9a31c5
JB
434%files ide
435%defattr(644,root,root,755)
436%attr(755,root,root) %{_bindir}/fp
437# TODO: move the below files to data dir
438# - ANSI art file used by fp binary
439%{_bindir}/fp.ans
361caa6b 440%{_bindir}/fp.rsj
3e9a31c5
JB
441# - IDE command templates
442%{_bindir}/cvsco.tdf
443%{_bindir}/cvsdiff.tdf
444%{_bindir}/cvsup.tdf
445%{_bindir}/grep.tdf
446%{_bindir}/tpgrep.tdf
447# - Pascal code skeletons
448%{_bindir}/gplprog.pt
449%{_bindir}/gplunit.pt
450%{_bindir}/program.pt
451%{_bindir}/unit.pt
452%{_libdir}/%{name}/%{version}/ide
3e9a31c5 453
412a5ed9
KK
454%files src
455%defattr(644,root,root,755)
456%{_datadir}/fpcsrc
457
1eee4a0c
JR
458%files examples
459%defattr(644,root,root,755)
f5681e7a 460%{_examplesdir}/fpc
786da423 461
d59a3c01 462%if %{with doc}
786da423
JR
463%files doc
464%defattr(644,root,root,755)
465%doc fpcdocs/*.pdf
d59a3c01 466%endif
This page took 0.273273 seconds and 4 git commands to generate.