summaryrefslogtreecommitdiffstats
path: root/SPECS/testTextfile.spec
blob: e49690c005dd60bd0a8d24ec37a43ac3c8245dc4 (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
## This only packages a single text file, no debug package required
%global debug_package %{nil}

Name:           testTextfile
Version:        1.0
release:        2%{?dist}
Summary:        Dummy test package

License:        Public Domain
URL:            http://fedoraproject.org/

Source:         testTextfile-%{VERSION}.tar.gz

BuildRequires:  coreutils, make

%description
A test package that contains one text file.  Useful for debugging / learning
about the COPR system.

%prep
%setup -q


%build
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
make

%install
make install


%files
%dir %attr(755, root, root) %{_datadir}/testTextfile
%attr(644, root, root) %{_datadir}/testTextfile/testTextfile.txt


%changelog
* Wed Oct 16 2024 Edwin Buck <edwbuck@gmail.com>
-