public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/libnetconf2] openssl4-f45: Initial Packaging
Date: Fri, 18 Sep 2026 06:35:07 GMT	[thread overview]
Message-ID: <178971330766.1.8748322818908601433.rpms-libnetconf2-b498acf23a26@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/libnetconf2
Branch : openssl4-f45
Commit : b498acf23a2635a2884e9c22c4d527ea7fdd6a0d
Author : Jakub Ružička <jakub.ruzicka@nic.cz>
Date   : 2022-01-19T16:33:43+01:00
Stats  : +62/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/libnetconf2/c/b498acf23a2635a2884e9c22c4d527ea7fdd6a0d?branch=openssl4-f45

Log:
Initial Packaging

---
diff --git a/libnetconf2.spec b/libnetconf2.spec
new file mode 100644
index 0000000..d793e83
--- /dev/null
+++ b/libnetconf2.spec
@@ -0,0 +1,62 @@
+Name: libnetconf2
+Version: 2.0.24
+Release: 1%{?dist}
+Summary: NETCONF protocol library
+Url: https://github.com/CESNET/libnetconf2
+Source: %{url}/archive/v%{version}.tar.gz
+License: BSD
+
+BuildRequires:  cmake
+BuildRequires:  make
+BuildRequires:  gcc
+BuildRequires:  libssh-devel
+BuildRequires:  openssl-devel
+BuildRequires:  pkgconfig(libyang) >= 2
+
+%package devel
+Summary:    Headers of libnetconf2 library
+Conflicts:  libnetconf-devel
+Requires:   %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Headers of libnetconf library.
+
+%description
+libnetconf2 is a NETCONF library in C intended for building NETCONF clients and
+servers. NETCONF is the NETwork CONFiguration protocol introduced by IETF.
+
+
+%prep
+%autosetup -p1
+mkdir build
+
+%build
+cd build
+cmake \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DCMAKE_BUILD_TYPE:String="Release" \
+    -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+    -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
+    ..
+make
+
+%install
+cd build
+make DESTDIR=%{buildroot} install
+
+
+%files
+%license LICENSE
+%{_libdir}/libnetconf2.so.2*
+
+%files devel
+%{_libdir}/libnetconf2.so
+%{_libdir}/pkgconfig/libnetconf2.pc
+%{_includedir}/*.h
+%{_includedir}/libnetconf2/*.h
+%dir %{_includedir}/libnetconf2/
+
+
+%changelog
+* Mon Nov 15 2021 Jakub Ružička <jakub.ruzicka@nic.cz> - 2.0.24-1
+- Initial Packaging

                 reply	other threads:[~2026-09-18  6:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178971330766.1.8748322818908601433.rpms-libnetconf2-b498acf23a26@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox