summaryrefslogtreecommitdiffstats
path: root/build/rpm_specs/c_capnproto.spec
diff options
context:
space:
mode:
Diffstat (limited to 'build/rpm_specs/c_capnproto.spec')
-rw-r--r--build/rpm_specs/c_capnproto.spec45
1 files changed, 0 insertions, 45 deletions
diff --git a/build/rpm_specs/c_capnproto.spec b/build/rpm_specs/c_capnproto.spec
deleted file mode 100644
index 2d95494..0000000
--- a/build/rpm_specs/c_capnproto.spec
+++ /dev/null
@@ -1,45 +0,0 @@
-Name: c-capnproto
-Version: 0.1
-Release: 0
-Summary: C library/compiler for the Cap'n Proto serialization/RPC protocol
-
-Group: System Environment
-License: Apache 2.0
-URL: https://gerrit.opnfv.org/gerrit/apex.git
-Source0: %{name}-%{version}.tar.gz
-
-Provides: c_capnproto
-
-%description
-C library/compiler for the Cap'n Proto serialization/RPC protocol
-
-%prep
-%setup -q
-
-%build
-%configure --without-gtest
-
-%install
-rm -rf $RPM_BUILD_ROOT
-%make_install
-find %{buildroot} -name '*.la' -exec rm -f {} ';'
-find %{buildroot} -name '*.a' -exec rm -f {} ';'
-mkdir -p $RPM_BUILD_ROOT/%{_includedir}/c-capnproto/
-# These are the headers/libs quagga/zrpcd link against
-install -m 700 $RPM_BUILD_ROOT/%{_includedir}/capn.h $RPM_BUILD_ROOT/%{_includedir}/c-capnproto/
-install -m 700 $RPM_BUILD_ROOT/%{_libdir}/libcapn.so $RPM_BUILD_ROOT/%{_libdir}/libcapn_c.so
-
-%files
-%defattr(644,root,root)
-%{_bindir}/capnpc-c
-%{_includedir}/capn.h
-%{_includedir}/c-capnproto/capn.h
-%{_libdir}/libcapn.so*
-%{_libdir}/libcapn_c.so
-
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
-%changelog
-* Mon Jan 23 2017 Tim Rozet <trozet@redhat.com> - 1.0-1
-- Initial version