-
Notifications
You must be signed in to change notification settings - Fork 722
/
zlog.spec
38 lines (27 loc) · 836 Bytes
/
zlog.spec
1
2
3
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
Name: zlog
Version: 1.2.8
Release: 1
Summary: zlog logger framework
License: Apache License, Version 2.0
URL: http://hardysimpson.github.io/zlog/
BuildRequires: gcc make
%define _builddir %(echo $PWD)
%description
AIRTAME Web Service is powering the setup page.
%build
make clean all
%install
install -d '%{buildroot}/usr/include'
install -d '%{buildroot}/usr/lib'
cp src/zlog.h '%{buildroot}/usr/include/zlog.h'
cp src/libzlog.a '%{buildroot}/usr/lib/libzlog.a'
cp src/libzlog.so.1.2 '%{buildroot}/usr/lib/libzlog.so.1.2'
ln -sf /usr/lib/libzlog.so.1.2 '%{buildroot}/usr/lib/libzlog.so.1'
ln -sf /usr/lib/libzlog.so.1.2 '%{buildroot}/usr/lib/libzlog.so'
%clean
%files
/usr/include/zlog.h
/usr/lib/libzlog.a
/usr/lib/libzlog.so
/usr/lib/libzlog.so.1
/usr/lib/libzlog.so.1.2