forked from Imagelibrary/rtems
54 lines
1.4 KiB
RPMSpec
54 lines
1.4 KiB
RPMSpec
Name: @PACKAGE_NAME@
|
|
Version: @VERSION@
|
|
Release: 1%{?dist}
|
|
Epoch: 0
|
|
Group: Development/Tools
|
|
License: GPL
|
|
Source0: @PACKAGE_TARNAME@-@VERSION@.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildArch: noarch
|
|
|
|
Summary: Apt/yum configurations for RTEMS
|
|
%description
|
|
Apt/yum configuration files to access the apt/yum repositories at ftp://ftp.rtems.com
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%package -n rtems-@RTEMS_API@-apt-conf
|
|
Summary: Apt-repomd configuration for RTEMS/@RTEMS_API@
|
|
Group: RTEMS/@RTEMS_API@
|
|
Requires: apt >= 0.5.15lorg3
|
|
|
|
%description -n rtems-@RTEMS_API@-apt-conf
|
|
Apt-repomd configuration for RTEMS/@RTEMS_API@
|
|
|
|
%files -n rtems-@RTEMS_API@-apt-conf
|
|
%defattr(-,root,root,-)
|
|
%{_sysconfdir}/apt/gpg
|
|
%config(noreplace) %{_sysconfdir}/apt/sources.list.d/rtems-@RTEMS_API@.list
|
|
%{_sysconfdir}/apt/vendors.list.d/rtems.list
|
|
|
|
%package -n rtems-@RTEMS_API@-yum-conf
|
|
Summary: yum configuration for RTEMS/@RTEMS_API@
|
|
Group: RTEMS/@RTEMS_API@
|
|
Requires: yum > 2.0
|
|
|
|
%description -n rtems-@RTEMS_API@-yum-conf
|
|
Yum configuration for RTEMS/@RTEMS_API@
|
|
|
|
%files -n rtems-@RTEMS_API@-yum-conf
|
|
%defattr(-,root,root,-)
|
|
%{_sysconfdir}/pki/rpm-gpg/gpg-pubkey*
|
|
%config(noreplace) %{_sysconfdir}/yum.repos.d/*.repo
|