gap-io/gap-io.spec

61 lines
1.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package gap-io
#
# Copyright (c) 2013 SUSE LINUX Products 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: gap-io
Summary: GAP: Bindings for low level C library IO
Version: 4.4.6
Release: 0
License: GPL-3.0+
Group: Productivity/Scientific/Math
URL: http://gap-packages.github.io/io/
Source: https://www.gap-system.org/pub/gap/gap4/tar.bz2/packages/io-%version.tar.bz2
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fdupes
BuildRequires: gap-devel >= 4.5.5
BuildRequires: gap-rpm-devel
BuildRequires: gmp-devel
BuildRequires: libtool
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: gap-core >= 4.5.5
Requires: gap-gapdoc >= 1.2
%description
The IO package provides bindings for GAP to the lower levels of
Input/Output functionality in the C library.
%prep
%setup -qn io-%version
%build
autoreconf -fi
%configure --with-gaproot="%gapdir"
make %{?_smp_mflags} DESTDIR="%buildroot"
rm -Rf {aclocal*,autom4*,cnf,config*,m4,src}
find . -type f -name "*.la" -delete
%install
%gappkg_simple_install
%fdupes %buildroot/%_prefix
%files -f %name.files
%defattr(-,root,root)
%changelog