Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 66 lines (53 sloc) 1.51 kB
ba584a5 @davidhrbac spc-release hrb-release
authored
1 Summary: Repository spc release file and package configuration
2 Name: spc-release
3 Version: 0.1
4 Release: 1%{?dist}
5 License: GPL
6 Group: System Environment/Base
7 URL: http://spc.vsb.cz/
8 BuildArch: noarch
9
10 #Source0: mirrors-spc-mirrors
11
12 Source0: RPM-GPG-KEY-hrb.txt
13 #Source1: RPM-GPG-KEY-spc.txt
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
15
16 %description
17 Release file for spc repository.
18
19 %prep
20
21 %{?el6:path="el6"}
22 %{?el5:path="el5"}
23 %{?el4:path="el4"}
24 %{?el3:path="el3"}
25
26 %{__cat} <<EOF >spc.yum
27 # Name: spc repository
28 # URL: http://spc.vsb.cz/
29 [spc-stable]
30 name = spc
31 #baseurl = http://webmel53.vsb.cz/spc33/el%centos_ver/hrb/stable/%{_arch}/
32 baseurl = http://repository.vsb.cz/spc/ofed-1.5.3.1/%{_arch}/
33 #mirrorlist = http://webmel53.vsb.cz/spc33/mirrors-hrb
34 enabled = 1
35 protect = 0
36 gpgkey = http://webmel53.vsb.cz/hrb33/RPM-GPG-KEY-hrb.txt
37 gpgcheck = 1
38
39 #[spc-testing]
40 #name = spc-test
41 ##baseurl = http://webmel53.vsb.cz/spc33/el%centos_ver/hrb/testing/%{_arch}/
42 ##mirrorlist = http://webmel53.vsb.cz/spc33/mirrors-testing-hrb
43 #enabled = 0
44 #protect = 0
45 #gpgkey = http://webmel53.vsb.cz/spc33/RPM-GPG-KEY-hrb.txt
46 #gpgcheck = 1
91cc2cd @davidhrbac ganglia
authored
47 EOF
ba584a5 @davidhrbac spc-release hrb-release
authored
48
49 %install
50 %{__rm} -rf %{buildroot}
d4b085c @davidhrbac opraveny spc-release.spec
authored
51 %{__install} -Dp -m0644 spc.yum %{buildroot}%{_sysconfdir}/yum.repos.d/spc.repo
ba584a5 @davidhrbac spc-release hrb-release
authored
52
53 %clean
54 %{__rm} -rf %{buildroot}
55
56 %post
57
58 %files
59 %defattr(-, root, root, 0755)
60 %dir %{_sysconfdir}/yum.repos.d/
61 %config(noreplace) %{_sysconfdir}/yum.repos.d/spc.repo
62
63 %changelog
64 * Fri Jan 13 2012 David Hrbáč <david@spcac.cz> - 0.1-1
65 - initial release
Something went wrong with that request. Please try again.