Files
rtems/scripts/rtems/rtems-source.add
Ralf Corsepius 5d85028701 2004-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/rtems-source.add: New.
	* Makefile.am: Add rtems/rtems-source.spec handling.
	* configure.ac: AC_SUBST(RTEMS_VERSION,[_RTEMS_VERSION]).
	* common/common.add.in: Use www.rtems.com as Vendor.
2004-02-09 13:21:24 +00:00

38 lines
1.0 KiB
Plaintext

Name: %{rpmprefix}rtems-source
Version: @rtems_version@
Release: 1
Epoch: 0
Summary: RTEMS source code
Group: %{rpmgroup}
License: GPL with special exception for linking with application program
URL: http://www.rtems.com
Source0: ftp://ftp.rtems.com/pub/rtems/SOURCES/rtems-%{version}.tar.bz2
Prefix: %{_prefix}/src
BuildArch: noarch
#---------------------------------------------------------------------
Requires: %{rpmprefix}automake-rtems < 1.8
Requires: %{rpmprefix}automake-rtems >= 1.7.2
Requires: %{rpmprefix}autoconf-rtems <= 2.59
Requires: %{rpmprefix}autoconf-rtems >= 2.57
%description
RTEMS is an open source operating system for embedded systems.
%prep
%setup -q -c -T -n %{name}-%{version} -a0
%build
%install
rm -rf $RPM_BUILD_ROOT
install -d -m 0755 ${RPM_BUILD_ROOT}%{_prefix}/src
cp -a rtems-%{version} ${RPM_BUILD_ROOT}%{_prefix}/src
%files
%defattr(-,root,root,-)
%doc */LICENSE* */COPYING */README */README.configure
%{_prefix}/src