加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
libnetconf.spec.in 1.53 KB
一键复制 编辑 原始数据 按行查看 历史
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/*
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化