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

Revision 9155, 3.0 KB checked in by inagaki, 8 years ago (diff)

2014-12-15 Ryoichi INAGAKI <ryo1@…>

  • cyrus-sasl, rpm2html: rebuilt with new libdb
  • libserf: updated and rebuilt with new libdb


Line 
1%global oname   serf
2
3Name:           libserf
4Version:        1.3.8
5Release:        1%{?_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* Sat Dec 13 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.3.8-1
78- updated to 1.3.8
79
80* Sun Mar 16 2014 NAKAMURA Kenta <kenta@vinelinux.org> - 1.3.4-2
81- initial build for Vine Linux
82
83* Mon Feb 17 2014 Joe Orton <jorton@redhat.com> - 1.3.4-1
84- update to 1.3.4
85
86* Tue Dec 10 2013 Joe Orton <jorton@redhat.com> - 1.3.3-1
87- update to 1.3.3
88
89* Wed Nov  6 2013 Joe Orton <jorton@redhat.com> - 1.3.2-1
90- update to 1.3.2
91- require krb5-devel for libgssapi (#1027011)
92
93* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-4
94- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
95
96* Mon Jun 17 2013 Christopher Meng <rpm@cicku.me> - 1.2.1-3
97- SPEC cleanup.
98
99* Thu Jun 13 2013 Christopher Meng <rpm@cicku.me> - 1.2.1-2
100- Fix the permission of the library.
101
102* Sun Jun 09 2013 Christopher Meng <rpm@cicku.me> - 1.2.1-1
103- Initial Package.
Note: See TracBrowser for help on using the repository browser.