diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-02-09 13:21:24 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-02-09 13:21:24 +0000 |
commit | 5d850287011955ee00514cbf2e376c1d98de4ecd (patch) | |
tree | 0ce7b4595adf1393e4215bd826689ec4476be2fa /scripts/rtems | |
parent | 2004-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-5d850287011955ee00514cbf2e376c1d98de4ecd.tar.bz2 |
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.
Diffstat (limited to 'scripts/rtems')
-rw-r--r-- | scripts/rtems/rtems-source.add | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/scripts/rtems/rtems-source.add b/scripts/rtems/rtems-source.add new file mode 100644 index 0000000000..4197361081 --- /dev/null +++ b/scripts/rtems/rtems-source.add @@ -0,0 +1,37 @@ +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 + |