-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhrb-release.spec
84 lines (65 loc) · 1.98 KB
/
hrb-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
79
80
81
82
83
84
Summary: Repository hrb release file and package configuration
Name: hrb-release
Version: 0.2
Release: 1%{?dist}
License: GPL
Group: System Environment/Base
URL: http://repository.hrbac.cz
#Source0: mirrors-hrb-mirrors
Source0: RPM-GPG-KEY-hrb.txt
#Source1: RPM-GPG-KEY-hrb.txt
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
Release file for hrb repository.
%prep
%{?el6:path="el6"}
%{?el5:path="el5"}
%{?el4:path="el4"}
%{?el3:path="el3"}
%{__cat} <<EOF >hrb.yum
# Name: hrb repository
# URL: http://repository.hrbac.cz
[hrb-stable]
name = hrb
#baseurl = http://repository.hrbac.cz/mirrors/el%centos_ver/hrb/stable/%{_arch}/
mirrorlist = http://repository.hrbac.cz/mirrors/mirrors-hrb
enabled = 1
protect = 0
gpgkey = http://repository.hrbac.cz/mirrors/RPM-GPG-KEY-hrb.txt
gpgcheck = 1
[hrb-testing]
name = hrb-test
#baseurl = http://repository.hrbac.cz/mirrors/el%centos_ver/hrb/testing/%{_arch}/
mirrorlist = http://repository.hrbac.cz/mirrors/mirrors-testing-hrb
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.yum %{buildroot}%{_sysconfdir}/yum.repos.d/hrb.repo
%clean
%{__rm} -rf %{buildroot}
%post
%files
%defattr(-, root, root, 0755)
%dir %{_sysconfdir}/yum.repos.d/
%config(noreplace) %{_sysconfdir}/yum.repos.d/hrb.repo
%changelog
* Fri Feb 01 2013 David Hrbáč <[email protected]> - 0.2-1
- moving to github site
* Fri Jan 13 2012 David Hrbáč <[email protected]> - 0.1-7
- corrected description
* Tue Oct 25 2011 David Hrbáč <[email protected]> - 0.1-6
- new mirrorlist server
* Tue Aug 23 2011 David Hrbáč <[email protected]> - 0.1-5
- el6 repo added
* 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
* Wed Feb 6 2008 David Hrbáč <[email protected]> - 0.1-1
- Initial package.