24 lines
412 B
RPMSpec
24 lines
412 B
RPMSpec
|
name: libipc
|
||
|
version: 0.2.1
|
||
|
release: 1
|
||
|
sources: https://git.karchnu.fr/WeirdOS/libipc/archive/libipc-%{version}.tar.gz
|
||
|
|
||
|
dirname: %{name}
|
||
|
dependencies:
|
||
|
- make
|
||
|
|
||
|
@configure
|
||
|
true
|
||
|
|
||
|
# TODO: do not use pandoc, use scdoc instead so we can build the manual too
|
||
|
# Rationale: pandoc is not a priority to package.
|
||
|
|
||
|
@build
|
||
|
cd %{dirname}
|
||
|
make libipc
|
||
|
make src/ipc.h
|
||
|
|
||
|
@install
|
||
|
cd %{dirname}
|
||
|
make DESTDIR="%{pkg}" install
|