blob: 2304a7cb482d93976f706a363cabcb1d0f7349c1 (
plain)
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
|
# To whom it may concern:
# DO NOT COPY THIS SPEC or its derivates to your testcase. That is,
# unless your test-case actually requires running a compiler and
# inspecting it's output. Everybody else should use a simple noarch
# package which can be built under runroot in the test-suite.
Summary: hello -- hello, world rpm
Name: hello
Version: 1.0
Release: 1
Group: Utilities
License: GPL
SourceLicense: GPL, ASL 1.0
Distribution: RPM test suite.
URL: http://rpm.org
Source0: hello-1.0.tar.gz
Patch0: hello-1.0-modernize.patch
Prefix: /usr
%description
Simple rpm demonstration.
%prep
%setup -q
%patch0 -p1 -b .modernize
%build
make
%install
mkdir -p $RPM_BUILD_ROOT/usr/local/bin
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
%doc FAQ
#%readme README
#%license COPYING
%attr(0751,root,root) /usr/local/bin/hello
%changelog
* Tue Oct 20 1998 Jeff Johnson <jbj@redhat.com>
- create.
|