Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: RPM packaging spec. #32

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions aceunit.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
#
# spec file for package aceunit
#

Name: aceunit
Version: 3.0.0
Release: 0
Summary: The Advanced C and Embedded Unit test framework
License: BSD-3-Clause
URL: https://github.com/christianhujer/${name}
Source0: https://github.com/christianhujer/${name}/archive/refs/tags/v%{version}.tar.gz
#BuildRequires:
#Requires:

%description
AceUnit is a comfortable (test discovery!) unit test framework for C,
in the best tradition of xUnit frameworks (like JUnit). Its target
audience are developers using the C programming language to develop
firmware, drivers, operating systems, and other C programs, like
command line programs. It is tiny and thus suitable even for extremely
resource-constraint environments.


%prep
%setup -q

%build
make %{?_smp_mflags}

%install
%make_install DESTDIR=%{buildroot} PREFIX=/usr

%post
ls /usr/share/doc/aceunit/

%files
/usr/bin/aceunit
/usr/include/aceunit.h
/usr/include/aceunit.mk
/usr/lib/libaceunit-abort.a
/usr/lib/libaceunit-fork.a
/usr/lib/libaceunit-setjmp.a
/usr/lib/libaceunit-simple.a
/usr/share/aceunit/nm.ac
/usr/share/aceunit/objdump.ac
/usr/share/aceunit/readelf.ac

%doc /usr/share/man/man1/aceunit.1.gz
%doc /usr/share/man/man3/aceunit.3.gz

%license /usr/share/doc/aceunit/copyright

%doc AUTHORS

%changelog