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

4.8
Last change on this file since 50bac4a7 was 50bac4a7, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/11/10 at 12:25:45

Fix oversight.

  • Property mode set to 100644
File size: 2.0 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@-release
34Summary:        Base package for rtems-@RTEMS_API@ package sets
35Group:          RTEMS/@RTEMS_API@
36
37%description -n rtems-@RTEMS_API@-release
38Base package for rtems-@RTEMS_API@ package sets.
39
40%files -n rtems-@RTEMS_API@-release
41%defattr(-,root,root,-)
42%{_sysconfdir}/pki/rpm-gpg/gpg-pubkey*
43
44%package -n rtems-@RTEMS_API@-apt-conf
45Summary:        Apt-repomd configuration for RTEMS/@RTEMS_API@
46Group:          RTEMS/@RTEMS_API@
47Requires:       apt >= 0.5.15lorg3
48Requires:       rtems-@RTEMS_API@-release = %{version}-%{release}
49
50%description -n rtems-@RTEMS_API@-apt-conf
51Apt-repomd configuration for RTEMS/@RTEMS_API@
52
53%files -n rtems-@RTEMS_API@-apt-conf
54%defattr(-,root,root,-)
55%exclude %{_sysconfdir}/apt/gpg
56%config(noreplace) %{_sysconfdir}/apt/sources.list.d/rtems-@RTEMS_API@.list
57%exclude %{_sysconfdir}/apt/vendors.list.d/rtems.list
58
59%package -n rtems-@RTEMS_API@-yum-conf
60Summary:        yum configuration for RTEMS/@RTEMS_API@
61Group:          RTEMS/@RTEMS_API@
62Requires:       yum > 2.0
63Requires:       rtems-@RTEMS_API@-release = %{version}-%{release}
64
65%description -n rtems-@RTEMS_API@-yum-conf
66Yum configuration for RTEMS/@RTEMS_API@
67
68%files -n rtems-@RTEMS_API@-yum-conf
69%defattr(-,root,root,-)
70%config(noreplace) %{_sysconfdir}/yum.repos.d/*.repo
Note: See TracBrowser for help on using the repository browser.