-
Notifications
You must be signed in to change notification settings - Fork 84
/
libnetconf.spec.in
60 lines (50 loc) · 1.53 KB
/
libnetconf.spec.in
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Summary: NETCONF protocol library for NETCONF applications.
Name: libnetconf
Version: @PACKAGE_VERSION@
Release: @RELEASE@
URL: http://www.liberouter.org/
Source: https://www.liberouter.org/repo/SOURCES/%{name}-%{version}-%{release}.tar.gz
Group: Liberouter
License: BSD
Vendor: CESNET, z.s.p.o.
Packager: @USERNAME@ <@USERMAIL@>
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
BuildRequires: gcc make doxygen pkgconfig libxml2-devel libxslt-devel @BUILDREQS@
Provides: @PROVIDES@
%description
Library provides NETCONF protocol functionality for both client as well as
server side applications. It also handles access to the NETCONF
configuration data repositories.
%package devel
Summary: libnetconf development package
Group: Liberouter
Requires: libnetconf = %{version}-%{release} @DEVELREQS@
Provides: libnetconf-devel
%description devel
This package contains header files for libnetconf library. Install this package
if you want to develop your own NETCONF application.
%prep
%setup
%build
./configure --prefix=%{_prefix} --libdir=%{_libdir} --with-rpm @CONFIGURE_PARAMS@;
make
make doc
%install
make DESTDIR=$RPM_BUILD_ROOT install
%post
ldconfig
%files
%{_libdir}/libnetconf.so.*
%{_libdir}/libnetconf.la
@NC_WORKINGDIR_PATH@
%files devel
%{_libdir}/pkgconfig/libnetconf.pc
%{_libdir}/libnetconf.so
%{_libdir}/libnetconf.a
%{_prefix}/include/libnetconf*.h
%{_prefix}/include/libnetconf/*
%{_prefix}/share/libnetconf/doxygen/*
%{_bindir}/lnctool
%{_datadir}/libnetconf/templates/*
%{_datadir}/libnetconf/rnglib/*
%{_datadir}/libnetconf/xslt/*