Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
swipl
swipl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File swipl.spec of Package swipl
# # spec file for package swipl # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: swipl Version: 7.2.2 Release: 0 Summary: Prolog Compiler License: GPL-2.0+ and LGPL-2.1+ Group: Development/Languages/Other Url: http://www.swi-prolog.org # See PREPARE_PACKAGE for instructions on how to create archive. Source0: swipl-%{version}.tar.gz Source99: PREPARE_PACKAGE # FIXME: these patches are undocumented. Patch0: pl.patch Patch1: pkgconfig.patch Patch2: internal_fix.patch Patch3: swipl-ppc64.patch BuildRequires: fdupes BuildRequires: freetype2-devel BuildRequires: gcc-c++ BuildRequires: gmp-devel BuildRequires: java-devel >= 1.6.0 BuildRequires: libarchive-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libunwind-devel BuildRequires: mysql-devel BuildRequires: openssl-devel BuildRequires: postgresql-devel BuildRequires: readline-devel BuildRequires: texlive BuildRequires: texlive-latex BuildRequires: unixODBC-devel BuildRequires: xorg-x11 BuildRequires: xorg-x11-Xvfb BuildRequires: xorg-x11-devel Provides: swi-prolog = %{version} Provides: swi_pl = %{version} Obsoletes: swi-prolog < %{version} Obsoletes: swi_pl < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Edinburgh-style Prolog compiler including modules, autoload, libraries, Garbage collector, stack expandor, C interface, GNU readline and GNU Emacs interface, a very fast compiler,and an X11 interface using XPCE (see http://www.swi.psy.uva.nl/projects/xpce). %prep %setup -q %patch0 -p 1 %patch1 -p 1 %patch2 -p 1 %patch3 -p 1 %build cp -p build.templ build export COFLAGS="%{optflags} -fno-strict-aliasing" ./build --prefix=%{_prefix} --config --libdir=%{_libdir} --enable-shared ./build --prefix=%{_prefix} --make %{?_smp_mflags} unset COFLAGS %install DESTDIR=%{buildroot} ./build --prefix=%{_prefix} --install # Add another symlink cd %{buildroot}/%{_prefix}/bin ln -s ../%{_lib}/%{name}-%{version}/bin/*/swipl pl # Add a link to the documentation in docdir. mkdir -p %{buildroot}/%{_docdir} cd %{buildroot}/%{_docdir} ln -s %{_libdir}/%{name}-%{version}/doc swipl chmod -x %{buildroot}/%{_libdir}/%{name}-%{version}/doc/packages/examples/pldoc/man_server.pl %fdupes %{buildroot}/%{_libdir}/%{name}-%{version} %files %defattr(-,root,root,-) %{_bindir}/pl %{_bindir}/swipl %{_bindir}/swipl-ld %{_bindir}/swipl-rc %{_bindir}/xpce-client %{_libdir}/%{name}-%{version} %{_libdir}/pkgconfig/%{name}.pc %{_docdir}/%{name} %{_mandir}/man1/swipl-ld.1.gz %{_mandir}/man1/swipl-rc.1.gz %{_mandir}/man1/swipl.1.gz %{_mandir}/man1/xpce-client.1.gz %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor