source: projects/specs/trunk/lib/libs/libserf/libserf-vl.spec @ 10291

Revision 10291, 3.1 KB checked in by Takemikaduchi, 8 years ago (diff)

gnubiff,httping,lftp,libarchive,libgadu,libgit2,mosh: new upstream release
others: rebuild

Line 
1%global oname   serf
2
3Name:           libserf
4Version:        1.3.8
5Release:        2%{?_dist_release}
6Summary:        High-Performance Asynchronous HTTP Client Library
7Summary(ja):    高性能な非同期 HTTP クライアントのライブラリ
8License:        ASL 2.0
9Group:          System Environment/Libraries
10URL:            http://code.google.com/p/serf
11Source0:        https://serf.googlecode.com/files/serf-%{version}.tar.bz2
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14BuildRequires:  apr-devel
15BuildRequires:  apr-util-devel
16BuildRequires:  krb5-devel
17BuildRequires:  openssl-devel
18BuildRequires:  pkgconfig
19BuildRequires:  scons
20BuildRequires:  zlib-devel
21
22%description
23The serf library is a C-based HTTP client library built upon the Apache
24Portable Runtime (APR) library. It multiplexes connections, running the
25read/write communication asynchronously. Memory copies and transformations are
26kept to a minimum to provide high performance operation.
27
28%package        devel
29Summary:        Development files for %{name}
30Summary(ja):    %{name} の開発用ファイル群
31Group:          Development/Libraries
32Requires:       %{name}%{?_isa} = %{version}-%{release}
33Requires:       apr-devel%{?_isa}
34
35%description    devel
36The %{name}-devel package contains libraries and header files for
37developing applications that use %{name}.
38
39%prep
40%setup -q -n %{oname}-%{version}
41
42# Shared library versioning support in scons is worse than awful...
43# minimally, here fix the soname to match serf-1.2.x.  Minor version
44# handling should be fixed too; really requires better upstream support:
45# http://scons.tigris.org/issues/show_bug.cgi?id=2869
46sed -i '/SHLIBVERSION/s/MAJOR/0/' SConstruct
47
48%build
49scons \
50      CFLAGS="%{optflags}" \
51      PREFIX=%{_prefix} \
52      LIBDIR=%{_libdir} \
53      GSSAPI=%{_prefix} \
54      %{?_smp_mflags}
55
56%install
57scons install --install-sandbox=%{buildroot}
58find %{buildroot} -name '*.*a' -exec rm -vf {} ';'
59
60%check
61scons %{?_smp_mflags} check || true
62
63%post -p /sbin/ldconfig
64
65%postun -p /sbin/ldconfig
66
67%files
68%doc CHANGES LICENSE NOTICE README design-guide.txt
69%{_libdir}/*.so.*
70
71%files devel
72%{_includedir}/%{oname}-1/
73%{_libdir}/*.so
74%{_libdir}/pkgconfig/%{oname}*.pc
75
76%changelog
77* Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.3.8-2
78- rebuild with openssl-1.0.2
79
80* Sat Dec 13 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.3.8-1
81- updated to 1.3.8
82
83* Sun Mar 16 2014 NAKAMURA Kenta <kenta@vinelinux.org> - 1.3.4-2
84- initial build for Vine Linux
85
86* Mon Feb 17 2014 Joe Orton <jorton@redhat.com> - 1.3.4-1
87- update to 1.3.4
88
89* Tue Dec 10 2013 Joe Orton <jorton@redhat.com> - 1.3.3-1
90- update to 1.3.3
91
92* Wed Nov  6 2013 Joe Orton <jorton@redhat.com> - 1.3.2-1
93- update to 1.3.2
94- require krb5-devel for libgssapi (#1027011)
95
96* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-4
97- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
98
99* Mon Jun 17 2013 Christopher Meng <rpm@cicku.me> - 1.2.1-3
100- SPEC cleanup.
101
102* Thu Jun 13 2013 Christopher Meng <rpm@cicku.me> - 1.2.1-2
103- Fix the permission of the library.
104
105* Sun Jun 09 2013 Christopher Meng <rpm@cicku.me> - 1.2.1-1
106- Initial Package.
Note: See TracBrowser for help on using the repository browser.