- Drop --with-pic (no effect with --disable-static) OBS-URL: https://build.opensuse.org/request/show/898071 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbitmask?expand=0&rev=11
84 lines
2.5 KiB
RPMSpec
84 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package libbitmask
|
|
#
|
|
# Copyright (c) 2021 SUSE LLC
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
URL: http://oss.sgi.com/projects/cpusets/
|
|
|
|
Name: libbitmask
|
|
Summary: Multi-word bitmask abstract data type (used by cpusets)
|
|
License: LGPL-2.1-or-later
|
|
Group: Development/Libraries/C and C++
|
|
Version: 2.0
|
|
Release: 0
|
|
Source: libbitmask-%{version}.tar.bz2
|
|
BuildRequires: libtool
|
|
|
|
%description
|
|
The Cpuset System is a processor and memory placement mechanism that
|
|
The libbitmask package provides an abstract data type for arbitrary
|
|
length bit masks, with a variety of operators. The cpuset package
|
|
depends on libbitmask.
|
|
|
|
%package -n libbitmask1
|
|
Summary: Multi-word bitmask abstract data type (used by cpusets)
|
|
Group: System/Libraries
|
|
|
|
%description -n libbitmask1
|
|
The Cpuset System is a processor and memory placement mechanism that
|
|
The libbitmask package provides an abstract data type for arbitrary
|
|
length bit masks, with a variety of operators. The cpuset package
|
|
depends on libbitmask.
|
|
|
|
%package -n libbitmask-devel
|
|
Summary: Multi-word bitmask abstract data type (used by cpusets)
|
|
Group: Development/Libraries/C and C++
|
|
Requires: libbitmask1 = %{version}
|
|
|
|
%description -n libbitmask-devel
|
|
The Cpuset System is a processor and memory placement mechanism that
|
|
The libbitmask package provides an abstract data type for arbitrary
|
|
length bit masks, with a variety of operators. The cpuset package
|
|
depends on libbitmask.
|
|
|
|
%prep
|
|
%autosetup -n %{name}
|
|
|
|
%build
|
|
autoreconf -i
|
|
%configure --disable-static
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
%post -n libbitmask1 -p /sbin/ldconfig
|
|
|
|
%postun -n libbitmask1 -p /sbin/ldconfig
|
|
|
|
%files -n libbitmask1
|
|
%{_libdir}/lib*so.*
|
|
|
|
%files -n libbitmask-devel
|
|
%doc %{_mandir}/man3/*
|
|
%{_includedir}/*
|
|
%{_libdir}/lib*so
|
|
%{_docdir}/libbitmask/libbitmask.*
|
|
%dir %{_docdir}/libbitmask
|
|
|
|
%changelog
|