-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhrb-fw-release.spec
75 lines (59 loc) · 1.8 KB
/
hrb-fw-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
Summary: Repository hrb-fw release file and package configuration
Name: hrb-fw-release
Version: 0.2
Release: 1%{?dist}
License: GPL
Group: System Environment/Base
URL: http://repository.hrbac.cz
#Source0: mirrors-hrb-fw-mirrors
Source0: RPM-GPG-KEY-hrb.txt
#Source1: RPM-GPG-KEY-hrb.txt
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
Release file for hrb-fw repository.
%prep
%{?el6:path="el6"}
%{?el5:path="el5"}
%{?el4:path="el4"}
%{?el3:path="el3"}
%{__cat} <<EOF >hrb-fw.yum
# Name: hrb-fw repository
# URL: http://repository.hrbac.cz
[hrb-fw-stable]
name = hrb-fw
#baseurl = http://repository.hrbac.cz/mirrors/el%centos_ver/hrb-fw/stable/%{_arch}/
mirrorlist = http://repository.hrbac.cz/mirrors/mirrors-hrb-fw
enabled = 1
protect = 0
gpgkey = http://repository.hrbac.cz/mirrors/RPM-GPG-KEY-hrb.txt
gpgcheck = 1
[hrb-fw-testing]
name = hrb-fw-test
#baseurl = http://repository.hrbac.cz/mirrors/el%centos_ver/hrb-fw/testing/%{_arch}/
mirrorlist = http://repository.hrbac.cz/mirrors/mirrors-testing-hrb-fw
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-fw.yum %{buildroot}%{_sysconfdir}/yum.repos.d/hrb-fw.repo
%clean
%{__rm} -rf %{buildroot}
%post
%files
%defattr(-, root, root, 0755)
%dir %{_sysconfdir}/yum.repos.d/
%config(noreplace) %{_sysconfdir}/yum.repos.d/hrb-fw.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-4
- new mirrorlist server
* Thu Jan 21 2010 David Hrbáč <[email protected]> - 0.1-3
- fixed testing mirrorlist
* Wed May 27 2009 David Hrbáč <[email protected]> - 0.1-2
- new mirrors
* Wed Apr 9 2008 David Hrbáč <[email protected]> - 0.1-1
- Initial package.