diff --git a/.gitignore b/.gitignore index e69de29..feaa915 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/will-crash-v0.2.tar.gz diff --git a/sources b/sources index e69de29..35b8371 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e6e90434593112af57af6ec2debbb125 will-crash-v0.2.tar.gz diff --git a/will-crash.spec b/will-crash.spec new file mode 100644 index 0000000..d891a85 --- /dev/null +++ b/will-crash.spec @@ -0,0 +1,51 @@ +%global tardirname sorki-will-crash-d08dd71 + +Name: will-crash +Version: 0.2 +Release: 1%{?dist} +Summary: Set of crashing executables written in various languages + +Group: Development/Tools +License: GPLv3 +URL: http://github.com/sorki/will-crash +Source0: https://github.com/sorki/will-crash/tarball/v%{version}/will-crash-v%{version}.tar.gz + +BuildRequires: autoconf +BuildRequires: automake +Requires: ruby +Requires: python +Requires: python3 + +%description +The main purpose of this project is to provide sample +executables for testing crash/exception handling tools +like ABRT. + +%prep +%setup -q -n %{tardirname} + +%build +autoreconf --install +%configure +make %{?_smp_mflags} + +%install +make install DESTDIR=%{buildroot} + +%files +%doc README.rst +%doc LICENSE +%doc AUTHORS +%{_bindir}/will_segfault +%{_bindir}/will_abort +%{_bindir}/will_python_raise +%{_bindir}/will_python3_raise +%{_bindir}/will_ruby_raise + +%changelog +* Wed Jul 25 2012 Richard Marko - 0.2-1 +- Version bump +* Mon Jul 23 2012 Richard Marko - 0.1-2 +- Added missing automake build requirement +* Fri Jul 20 2012 Richard Marko - 0.1-1 +- Initial packaging attempt