source: rtems/contrib/repo-conf/rtems-repo-conf.spec.in @ c51adc79

4.104.11
Last change on this file since c51adc79 was c51adc79, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 19, 2008 at 3:31:05 AM

Update.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1Name:           @PACKAGE_NAME@
2Version:        @VERSION@
3Release:        1%{?dist}
4Epoch:          0
5Group:          Development/Tools
6License:        GPL
7Source0:        @PACKAGE_TARNAME@-@VERSION@.tar.bz2
8BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
9BuildArch:      noarch
10
11Summary:        Apt/yum configurations for RTEMS
12%description
13Apt/yum configuration files to access the apt/yum repositories at ftp://ftp.rtems.com
14
15%prep
16%setup -q
17
18%build
19case "%{?dist}" in
20.el*) extra_arg=--enable-osname="centos-%{rhel}";;
21.fc*) extra_arg=--enable-osname="fedora-%{fedora}";;
22.suse*) extra_arg=--enable-osname="suse-%{suse}";;
23esac
24%configure $extra_arg
25
26%install
27rm -rf $RPM_BUILD_ROOT
28make install DESTDIR=$RPM_BUILD_ROOT
29
30%clean
31rm -rf $RPM_BUILD_ROOT
32
33%package -n rtems-@RTEMS_API@-apt-conf
34Summary:        Apt-repomd configuration for RTEMS/@RTEMS_API@
35Group:          RTEMS/@RTEMS_API@
36Requires:       apt >= 0.5.15lorg3
37
38%description -n rtems-@RTEMS_API@-apt-conf
39Apt-repomd configuration for RTEMS/@RTEMS_API@
40
41%files -n rtems-@RTEMS_API@-apt-conf
42%defattr(-,root,root,-)
43%{_sysconfdir}/apt/gpg
44%config(noreplace) %{_sysconfdir}/apt/sources.list.d/rtems-@RTEMS_API@.list
45%{_sysconfdir}/apt/vendors.list.d/rtems.list
46
47%package -n rtems-@RTEMS_API@-yum-conf
48Summary:        yum configuration for RTEMS/@RTEMS_API@
49Group:          RTEMS/@RTEMS_API@
50Requires:       yum > 2.0
51
52%description -n rtems-@RTEMS_API@-yum-conf
53Yum configuration for RTEMS/@RTEMS_API@
54
55%files -n rtems-@RTEMS_API@-yum-conf
56%defattr(-,root,root,-)
57%{_sysconfdir}/pki/rpm-gpg/gpg-pubkey*
58%config(noreplace) %{_sysconfdir}/yum.repos.d/*.repo
Note: See TracBrowser for help on using the repository browser.