librcps/librcps.spec

61 lines
1.6 KiB
RPMSpec

Name: librcps
Version: 0.3
Release: 1mamba
Summary: Resource constrained project scheduling library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.librcps.org
Source: http://www.librcps.org/librcps-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
LibRCPS aims to be a versatile, powerful and fast open source library for resource constrained project scheduling.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
LibRCPS aims to be a versatile, powerful and fast open source library for resource constrained project scheduling.
This package contains static libraries and header files need for development.
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/librcps.so.*
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%files devel
%defattr(-,root,root)
%{_includedir}/librcps.h
%{_libdir}/librcps.a
%{_libdir}/librcps.la
%{_libdir}/librcps.so
%changelog
* Fri Jul 09 2010 Davide Madrisan <davide.madrisan@gmail.com> 0.3-1mamba
- package created by autospec