1Prefix: %{_usr} 2Name: spdylay 3Version: 0.3.7 4Release: 1%{?dist} 5Summary: The experimental SPDY protocol version 2 and 3 implementation in C 6 7Group: System Environment/Libraries 8License: MIT 9URL: http://sourceforge.net/projects/spdylay/ 10Source0: %{name}-%{version}.tar.gz 11BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 12 13BuildRequires: pkgconfig >= 0.20, zlib >= 1.2.3, gcc, gcc-c++, make 14BuildRequires: openssl-devel, CUnit-devel 15 16#Requires: 17 18%description 19This is an experimental implementation of Google's SPDY protocol in C. 20This library provides SPDY version 2 and 3 framing layer implementation. It does not 21perform any I/O operations. When the library needs them, it calls the callback functions 22provided by the application. It also does not include any event polling mechanism, 23so the application can freely choose the way of handling events. This library code does 24not depend on any particular SSL library (except for example programs which depend on 25OpenSSL 1.0.1 or later). 26 27%package devel 28Summary: Development files for %{name} 29Group: Development/Libraries 30Requires: %{name} = %{version}-%{release} 31 32%description devel 33The %{name}-devel package contains libraries and header files for 34developing applications that use %{name}. 35 36%prep 37%setup -q 38 39%build 40autoreconf -i 41%{__automake} 42%{__autoconf} 43%configure --disable-static --enable-examples --disable-xmltest 44%{__make} %{?_smp_mflags} 45 46%install 47rm -rf $RPM_BUILD_ROOT 48%{__make} install DESTDIR=$RPM_BUILD_ROOT 49 50%clean 51rm -rf $RPM_BUILD_ROOT 52 53%post -p /sbin/ldconfig 54 55%postun -p /sbin/ldconfig 56 57%files 58%defattr(-,root,root,-) 59%doc 60%{_libdir}/*.so.* 61%exclude %{_libdir}/*.la 62%{_bindir}/shrpx 63%{_bindir}/spdycat 64%{_bindir}/spdyd 65 66%files devel 67%defattr(-,root,root,-) 68%doc %{_docdir}/%{name} 69%{_includedir}/* 70%{_libdir}/*.so 71%{_libdir}/pkgconfig/*.pc 72 73%changelog 74* Sat Oct 27 2012 Raul Gutierrez Segales <rgs@itevenworks.net> 0.3.7-DEV 75- Initial RPM release. 76