summaryrefslogtreecommitdiffstats
path: root/fedora/spdylay.spec
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:34:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:34:15 +0000
commitafea5f9539cbf1eeaa85ec77d79eb2f59724f470 (patch)
tree2a4eba394a6bc60d2eaa8304d91168a07225d51e /fedora/spdylay.spec
parentInitial commit. (diff)
downloadnghttp2-upstream/1.52.0.tar.xz
nghttp2-upstream/1.52.0.zip
Adding upstream version 1.52.0.upstream/1.52.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--fedora/spdylay.spec75
1 files changed, 75 insertions, 0 deletions
diff --git a/fedora/spdylay.spec b/fedora/spdylay.spec
new file mode 100644
index 0000000..967d908
--- /dev/null
+++ b/fedora/spdylay.spec
@@ -0,0 +1,75 @@
+Prefix: %{_usr}
+Name: spdylay
+Version: 0.3.7
+Release: 1%{?dist}
+Summary: The experimental SPDY protocol version 2 and 3 implementation in C
+
+Group: System Environment/Libraries
+License: MIT
+URL: http://sourceforge.net/projects/spdylay/
+Source0: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: pkgconfig >= 0.20, zlib >= 1.2.3, gcc, gcc-c++, make
+BuildRequires: openssl-devel, CUnit-devel
+
+#Requires:
+
+%description
+This is an experimental implementation of Google's SPDY protocol in C.
+This library provides SPDY version 2 and 3 framing layer implementation. It does not
+perform any I/O operations. When the library needs them, it calls the callback functions
+provided by the application. It also does not include any event polling mechanism,
+so the application can freely choose the way of handling events. This library code does
+not depend on any particular SSL library (except for example programs which depend on
+OpenSSL 1.0.1 or later).
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%setup -q
+
+%build
+autoreconf -i
+%{__automake}
+%{__autoconf}
+%configure --disable-static --enable-examples --disable-xmltest
+%{__make} %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc
+%{_libdir}/*.so.*
+%exclude %{_libdir}/*.la
+%{_bindir}/shrpx
+%{_bindir}/spdycat
+%{_bindir}/spdyd
+
+%files devel
+%defattr(-,root,root,-)
+%doc %{_docdir}/%{name}
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
+* Sat Oct 27 2012 Raul Gutierrez Segales <rgs@itevenworks.net> 0.3.7-DEV
+- Initial RPM release.