1 | Summary: An implementation of the xmlrpc protocol in C |
---|
2 | Summary(ja): xmlrpc プロトコルの C による実装 |
---|
3 | Name: xmlrpc-epi |
---|
4 | Version: 0.51 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | Group: Development/Libraries |
---|
7 | License: BSD |
---|
8 | URL: http://xmlrpc-epi.sourceforge.net/ |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
10 | |
---|
11 | Source0: http://dl.sf.net/sourceforge/xmlrpc-epi/xmlrpc-epi-%{version}.tar.gz |
---|
12 | |
---|
13 | Patch0: xmlrpc-epi-0.51-gcc4.1.patch |
---|
14 | Patch1: xmlrpc-epi-0.51-use-system-expat.patch |
---|
15 | Patch2: xmlrpc-epi-0.51-rename.patch |
---|
16 | |
---|
17 | BuildRequires: expat-devel |
---|
18 | BuildRequires: libtool |
---|
19 | |
---|
20 | %description |
---|
21 | An implementation of the xmlrpc protocol in C. |
---|
22 | |
---|
23 | %package devel |
---|
24 | Summary: Development files for xmlrpc-epi |
---|
25 | Group: Development/Libraries |
---|
26 | Requires: xmlrpc-epi = %{version}-%{release} |
---|
27 | |
---|
28 | %description devel |
---|
29 | The xmlrpc-epi-devel package contains libraries and header files for |
---|
30 | developing applications that use xmlrpc-epi. |
---|
31 | |
---|
32 | %package examples |
---|
33 | Summary: Example xmlrpc-epi applications |
---|
34 | Group: Development/Libraries |
---|
35 | Requires: xmlrpc-epi = %{version}-%{release} |
---|
36 | |
---|
37 | %description examples |
---|
38 | Example xmlrpc-epi applications. |
---|
39 | |
---|
40 | %prep |
---|
41 | %setup -q |
---|
42 | %patch0 -p1 |
---|
43 | %patch1 -p1 |
---|
44 | %patch2 -p1 |
---|
45 | # Previous two patches require we regenerate all autotools |
---|
46 | # As an extra bonus this also fixes the usual x86_64 libtool rpath problems |
---|
47 | libtoolize -c -f |
---|
48 | aclocal |
---|
49 | automake -c -a -f |
---|
50 | autoconf |
---|
51 | |
---|
52 | %build |
---|
53 | %configure --disable-static --includedir=%{_includedir}/xmlrpc-epi |
---|
54 | make %{?_smp_mflags} |
---|
55 | |
---|
56 | %install |
---|
57 | rm -rf %{buildroot} |
---|
58 | make install DESTDIR=%{buildroot} |
---|
59 | find %{buildroot}%{_libdir} -name '*.la' -exec rm -f {} ';' |
---|
60 | |
---|
61 | # compat links |
---|
62 | ln -sf libxmlrpc-epi.so %{buildroot}%{_libdir}/libxmlrpc.so |
---|
63 | |
---|
64 | %clean |
---|
65 | rm -rf %{buildroot} |
---|
66 | |
---|
67 | %post -p /sbin/ldconfig |
---|
68 | |
---|
69 | %postun -p /sbin/ldconfig |
---|
70 | |
---|
71 | %files |
---|
72 | %defattr(-,root,root,-) |
---|
73 | %doc AUTHORS COPYING README |
---|
74 | %{_libdir}/libxmlrpc-epi.so.* |
---|
75 | |
---|
76 | %files devel |
---|
77 | %defattr(-,root,root,-) |
---|
78 | %doc NEWS |
---|
79 | %{_includedir}/xmlrpc-epi |
---|
80 | %{_libdir}/libxmlrpc-epi.so |
---|
81 | %{_libdir}/libxmlrpc.so |
---|
82 | |
---|
83 | %files examples |
---|
84 | %defattr(-,root,root,-) |
---|
85 | %doc |
---|
86 | %{_bindir}/client |
---|
87 | %{_bindir}/hello_client |
---|
88 | %{_bindir}/hello_server |
---|
89 | %{_bindir}/memtest |
---|
90 | %{_bindir}/sample |
---|
91 | %{_bindir}/server |
---|
92 | %{_bindir}/server_compliance_test |
---|
93 | |
---|
94 | %changelog |
---|
95 | * Sat Jul 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.51-2 |
---|
96 | - rebuild with current Vine6 environment |
---|
97 | |
---|
98 | * Wed Oct 15 2008 Shu KONNO <owa@bg.wakwak.com> 0.51-1vl5 |
---|
99 | - applied new versioning policy, spec in utf-8 |
---|
100 | |
---|
101 | * Thu Feb 28 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.51-0vl2 |
---|
102 | - rebuild with expat-2.0.1 |
---|
103 | |
---|
104 | * Fri Jun 08 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.51-0vl1 |
---|
105 | - initial build for Vine Linux |
---|
106 | |
---|
107 | * Sat May 26 2007 Callum Lerwick <seg@haxxed.com> 0.51-3 |
---|
108 | - Rename the library so we don't conflict with xmlrpc-c. |
---|
109 | |
---|
110 | * Tue Mar 13 2007 Callum Lerwick <seg@haxxed.com> 0.51-2 |
---|
111 | - Ooops, the use-system-expat patch was completely broken. Fixed. |
---|
112 | |
---|
113 | * Sun Feb 04 2007 Callum Lerwick <seg@haxxed.com> 0.51-1 |
---|
114 | - Initial packaging. |
---|