2012-10-14 05:20:22 +02:00
|
|
|
#
|
2019-01-27 21:58:02 +01:00
|
|
|
# spec file for package libmaa
|
|
|
|
#
|
2020-04-14 10:57:38 +02:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2019-01-27 21:58:02 +01:00
|
|
|
#
|
|
|
|
# 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 https://bugs.opensuse.org/
|
2012-10-14 05:20:22 +02:00
|
|
|
#
|
|
|
|
|
2019-01-27 21:58:02 +01:00
|
|
|
|
2019-01-26 18:58:36 +01:00
|
|
|
%define soname 4
|
2012-10-14 05:20:22 +02:00
|
|
|
Name: libmaa
|
2020-04-14 10:57:38 +02:00
|
|
|
Version: 1.4.7
|
2019-01-27 21:58:02 +01:00
|
|
|
Release: 0
|
2012-10-14 05:20:22 +02:00
|
|
|
Summary: Library providing many low-level data structures
|
2019-04-24 11:16:47 +02:00
|
|
|
License: MIT
|
2020-04-14 10:57:38 +02:00
|
|
|
URL: http://www.dict.org
|
2019-01-26 18:58:36 +01:00
|
|
|
Source0: https://downloads.sourceforge.net/dict/%{name}-%{version}.tar.gz
|
2019-01-27 21:58:02 +01:00
|
|
|
BuildRequires: mk-configure
|
2020-04-14 10:57:38 +02:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
2012-10-14 05:20:22 +02:00
|
|
|
|
2020-04-14 10:57:38 +02:00
|
|
|
%description
|
2019-01-29 09:39:48 +01:00
|
|
|
The libmaa library provides many low-level data structures which can
|
|
|
|
be used for writing compilers, hash tables, sets, lists,
|
|
|
|
debugging support, and memory management. libmaa was originally
|
|
|
|
implemented as a foundation for the "kheperalong" package.
|
2012-10-14 05:20:22 +02:00
|
|
|
|
|
|
|
%package -n %{name}%{soname}
|
2019-01-27 21:58:02 +01:00
|
|
|
Summary: Library providing many low-level data structures
|
|
|
|
Group: System/Libraries
|
2012-10-14 05:20:22 +02:00
|
|
|
|
|
|
|
%description -n %{name}%{soname}
|
2019-01-29 09:39:48 +01:00
|
|
|
The libmaa library provides many low-level data structures which can
|
|
|
|
be used for writing compilers, hash tables, sets, lists,
|
|
|
|
debugging support, and memory management. libmaa was originally
|
|
|
|
implemented as a foundation for the "kheperalong" package.
|
2012-10-14 05:20:22 +02:00
|
|
|
|
|
|
|
%package -n %{name}-devel
|
|
|
|
Summary: Development files for libmaa
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libmaa%{soname} = %{version}
|
|
|
|
|
|
|
|
%description -n %{name}-devel
|
2019-01-29 09:39:48 +01:00
|
|
|
This RPM contains the development files for libmaa.
|
2012-10-14 05:20:22 +02:00
|
|
|
|
2019-01-26 18:58:36 +01:00
|
|
|
%package doc
|
|
|
|
Summary: Documentation files for libmaa
|
|
|
|
Group: Documentation/Other
|
2019-01-29 09:39:48 +01:00
|
|
|
BuildArch: noarch
|
2019-01-26 18:58:36 +01:00
|
|
|
|
|
|
|
%description doc
|
2019-01-29 09:39:48 +01:00
|
|
|
This RPM contains the documentation files for libmaa.
|
2019-01-26 18:58:36 +01:00
|
|
|
|
2012-10-14 05:20:22 +02:00
|
|
|
%prep
|
2020-04-14 10:57:38 +02:00
|
|
|
%autosetup
|
2019-04-24 11:16:47 +02:00
|
|
|
|
|
|
|
%define env \
|
|
|
|
unset MAKEFLAGS \
|
|
|
|
export MKSTATICLIB=no \
|
|
|
|
export NOSUBDIR=doc
|
2012-10-14 05:20:22 +02:00
|
|
|
|
|
|
|
%build
|
2020-04-14 10:57:38 +02:00
|
|
|
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200
|
|
|
|
mkc_compiler_settings
|
|
|
|
%endif
|
2019-04-24 11:16:47 +02:00
|
|
|
%{env}
|
|
|
|
%{mkcmake}
|
2012-10-14 05:20:22 +02:00
|
|
|
|
|
|
|
%install
|
2019-04-24 11:16:47 +02:00
|
|
|
%{env}
|
|
|
|
%{mkcmake} install DESTDIR=%{?buildroot}
|
2012-10-14 05:20:22 +02:00
|
|
|
|
|
|
|
%post -n %{name}%{soname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{name}%{soname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %{name}%{soname}
|
2019-01-26 18:58:36 +01:00
|
|
|
%license doc/LICENSE
|
|
|
|
%doc README doc/NEWS
|
2012-10-14 05:20:22 +02:00
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files -n %{name}-devel
|
|
|
|
%{_includedir}/maa*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
2019-01-26 18:58:36 +01:00
|
|
|
%files doc
|
|
|
|
%license doc/LICENSE
|
|
|
|
%doc doc/*.ps*
|
|
|
|
|
2012-10-14 05:20:22 +02:00
|
|
|
%changelog
|