]> git.pld-linux.org Git - packages/ppl.git/blame - ppl.spec
- typo
[packages/ppl.git] / ppl.spec
CommitLineData
b3a71a7e 1# TODO
af7f1118 2# - build ocaml binding as shared module
d749bea6 3# - verify ocaml,gprolog,swipl,Yap,Ciao files locations
b3a71a7e
ER
4# - help naming the subpackages properly
5# - fix mess with docs packaging
86484c6d 6# - finish xsb prolog
a0b289eb 7# - proprietary: sicstus prolog
b3a71a7e
ER
8#
9# Conditional build:
294b87ca
JB
10%bcond_without java # Java bindings
11%bcond_without ocaml # OCaml bindings
5d784c73 12%bcond_with ciao # Ciao Prolog interface
294b87ca
JB
13%bcond_without gprolog # GNU Pprolog interface
14%bcond_without swipl # SWI-Prolog interface
e1bffd47 15%bcond_with yap # Yap prolog interface
86484c6d 16%bcond_with xsb # XSB prolog interface
b3a71a7e 17
828240ff
JB
18%ifnarch %{ix86} %{x8664} alpha ppc64
19# GNU Prolog not available
b3a71a7e
ER
20%undefine with_gprolog
21%endif
22
23Summary: The Parma Polyhedra Library: a library of numerical abstractions
b6b7794a 24Summary(pl.UTF-8): Parma Polyhedra Library - biblioteka abstrakcji matematycznych
b3a71a7e 25Name: ppl
3dc0db56 26Version: 0.12
c8a0f026 27Release: 1
b3a71a7e 28License: GPL v3+
b6b7794a 29Group: Libraries
3dc0db56
JB
30Source0: ftp://ftp.cs.unipr.it/pub/ppl/releases/%{version}/%{name}-%{version}.tar.xz
31# Source0-md5: 7615f217b66b4ab4783c20c9fc516ff4
d749bea6 32Patch0: %{name}-ciao.patch
b6b7794a 33URL: http://www.cs.unipr.it/ppl/
86484c6d
JB
34%if %{with xsb}
35BuildRequires: XSB
36%endif
d749bea6
JB
37%if %{with ciao}
38BuildRequires: CiaoDE >= 1.14
39%endif
435f93e6
JB
40%if %{with yap}
41BuildRequires: Yap >= 5.1.1
42BuildRequires: Yap-static >= 5.1.1
43%endif
d749bea6
JB
44BuildRequires: autoconf >= 2.61
45BuildRequires: automake >= 1:1.11
b3a71a7e
ER
46BuildRequires: glpk-devel >= 4.13
47BuildRequires: gmp-c++-devel >= 4.1.3
48BuildRequires: gmp-devel >= 4.1.3
3dc0db56 49BuildRequires: libstdc++-devel
d749bea6 50BuildRequires: libtool >= 2:2.0
b3a71a7e 51BuildRequires: m4 >= 1.4.8
3dc0db56
JB
52BuildRequires: perl-base
53BuildRequires: tar >= 1:1.22
54BuildRequires: xz
294b87ca 55%if %{with swipl}
b3a71a7e 56BuildRequires: pl >= 5.10.2-3
b3a71a7e
ER
57%endif
58%if %{with gprolog}
59BuildRequires: gprolog >= 1.2.19
60%endif
61%if %{with ocaml}
62BuildRequires: ocaml >= 3.09
af7f1118 63BuildRequires: ocaml-gmp-devel
b3a71a7e
ER
64%endif
65%if %{with java}
66BuildRequires: jdk
67BuildRequires: jpackage-utils
68%endif
3dc0db56 69Obsoletes: ppl-pwl
b3a71a7e
ER
70BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
71
72%description
73The Parma Polyhedra Library (PPL) is a library for the manipulation of
74(not necessarily closed) convex polyhedra and other numerical
75abstractions. The applications of convex polyhedra include program
76analysis, optimized compilation, integer and combinatorial
77optimization and statistical data-editing. The Parma Polyhedra Library
78comes with several user friendly interfaces, is fully dynamic
79(available virtual memory is the only limitation to the dimension of
80anything), written in accordance to all the applicable standards,
81exception-safe, rather efficient, thoroughly documented, and free
82software. This package provides all what is necessary to run
83applications using the PPL through its C and C++ interfaces.
84
b6b7794a
JB
85%description -l pl.UTF-8
86Parma Polyhedra Library (PPL) to biblioteka do operacji na
87(niekoniecznie domkniętych) wielościanach wypukłych i innych
88abstrakcjach matematycznych. Zastosowania wielościanów wypukłych
89obejmują analizę programów, kompilację z optymalizacją, optymalizację
90całkowitoliczbową i kombinatoryczną oraz obróbkę danych
91statystycznych. Biblioteka PPL jest dostarczana z kilkoma przyjaznymi
92interfejsami, jest w pełni dynamiczna (jedynym ograniczeniem wymiarów
93jest dostępna pamięć wirtualna), napisana zgodnie ze wszystkimi
94mającymi zastosowanie standardami, jest bezpieczna pod kątem wyjątków,
95w miarę wydajna, dobrze udokumentowana i wolnodostępna. Ten pakiet
96zawiera wszystko, co jest potrzebne aplikacjom korzystającym z PPL
97poprzez interfejsy dla C i C++.
98
b3a71a7e 99%package devel
b6b7794a
JB
100Summary: Development files for the Parma Polyhedra Library C and C++ interfaces
101Summary(pl.UTF-8): Pliki programistyczne intefejsów C i C++ biblioteki PPL
b3a71a7e
ER
102Group: Development/Libraries
103Requires: %{name} = %{version}-%{release}
104Requires: gmp-devel >= 4.1.3
3dc0db56 105Obsoletes: ppl-pwl-devel
b3a71a7e
ER
106
107%description devel
108The header files, Autoconf macro and minimal documentation for
109developing applications using the Parma Polyhedra Library through its
110C and C++ interfaces.
111
b6b7794a
JB
112%description devel -l pl.UTF-8
113Pliki nagłówkowe, makra Autoconfa oraz minimalna dokumentacja do
114tworzenia aplikacji wykorzystujących bibliotekę Parma Polyhedra
115Library poprzez interfejsy C i C++.
116
b3a71a7e
ER
117%package static
118Summary: Static archives for the Parma Polyhedra Library C and C++ interfaces
b6b7794a 119Summary(pl.UTF-8): Biblioteki statyczne interfejsów C i C++ biblioteki PPL
b3a71a7e
ER
120Group: Development/Libraries
121Requires: %{name}-devel = %{version}-%{release}
3dc0db56 122Obsoletes: ppl-pwl-static
b3a71a7e
ER
123
124%description static
125The static archives for the Parma Polyhedra Library C and C++
126interfaces.
127
b6b7794a
JB
128%description static -l pl.UTF-8
129Biblioteki statyczne interfejsów C i C++ biblioteki Parma Polyhedra
130Library.
131
132%package docs
133Summary: Documentation for the Parma Polyhedra Library
134Summary(pl.UTF-8): Dokumentacja biblioteki Parma Polyhedra Library
135Group: Documentation
136Requires: %{name} = %{version}-%{release}
3dc0db56 137Obsoletes: ppl-pwl-docs
b6b7794a
JB
138
139%description docs
140This package contains all the documentations required by programmers
141using the Parma Polyhedra Library (PPL). Install this package if you
142want to program with the PPL.
143
144%description docs -l pl.UTF-8
145Ten pakiet zawiera całą dokumentację potrzebną programistom
146korzystającym z biblioteki Parma Polyhedra Library (PPL). Warto
147zainstalować ten pakiet, aby programować z użyciem PPL.
148
b3a71a7e
ER
149%package utils
150Summary: Utilities using the Parma Polyhedra Library
b6b7794a 151Summary(pl.UTF-8): Narzędzia wykorzystujące bibliotekę PPL
b3a71a7e
ER
152Group: Development/Libraries
153Requires: %{name} = %{version}-%{release}
154
155%description utils
156This package contains the mixed integer linear programming solver
b6b7794a 157ppl_lpsol, the program ppl_lcdd for vertex/facet enumeration of convex
b3a71a7e
ER
158polyhedra, and the parametric integer programming solver ppl_pips.
159
b6b7794a
JB
160%description utils -l pl.UTF-8
161Tan pakiet zawiera program do rozwiązywania mieszanych
162całkowitoliczbowych problemów programowania liniowego ppl_lpsol,
163program ppl_lcdd do numerowania wierzchołków i ścian wielościanów
164wypukłych oraz program do rozwiązywania parametrycznych
165całkowitoliczbowych problemów programowania liniowego ppl_pips.
166
d749bea6
JB
167%package -n Ciao-ppl
168Summary: The Ciao Prolog interface of the Parma Polyhedra Library
169Summary(pl.UTF-8): Interfejs Ciao Prologa do biblioteki Parma Polyhedra Library
170Group: Libraries
171Requires: %{name} = %{version}-%{release}
172Requires: CiaoDE >= 1.14
173Obsoletes: ppl-gprolog
174
175%description -n Ciao-ppl
176This package adds Ciao Prolog support to the Parma Polyhedra Library
177(PPL). Install this package if you want to use the library in Ciao
178Prolog programs.
179
180%description -n Ciao-ppl -l pl.UTF-8
181Ten pakiet dodaje obsługę Ciao Prologa do biblioteki Parma Polyhedra
182Library (PPL). Należy go zainstalować, aby móc korzystać z biblioteki
183w Ciao Prologu.
184
185%package -n Ciao-ppl-static
186Summary: The static archive for the Ciao Prolog interface of the Parma Polyhedra Library
187Summary(pl.UTF-8): Statyczna biblioteka interfejsu Ciao Prologa do biblioteki PPL
188Group: Development/Libraries
189Requires: Ciao-ppl = %{version}-%{release}
190
191%description -n Ciao-ppl-static
192This package contains the static archive for the Ciao Prolog interface
193of the Parma Polyhedra Library.
194
195%description -n Ciao-ppl-static -l pl.UTF-8
196Statyczna biblioteka interfejsu Ciao Prologa do biblioteki Parma
197Polyhedra Library.
198
86484c6d
JB
199%package -n XSB-ppl
200Summary: The XSB Prolog interface of the Parma Polyhedra Library
201Summary(pl.UTF-8): Interfejs XSB Prologa do biblioteki Parma Polyhedra Library
202Group: Libraries
203Requires: %{name} = %{version}-%{release}
204Requires: XSBDE >= 1.14
205Obsoletes: ppl-gprolog
206
207%description -n XSB-ppl
208This package adds XSB Prolog support to the Parma Polyhedra Library
209(PPL). Install this package if you want to use the library in XSB
210Prolog programs.
211
212%description -n XSB-ppl -l pl.UTF-8
213Ten pakiet dodaje obsługę XSB Prologa do biblioteki Parma Polyhedra
214Library (PPL). Należy go zainstalować, aby móc korzystać z biblioteki
215w XSB Prologu.
216
217%package -n XSB-ppl-static
218Summary: The static archive for the XSB Prolog interface of the Parma Polyhedra Library
219Summary(pl.UTF-8): Statyczna biblioteka interfejsu XSB Prologa do biblioteki PPL
220Group: Development/Libraries
221Requires: XSB-ppl = %{version}-%{release}
222
223%description -n XSB-ppl-static
224This package contains the static archive for the XSB Prolog interface
225of the Parma Polyhedra Library.
226
227%description -n XSB-ppl-static -l pl.UTF-8
228Statyczna biblioteka interfejsu XSB Prologa do biblioteki Parma
229Polyhedra Library.
230
828240ff 231%package -n gprolog-ppl
b3a71a7e 232Summary: The GNU Prolog interface of the Parma Polyhedra Library
b6b7794a
JB
233Summary(pl.UTF-8): Interfejs GNU Prologa do biblioteki Parma Polyhedra Library
234Group: Libraries
b3a71a7e 235Requires: %{name} = %{version}-%{release}
b3a71a7e 236Requires: gprolog >= 1.2.19
294b87ca 237Obsoletes: ppl-gprolog
b3a71a7e 238
828240ff 239%description -n gprolog-ppl
b3a71a7e
ER
240This package adds GNU Prolog support to the Parma Polyhedra Library
241(PPL). Install this package if you want to use the library in GNU
242Prolog programs.
243
828240ff 244%description -n gprolog-ppl -l pl.UTF-8
b6b7794a
JB
245Ten pakiet dodaje obsługę GNU Prologa do biblioteki Parma Polyhedra
246Library (PPL). Należy go zainstalować, aby móc korzystać z biblioteki
247w GNU Prologu.
248
828240ff 249%package -n gprolog-ppl-static
b3a71a7e 250Summary: The static archive for the GNU Prolog interface of the Parma Polyhedra Library
b6b7794a 251Summary(pl.UTF-8): Statyczna biblioteka interfejsu GNU Prologa do biblioteki PPL
b3a71a7e 252Group: Development/Libraries
828240ff 253Requires: gprolog-ppl = %{version}-%{release}
294b87ca 254Obsoletes: ppl-gprolog-static
b3a71a7e 255
828240ff 256%description -n gprolog-ppl-static
b3a71a7e
ER
257This package contains the static archive for the GNU Prolog interface
258of the Parma Polyhedra Library.
259
828240ff 260%description -n gprolog-ppl-static -l pl.UTF-8
b6b7794a
JB
261Statyczna biblioteka interfejsu GNU Prologa do biblioteki Parma
262Polyhedra Library.
263
294b87ca 264%package -n swipl-ppl
b3a71a7e 265Summary: The SWI-Prolog interface of the Parma Polyhedra Library
b6b7794a
JB
266Summary(pl.UTF-8): Interfejs SWI-Prologa do biblioteki Parma Polyhedra Library
267Group: Libraries
b3a71a7e 268Requires: %{name} = %{version}-%{release}
b3a71a7e 269Requires: pl >= 5.10.2-3
294b87ca 270Obsoletes: ppl-swiprolog
b3a71a7e 271
294b87ca 272%description -n swipl-ppl
b3a71a7e
ER
273This package adds SWI-Prolog support to the Parma Polyhedra Library.
274Install this package if you want to use the library in SWI-Prolog
275programs.
276
294b87ca 277%description -n swipl-ppl -l pl.UTF-8
b6b7794a
JB
278Ten pakiet dodaje obsługę SWI-Prologa do biblioteki Parma Polyhedra
279Library (PPL). Należy go zainstalować, aby móc korzystać z biblioteki
280w SWI-Prologu.
281
294b87ca 282%package -n swipl-ppl-static
b3a71a7e 283Summary: The static archive for the SWI-Prolog interface of the Parma Polyhedra Library
b6b7794a 284Summary(pl.UTF-8): Statyczna biblioteka interfejsu SWI-Prologa do biblioteki PPL
b3a71a7e
ER
285Group: Development/Libraries
286Requires: %{name}-swiprolog = %{version}-%{release}
294b87ca 287Obsoletes: ppl-swiprolog-static
b3a71a7e 288
294b87ca 289%description -n swipl-ppl-static
b3a71a7e
ER
290This package contains the static archive for the SWI-Prolog interface
291of the Parma Polyhedra Library.
292
294b87ca 293%description -n swipl-ppl-static -l pl.UTF-8
b6b7794a
JB
294Statyczna biblioteka interfejsu SWI-Prologa do biblioteki Parma
295Polyhedra Library.
296
435f93e6 297%package -n Yap-ppl
b3a71a7e 298Summary: The YAP Prolog interface of the Parma Polyhedra Library
b6b7794a
JB
299Summary(pl.UTF-8): Interfejs YAP Prologa do biblioteki Parma Polyhedra Library
300Group: Libraries
b3a71a7e 301Requires: %{name} = %{version}-%{release}
435f93e6
JB
302Requires: Yap >= 5.1.1
303Obsoletes: ppl-yap
b3a71a7e
ER
304Obsoletes: ppl-yap-static
305
435f93e6 306%description -n Yap-ppl
b3a71a7e
ER
307This package adds YAP Prolog support to the Parma Polyhedra Library
308(PPL). Install this package if you want to use the library in YAP
309Prolog programs.
310
435f93e6 311%description -n Yap-ppl -l pl.UTF-8
b6b7794a
JB
312Ten pakiet dodaje obsługę YAP Prologa do biblioteki Parma Polyhedra
313Library (PPL). Należy go zainstalować, aby móc korzystać z biblioteki
314w YAP Prologu.
315
b3a71a7e
ER
316%package -n ocaml-ppl
317Summary: The OCaml interface of the Parma Polyhedra Library
b6b7794a
JB
318Summary(pl.UTF-8): Interfejs OCamla do biblioteki Parma Polyhedra Library
319Group: Libraries
b3a71a7e 320Requires: %{name} = %{version}-%{release}
af7f1118 321Requires: ocaml-gmp
b3a71a7e
ER
322
323%description -n ocaml-ppl
324This package adds Objective Caml (OCaml) support to the Parma
325Polyhedra Library. Install this package if you want to use the library
326in OCaml programs.
327
b6b7794a
JB
328%description -n ocaml-ppl -l pl.UTF-8
329Ten pakiet dodaje obsługę Objective Camla (OCamla) do biblioteki Parma
330Polyhedra Library (PPL). Należy go zainstalować, aby móc korzystać z
331biblioteki w OCamlu.
332
b3a71a7e 333%package -n ocaml-ppl-devel
b6b7794a
JB
334Summary: Development files for OCaml interface of the Parma Polyhedra Library
335Summary(pl.UTF-8): Pliki programistyczne interfejsu OCamla biblioteki PPL
b3a71a7e
ER
336Group: Development/Libraries
337Requires: ocaml-ppl = %{version}-%{release}
338
339%description -n ocaml-ppl-devel
340This package contains libraries and signature files for developing
341applications using the OCaml interface of the Parma Polyhedra Library.
342
b6b7794a
JB
343%description -n ocaml-ppl-devel -l pl.UTF-8
344Ten pakiet zawiera pliki bibliotek i sygnatur do tworzenia aplikacji
345wykorzystujących interfejs OCamla biblioteki Parma Polyhedra Library.
346
b3a71a7e
ER
347%package -n java-ppl
348Summary: The Java interface of the Parma Polyhedra Library
b6b7794a
JB
349Summary(pl.UTF-8): Interfejs Javy do biblioteki Parma Polyhedra Library
350Group: Libraries
b3a71a7e
ER
351Requires: %{name} = %{version}-%{release}
352Requires: jpackage-utils
353
354%description -n java-ppl
355This package adds Java support to the Parma Polyhedra Library. Install
356this package if you want to use the library in Java programs.
357
b6b7794a
JB
358%description -n java-ppl -l pl.UTF-8
359Ten pakiet dodaje obsługę Javy do biblioteki Parma Polyhedra Library.
360Należy go zainstalować, aby móc korzystać z biblioteki w Javie.
361
b3a71a7e
ER
362%package -n java-ppl-javadoc
363Summary: Javadocs for java-ppl
b6b7794a 364Summary(pl.UTF-8): Dokumentacja Javadoc do pakietu java-ppl
b3a71a7e
ER
365Group: Documentation
366Requires: java-ppl = %{version}-%{release}
367Requires: jpackage-utils
368
369%description -n java-ppl-javadoc
370This package contains the API documentation for Java interface of the
371Parma Polyhedra Library.
372
b6b7794a
JB
373%description -n java-ppl-javadoc -l pl.UTF-8
374Ten pakiet zawiera dokumentację API do interfejsu Javy biblioteki
375Parma Polyhedra Library.
b3a71a7e
ER
376
377%prep
378%setup -q
d749bea6 379%patch0 -p1
b3a71a7e
ER
380
381%build
d749bea6
JB
382%{__libtoolize}
383%{__aclocal} -I m4
384%{__autoconf}
385%{__autoheader}
386%{__automake}
b3a71a7e
ER
387CPPFLAGS="-I%{_includedir}/glpk"
388%if %{with gprolog}
389CPPFLAGS="$CPPFLAGS -I%{_libdir}/gprolog-`gprolog --version 2>&1 | head -1 | sed -e "s/.* \([^ ]*\)$/\1/g"`/include"
390%endif
294b87ca 391%if %{with swipl}
b3a71a7e
ER
392CPPFLAGS="$CPPFLAGS -I`swipl -dump-runtime-variables | grep PLBASE= | sed 's/PLBASE="\(.*\)";/\1/'`/include"
393%endif
435f93e6 394%if %{with yap}
b3a71a7e
ER
395CPPFLAGS="$CPPFLAGS -I%{_includedir}/Yap"
396%endif
397
398%configure \
b3a71a7e 399 --docdir=%{_docdir}/%{name}-%{version} \
ef727740 400 %{?with_java:--with-java=%{java_home}} \
86484c6d 401 --enable-interfaces="c++ c %{?with_ocaml:ocaml} %{?with_java:java} %{?with_ciao:ciao_prolog} %{?with_gprolog:gnu_prolog} %{?with_swipl:swi_prolog} %{?with_xsb:xsb_prolog} %{?with_yap:yap_prolog}"
b3a71a7e
ER
402
403%{__make}
404
405%install
406rm -rf $RPM_BUILD_ROOT
828240ff
JB
407# let these dirs exist even if no bindings are build
408install -d $RPM_BUILD_ROOT{%{_libdir}/%{name},%{_datadir}/%{name}}
409
b3a71a7e
ER
410%{__make} install \
411 INSTALL="%{__install} -p" \
412 DESTDIR=$RPM_BUILD_ROOT
413
b3a71a7e
ER
414%if %{with java}
415# Install the Javadocs for ppl-java.
416install -d $RPM_BUILD_ROOT%{_javadocdir}
417mv \
418 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/ppl-user-java-interface-%{version}-html \
419 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-java
420%endif
421
86484c6d 422%if %{with java} || %{with ciao} || %{with gprolog} || %{with swipl} || %{with xsb} || %{with yap}
3dc0db56
JB
423%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
424%endif
425
426# common licenses
427%{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{COPYING,fdl.*,gpl.*}
428# packaged in .pdf format
429%{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/ppl-user*-%{version}.ps.gz
430
b3a71a7e
ER
431%clean
432rm -rf $RPM_BUILD_ROOT
433
434%post -p /sbin/ldconfig
435%postun -p /sbin/ldconfig
436
b3a71a7e
ER
437%files
438%defattr(644,root,root,755)
439%dir %{_docdir}/%{name}-%{version}
440%doc %{_docdir}/%{name}-%{version}/BUGS
b3a71a7e
ER
441%doc %{_docdir}/%{name}-%{version}/CREDITS
442%doc %{_docdir}/%{name}-%{version}/NEWS
443%doc %{_docdir}/%{name}-%{version}/README
444%doc %{_docdir}/%{name}-%{version}/README.configure
445%doc %{_docdir}/%{name}-%{version}/TODO
b3a71a7e 446%attr(755,root,root) %{_libdir}/libppl.so.*.*.*
3dc0db56 447%attr(755,root,root) %ghost %{_libdir}/libppl.so.10
b3a71a7e 448%attr(755,root,root) %{_libdir}/libppl_c.so.*.*.*
b6b7794a 449%attr(755,root,root) %ghost %{_libdir}/libppl_c.so.4
b3a71a7e 450%dir %{_libdir}/%{name}
828240ff 451%dir %{_datadir}/%{name}
b3a71a7e
ER
452
453%files devel
454%defattr(644,root,root,755)
455%attr(755,root,root) %{_bindir}/ppl-config
b6b7794a
JB
456%attr(755,root,root) %{_libdir}/libppl.so
457%attr(755,root,root) %{_libdir}/libppl_c.so
3dc0db56
JB
458%{_libdir}/libppl.la
459%{_libdir}/libppl_c.la
b3a71a7e
ER
460%{_includedir}/ppl*.hh
461%{_includedir}/ppl_c*.h
b3a71a7e
ER
462%{_mandir}/man1/ppl-config.1*
463%{_mandir}/man3/libppl.3*
464%{_mandir}/man3/libppl_c.3*
465%{_aclocaldir}/ppl.m4
466%{_aclocaldir}/ppl_c.m4
467
468%files static
469%defattr(644,root,root,755)
470%{_libdir}/libppl.a
471%{_libdir}/libppl_c.a
472
473%files utils
474%defattr(644,root,root,755)
475%attr(755,root,root) %{_bindir}/ppl_lcdd
476%attr(755,root,root) %{_bindir}/ppl_lpsol
477%attr(755,root,root) %{_bindir}/ppl_pips
478%{_mandir}/man1/ppl_lcdd.1*
479%{_mandir}/man1/ppl_lpsol.1*
480%{_mandir}/man1/ppl_pips.1*
481
482%files docs
483%defattr(644,root,root,755)
484%doc %{_docdir}/%{name}-%{version}/ChangeLog*
485%doc %{_docdir}/%{name}-%{version}/README.doc
b3a71a7e
ER
486%doc %{_docdir}/%{name}-%{version}/ppl-user-%{version}-html/
487%doc %{_docdir}/%{name}-%{version}/ppl-user-c-interface-%{version}-html/
488%doc %{_docdir}/%{name}-%{version}/ppl-user-c-interface-%{version}.pdf
b3a71a7e 489%doc %{_docdir}/%{name}-%{version}/ppl-user-%{version}.pdf
b3a71a7e 490
86484c6d 491%if %{with ciao} || %{with gprolog} || %{with swipl} || %{with xsb} || %{with yap}
b3a71a7e
ER
492%doc %{_docdir}/%{name}-%{version}/ppl-user-prolog-interface-%{version}-html/
493%doc %{_docdir}/%{name}-%{version}/ppl-user-prolog-interface-%{version}.pdf
b3a71a7e
ER
494%endif
495
86484c6d
JB
496%if %{with xsb}
497%files -n XSB-ppl
498%defattr(644,root,root,755)
499%attr(755,root,root) %{_libdir}/%{name}/libppl_xsb.so
500%{_datadir}/%{name}/ppl_xsb.xwam
501
502%files -n XSB-ppl-static
503%defattr(644,root,root,755)
504%{_libdir}/%{name}/libppl_xsb.a
505%endif
506
d749bea6
JB
507%if %{with ciao}
508%files -n Ciao-ppl
509%defattr(644,root,root,755)
510%doc interfaces/Prolog/Ciao/README.ciao
511%attr(755,root,root) %{_libdir}/%{name}/libppl_ciao.so
512%{_datadir}/%{name}/ppl_ciao.po
513
514%files -n Ciao-ppl-static
515%defattr(644,root,root,755)
516%{_libdir}/%{name}/libppl_ciao.a
517%endif
518
b3a71a7e 519%if %{with gprolog}
828240ff 520%files -n gprolog-ppl
b3a71a7e
ER
521%defattr(644,root,root,755)
522%doc interfaces/Prolog/GNU/README.gprolog
523%attr(755,root,root) %{_bindir}/ppl_gprolog
b3a71a7e 524%attr(755,root,root) %{_libdir}/%{name}/libppl_gprolog.so
828240ff 525%{_datadir}/%{name}/ppl_gprolog.pl
b3a71a7e 526
828240ff 527%files -n gprolog-ppl-static
b3a71a7e
ER
528%defattr(644,root,root,755)
529%{_libdir}/%{name}/libppl_gprolog.a
530%endif
531
294b87ca
JB
532%if %{with swipl}
533%files -n swipl-ppl
b3a71a7e
ER
534%defattr(644,root,root,755)
535%doc interfaces/Prolog/SWI/README.swiprolog
536%attr(755,root,root) %{_bindir}/ppl_pl
537%attr(755,root,root) %{_libdir}/%{name}/libppl_swiprolog.so
294b87ca 538%{_datadir}/%{name}/ppl_swiprolog.pl
b3a71a7e 539
294b87ca 540%files -n swipl-ppl-static
b3a71a7e
ER
541%defattr(644,root,root,755)
542%{_libdir}/%{name}/libppl_swiprolog.a
543%endif
544
435f93e6
JB
545%if %{with yap}
546%files -n Yap-ppl
b3a71a7e
ER
547%defattr(644,root,root,755)
548%doc interfaces/Prolog/YAP/README.yap
b3a71a7e 549%attr(755,root,root) %{_libdir}/%{name}/ppl_yap.so
435f93e6 550%{_datadir}/%{name}/ppl_yap.pl
b3a71a7e
ER
551%endif
552
553%if %{with ocaml}
554%files -n ocaml-ppl
555%defattr(644,root,root,755)
556%doc interfaces/OCaml/README.ocaml
af7f1118 557%{_libdir}/%{name}/ppl_ocaml.a
b3a71a7e 558%{_libdir}/%{name}/ppl_ocaml.cma
af7f1118 559%{_libdir}/%{name}/ppl_ocaml.cmxa
b3a71a7e
ER
560%{_libdir}/%{name}/ppl_ocaml.cmi
561%{_libdir}/%{name}/ppl_ocaml_globals.cmi
562
563%files -n ocaml-ppl-devel
564%defattr(644,root,root,755)
b3a71a7e
ER
565%doc %{_docdir}/%{name}-%{version}/ppl-user-ocaml-interface-%{version}.pdf
566%doc %{_docdir}/%{name}-%{version}/ppl-user-ocaml-interface-%{version}-html/
567%{_libdir}/%{name}/libppl_ocaml.a
568%{_libdir}/%{name}/ppl_ocaml.mli
569%endif
570
571%if %{with java}
572%files -n java-ppl
573%defattr(644,root,root,755)
574%doc interfaces/Java/README.java
575%attr(755,root,root) %{_libdir}/%{name}/libppl_java.so
576%{_libdir}/%{name}/ppl_java.jar
577
578%files -n java-ppl-javadoc
579%defattr(644,root,root,755)
580%doc %{_docdir}/%{name}-%{version}/ppl-user-java-interface-%{version}.pdf
b3a71a7e
ER
581%{_javadocdir}/%{name}-java
582%endif
This page took 0.153131 seconds and 4 git commands to generate.