-
Notifications
You must be signed in to change notification settings - Fork 1
/
hrb-tls-release.spec
78 lines (61 loc) · 1.89 KB
/
hrb-tls-release.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Summary: Repository hrb-tls release file and package configuration
Name: hrb-tls-release
Version: 0.2
Release: 1%{?dist}
License: GPL
Group: System Environment/Base
URL: http://repository.hrbac.cz
#Source0: mirrors-hrb-tls-mirrors
Source0: RPM-GPG-KEY-hrb.txt
#Source1: RPM-GPG-KEY-hrb.txt
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
Release file for hrb-tls repository.
%prep
%{?el6:path="el6"}
%{?el5:path="el5"}
%{?el4:path="el4"}
%{?el3:path="el3"}
%{__cat} <<EOF >hrb-tls.yum
# Name: hrb-tls repository
# URL: http://repository.hrbac.cz
[hrb-tls-stable]
name = hrb-tls
#baseurl = http://repository.hrbac.cz/mirrors/el%centos_ver/hrb-tls/stable/%{_arch}/
mirrorlist = http://repository.hrbac.cz/mirrors/mirrors-hrb-tls
enabled = 1
protect = 0
gpgkey = http://repository.hrbac.cz/mirrors/RPM-GPG-KEY-hrb.txt
gpgcheck = 1
[hrb-tls-testing]
name = hrb-tls-test
#baseurl = http://repository.hrbac.cz/mirrors/el%centos_ver/hrb-tls/testing/%{_arch}/
mirrorlist = http://repository.hrbac.cz/mirrors/mirrors-testing-hrb-tls
enabled = 0
protect = 0
gpgkey = http://repository.hrbac.cz/mirrors/RPM-GPG-KEY-hrb.txt
gpgcheck = 1
EOF
%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0644 hrb-tls.yum %{buildroot}%{_sysconfdir}/yum.repos.d/hrb-tls.repo
%clean
%{__rm} -rf %{buildroot}
%post
%files
%defattr(-, root, root, 0755)
%dir %{_sysconfdir}/yum.repos.d/
%config(noreplace) %{_sysconfdir}/yum.repos.d/hrb-tls.repo
%changelog
* Fri Feb 01 2013 David Hrbáč <[email protected]> - 0.2-1
- moving to github site
* Tue Oct 25 2011 David Hrbáč <[email protected]> - 0.1-5
- new mirrorlist server
* Thu Jan 21 2010 David Hrbáč <[email protected]> - 0.1-4
- fixed testing mirrorlist
* Wed May 27 2009 David Hrbáč <[email protected]> - 0.1-3
- new mirrors
* Thu Mar 20 2008 David Hrbáč <[email protected]> - 0.1-2
- URL update
* Sat Dec 8 2007 David Hrbáč <[email protected]> - 0.1-1
- Initial package.