aboutsummaryrefslogtreecommitdiff
path: root/packaging/libxo.spec
blob: 2a30cbb851ce4f05bef0eb9d5acc24443afd6b3e (plain) (blame)
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
37
38
39
40
41
42
43
44
Name:        libxo
Version:     1.6.0
Release:     1%{?dist}
Summary:     The libxo library

Prefix:      /usr

Vendor:      Juniper Networks, Inc.
Packager:    Phil Shafer <phil@juniper.net>
License:     BSD

Group:       Development/Libraries
URL:         https://github.com/Juniper/libxo
Source0:     https://github.com/Juniper/libxo/releases/1.6.0/libxo-1.6.0.tar.gz


%description
Welcome to libxo, a library that generates text, XML, JSON, and HTML
from a single source code path.

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
%make_install

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%files
%{_bindir}/*
%{_includedir}/libxo/*
%{_libdir}/*
%{_datadir}/doc/libxo/*
%docdir %{_datadir}/doc/libxo/*
%{_mandir}/*/*
%docdir %{_mandir}/*/*