-
Notifications
You must be signed in to change notification settings - Fork 0
/
dogecoin-release.spec
66 lines (47 loc) · 1.51 KB
/
dogecoin-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
Name: dogecoin-release
Version: 1
Release: 1
Summary: Dogecoin repository configuration
Group: System Environment/Base
License: MIT
URL: http://obsoleet.org/resources/dogecoin
Source0: http://obsoleet.org/resources/dogecoin/RPM-GPG-KEY-dogecoin
Source1: dogecoin.repo
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: fedora-release >= 19
%description
This package contains the Dogecoin repository GPG key as well as configuration
for yum.
%prep
%setup -q -c -T
install -pm 644 %{SOURCE0} .
install -pm 644 %{SOURCE1} .
%build
%install
rm -rf $RPM_BUILD_ROOT
#GPG Key
install -Dpm 644 %{SOURCE0} \
$RPM_BUILD_ROOT%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-dogecoin
# yum
install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d
install -pm 644 %{SOURCE1} \
$RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d/dogecoin.repo
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%config(noreplace) /etc/yum.repos.d/*
/etc/pki/rpm-gpg/*
%changelog
* Sun Jan 26 2014 Graham Forest <[email protected]> - 1-1
- Reset release
- Replace key
- s/bitcoin/dogecoin/g
- Only support fc19+
* Mon Dec 9 2013 Michael Hampton <[email protected]> - 1-5
- New signature on GPG key
* Wed Aug 22 2012 Michael Hampton <[email protected]> - 1-4
- Fedora specific build with unique filenames
* Fri Jul 27 2012 Michael Hampton <[email protected]> - 1-1
- Initial Package