File librcps.spec of Package librcps
#
# spec file for package librcps (Version 0.3)
#
# Copyright (c) 2010 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
Name: librcps
Version: 0.3
Release: 1
License: GPL
Summary: A open source library for resource constrained project scheduling
Url: http://www.librcps.org/
Group: Development/Libraries/C and C++
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
BuildRequires: texlive-latex
%description
A versatile, powerful and fast open source library for resource constrained project scheduling
Authors:
--------
Robert Lemmen <robertle@semistable.com>
%package devel
License: GPL
Summary: Development and Include Files for libraw1394
Group: Development/Libraries/C and C++
Requires: librcps0 = %{version}
%description devel
A versatile, powerful and fast open source library for resource constrained project scheduling
Authors:
--------
Robert Lemmen <robertle@semistable.com>
%package -n librcps0
License: GPL
Summary: Development and Include Files for libraw1394
Group: Development/Libraries/C and C++
%description -n librcps0
A versatile, powerful and fast open source library for resource constrained project scheduling
Authors:
--------
Robert Lemmen <robertle@semistable.com>
%prep
%setup -q -n %{name}-%{version}
%build
autoreconf --force --install
export CFLAGS="%optflags"
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs} all
%install
%{__make} install DESTDIR=%{buildroot}
%clean
rm -rf $RPM_BUILD_ROOT
%post -n librcps0 -p /sbin/ldconfig
%postun -n librcps0 -p /sbin/ldconfig
%files -n librcps0
%defattr(-,root,root)
%doc AUTHORS COPYING* NEWS README
%{_libdir}/librcps.so.*
%files devel
%defattr(-,root,root)
/usr/include/librcps.h
%{_libdir}/librcps.so
%{_libdir}/librcps.la
%changelog