Blame container-exception-logger.spec

Packit 62eeb0
%global _hardened_build 1
Packit 62eeb0
Packit 62eeb0
Name: container-exception-logger
Packit 62eeb0
Version: 1.0.2
Packit 62eeb0
Release: 1%{?dist}
Packit 62eeb0
Summary: Logging from a container to a host
Packit 62eeb0
Packit 62eeb0
License: GPLv2+
Packit 62eeb0
URL: https://github.com/abrt/container-exception-logger
Packit 62eeb0
# source is created by:
Packit 62eeb0
# git clone https://github.com/abrt/container-exception-logger
Packit 62eeb0
# cd container-exception-logger; tito build --tgz
Packit 62eeb0
Source0: %{name}-%{version}.tar.gz
Packit 62eeb0
Packit 62eeb0
BuildRequires: gcc
Packit 62eeb0
BuildRequires: asciidoc
Packit 62eeb0
BuildRequires: libxslt
Packit 62eeb0
Packit 62eeb0
%description
Packit 62eeb0
%{name} is a tool designed to run inside of
Packit 62eeb0
a container which is able to get its input outside of the container.
Packit 62eeb0
Packit 62eeb0
%prep
Packit 62eeb0
%setup -q
Packit 62eeb0
Packit 62eeb0
%build
Packit 62eeb0
gcc %{optflags} src/container-exception-logger.c -o src/container-exception-logger
Packit 62eeb0
a2x -d manpage -f manpage man/container-exception-logger.1.asciidoc
Packit 62eeb0
Packit 62eeb0
%install
Packit 62eeb0
mkdir -p %{buildroot}%{_bindir}
Packit 62eeb0
cp src/container-exception-logger %{buildroot}/%{_bindir}/container-exception-logger
Packit 62eeb0
Packit 62eeb0
mkdir -p %{buildroot}/%{_mandir}/man1
Packit 62eeb0
cp man/container-exception-logger.1 %{buildroot}/%{_mandir}/man1/container-exception-logger.1
Packit 62eeb0
Packit 62eeb0
%files
Martin Kutlak 648bbe
%{_bindir}/container-exception-logger
Packit 62eeb0
%{_mandir}/man1/container-exception-logger.1.*
Packit 62eeb0
%license COPYING
Packit 62eeb0
Packit 62eeb0
%changelog
Packit 62eeb0
* Mon Mar 26 2018 Matej Habrnal <mhabrnal@redhat.com> 1.0.2-1
Packit 62eeb0
- Use _hardened_build macro (mhabrnal@redhat.com)
Packit 62eeb0
- Add license (mhabrnal@redhat.com)
Packit 62eeb0
Packit 62eeb0
* Fri Mar 23 2018 Unknown name 1.0.1-1
Packit 62eeb0
- new package built with tito
Packit 62eeb0
Packit 62eeb0
* Thu Mar 08 2018 Matej Habrnal <mhabrnal@redhat.com> 1.0.0-1
Packit 62eeb0
- init