File libbitmask.spec of Package libbitmask

#
# spec file for package libbitmask (Version 2.0)
#
# Copyright (c) 2009 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:        5
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 -q -n %{name}

%build
autoreconf -i
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}

%install
%makeinstall
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la

%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
* Thu Apr 16 2009 crrodriguez@suse.de
- use --disable-static
* 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)