myrpm.spec 836 Bytes
Newer Older
Alex Iribarren's avatar
Alex Iribarren committed
1
2
Name: myrpm
Version: 1.1
Alex Iribarren's avatar
Alex Iribarren committed
3
Release: 3%{?dist}
Alex Iribarren's avatar
Alex Iribarren committed
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
Summary: Super useful program

Group: CERN/Utilities
License: CERN
URL: 	https://cern.ch/myrpm
Source: %{name}-%{version}.tgz

BuildRequires: gcc-c++

%define debug_package %{nil}


%description
Just try to live without this

%prep
%setup -n %{name}-%{version}


%build
rm -rf %{buildroot}
cd src/
g++ -Wall -o hello-world hello-world.cpp


%install
install -d %{buildroot}%{_bindir}
cd src/
install -m 0755 hello-world %{buildroot}%{_bindir}/hello-world


%files
%defattr(-,root,root,-)
%{_bindir}/hello-world
%doc src/README.md



%changelog
Alex Iribarren's avatar
Alex Iribarren committed
43
44
45
* Mon Jan 13 2020 Alex Iribarren <Alex.Iribarren@cern.ch> - 1.1-3
- Version bump

Alex Iribarren's avatar
Alex Iribarren committed
46
47
48
* Mon Nov 25 2019 Alex Iribarren <Alex.Iribarren@cern.ch> - 1.1-2
- Version bump

Alex Iribarren's avatar
Alex Iribarren committed
49
50
* Fri Oct 11 2019 Alex Iribarren <Alex.Iribarren@cern.ch> - 1.0-1
- Initial version