File libbitmask.spec of Package libbitmask
#
# spec file for package libbitmask (Version 2.0)
#
# Copyright (c) 2008 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/
#
# norootforbuild
Url: http://oss.sgi.com/projects/cpusets/
Name: libbitmask
License: LGPL v2.1 or later
Summary: Multi-word bitmask abstract data type (used by cpusets)
Version: 2.0
Release: 4
AutoReqProv: on
Source: libbitmask-%{version}.tar.bz2
Group: Development/Languages/C and C++
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libbitmask1 = %{version}-%{release}
%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.
Authors:
--------
Paul Jackson <pj@sgi.com>
%package -n libbitmask1
License: LGPL v2.1 or later
Summary: Multi-word bitmask abstract data type (used by cpusets)
Group: Development/Languages/C and C++
AutoReqProv: on
%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.
Authors:
--------
Paul Jackson <pj@sgi.com>
%package -n libbitmask-devel
License: LGPL v2.1 or later
Summary: Multi-word bitmask abstract data type (used by cpusets)
Group: Development/Languages/C and C++
AutoReqProv: on
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.
Authors:
--------
Paul Jackson <pj@sgi.com>
%prep
%setup -n %{name}
%build
autoreconf -i
%configure
make
%install
%makeinstall
rm -f $RPM_BUILD_ROOT/%{_libdir}/lib*a
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libbitmask1 -p /sbin/ldconfig
%postun -n libbitmask1 -p /sbin/ldconfig
%files -n libbitmask1
%defattr(-,root,root)
%{_libdir}/lib*so.*
%files -n libbitmask-devel
%defattr(-,root,root)
%doc %{_mandir}/man3/*
%{_includedir}/*
%{_libdir}/lib*so
%{_docdir}/libbitmask/libbitmask.*
%dir %{_docdir}/libbitmask
%changelog
* Wed Oct 22 2008 mrueckert@suse.de
- fix debug_packages_requires define
* Fri Aug 01 2008 ro@suse.de
- fix requires for debuginfo package
* Sat Jul 19 2008 bwalle@suse.de
- initial SUSE package (FATE #304274)