Browse files

fedora: add spec file

We should probably make this spec file a template and integrate
it with our build process (make package?). Will follow-up with
that eventually.
  • Loading branch information...
1 parent fdc1955 commit 45f302f3637d22bde525be34f82a08bcb4066fad @rgs1 rgs1 committed Oct 27, 2012
Showing with 75 additions and 0 deletions.
  1. +75 −0 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
+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
+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}.
+%setup -q
+autoreconf -i
+%configure --disable-static --enable-examples --disable-xmltest
+%{__make} %{?_smp_mflags}
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+%exclude %{_libdir}/*.la
+%files devel
+%doc %{_docdir}/%{name}
+* Sat Oct 27 2012 Raul Gutierrez Segales <> 0.3.7-DEV
+- Initial RPM release.

0 comments on commit 45f302f

Please sign in to comment.