]>
Commit | Line | Data |
---|---|---|
d7e383ba | 1 | # TODO: |
d7e383ba | 2 | # - fix group for -progs subpackage |
d94e94cc | 3 | Summary: XML-RPC EPI library - an implementation of the xmlrpc protocol |
18b0bc23 | 4 | Summary(pl.UTF-8): Biblioteka XML-RPC EPI - implementacja protokołu xmlrpc |
d7e383ba | 5 | Name: xmlrpc-epi |
6e822bf8 | 6 | Version: 0.54.1 |
c1533a7b | 7 | Release: 4 |
d7e383ba AF |
8 | License: BSD |
9 | Group: Libraries | |
f3f70d47 | 10 | Source0: http://downloads.sourceforge.net/xmlrpc-epi/%{name}-%{version}.tar.gz |
6e822bf8 | 11 | # Source0-md5: 546ce341e7d79691371344449cb9e484 |
c1533a7b | 12 | Patch0: format-security.patch |
d7e383ba AF |
13 | URL: http://xmlrpc-epi.sourceforge.net/ |
14 | BuildRequires: autoconf | |
15 | BuildRequires: automake | |
d7e383ba | 16 | BuildRequires: expat-devel |
d94e94cc | 17 | BuildRequires: libtool |
d7e383ba AF |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %define _includedir %{_prefix}/include/%{name} | |
21 | ||
22 | %description | |
d94e94cc JB |
23 | xmlrpc-epi is an implementation of the xmlrpc protocol in C. It |
24 | provides an easy to use API for developers to serialize RPC requests | |
6e822bf8 | 25 | to and from XML. It doesn't include a transport layer, such as HTTP. |
26 | The API is primarily based upon proprietary code written for internal | |
27 | usage at Epinions.com, and was later modified to incorporate concepts | |
28 | from the xmlrpc protocol. It passed the xmlrpc validation test suite | |
29 | in December 2000. | |
d94e94cc | 30 | |
ea71d385 JR |
31 | %description -l pl.UTF-8 |
32 | xmlrpc-epi to implementacja protokołu xmlrpc napisana w C. Daje proste | |
33 | w użyciu API dla programistów do serializacji żądań RPC do i z XML-a. | |
34 | Nie zawiera warstwy transportowej typu HTTP. API bazuje głównie na | |
35 | własnościowym kodzie napisanym do użytku wewnętrznego na Epinions.com | |
36 | i zostało później zmodyfikowane, aby włączyć idee protokołu xmlrpc. | |
37 | API to przeszło test sprawdzający poprawność implementacji w grudniu | |
d94e94cc | 38 | 2000. |
38332dad | 39 | |
d7e383ba AF |
40 | %package devel |
41 | Summary: Header files etc to develop XML-RPC applications | |
18b0bc23 | 42 | Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia aplikacji XML-RPC |
d7e383ba | 43 | Group: Development/Libraries |
e3ac8028 JB |
44 | Requires: %{name} = %{version}-%{release} |
45 | Requires: expat-devel | |
d7e383ba AF |
46 | |
47 | %description devel | |
d94e94cc JB |
48 | Header files etc needed to develop XML-RPC applications. |
49 | ||
ea71d385 JR |
50 | %description devel -l pl.UTF-8 |
51 | Pliki nagłówkowe potrzebne do tworzenia aplikacji używających XML-RPC. | |
d7e383ba AF |
52 | |
53 | %package static | |
54 | Summary: Static XML-RPC EPI libraries | |
18b0bc23 | 55 | Summary(pl.UTF-8): Biblioteki statyczne XML-RPC EPI |
d7e383ba | 56 | Group: Development/Libraries |
e3ac8028 | 57 | Requires: %{name}-devel = %{version}-%{release} |
d7e383ba AF |
58 | |
59 | %description static | |
d94e94cc JB |
60 | Static XML-RPC EPI libraries. |
61 | ||
ea71d385 | 62 | %description static -l pl.UTF-8 |
d94e94cc | 63 | Biblioteki statyczne XML-RPC EPI. |
d7e383ba AF |
64 | |
65 | %package progs | |
66 | Summary: XML-RPC sample programs | |
18b0bc23 | 67 | Summary(pl.UTF-8): Programy przykładowe XML-RPC |
d7e383ba | 68 | Group: Applications/Text |
e3ac8028 | 69 | Requires: %{name} = %{version}-%{release} |
d7e383ba AF |
70 | |
71 | %description progs | |
d94e94cc JB |
72 | Sample programs for XML-RPC EPI library. |
73 | ||
ea71d385 JR |
74 | %description progs -l pl.UTF-8 |
75 | Programy przykładowe do biblioteki XML-RPC EPI. | |
d7e383ba AF |
76 | |
77 | %prep | |
6e822bf8 | 78 | %setup -q -n xmlrpc |
c1533a7b | 79 | %patch0 -p1 |
d7e383ba AF |
80 | |
81 | %build | |
34f84470 | 82 | %{__libtoolize} |
ceee066d | 83 | %{__aclocal} |
8bfd56bd | 84 | %{__autoconf} |
85 | %{__automake} | |
d7e383ba AF |
86 | %configure \ |
87 | --program-prefix=xmlrpc-epi- | |
88 | %{__make} | |
89 | ||
90 | %install | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
93 | %{__make} install \ | |
dda61ff7 | 94 | DESTDIR=$RPM_BUILD_ROOT |
d7e383ba | 95 | |
d7e383ba AF |
96 | %clean |
97 | rm -rf $RPM_BUILD_ROOT | |
98 | ||
a8d9616d | 99 | %post -p /sbin/ldconfig |
d7e383ba AF |
100 | %postun -p /sbin/ldconfig |
101 | ||
102 | %files | |
103 | %defattr(644,root,root,755) | |
f3f70d47 | 104 | %attr(755,root,root) %{_libdir}/libxmlrpc-epi.so.*.*.* |
6e822bf8 | 105 | %attr(755,root,root) %ghost %{_libdir}/libxmlrpc-epi.so.0 |
d7e383ba AF |
106 | |
107 | %files devel | |
108 | %defattr(644,root,root,755) | |
38332dad | 109 | %doc AUTHORS COPYING ChangeLog NEWS README |
f3f70d47 JB |
110 | %attr(755,root,root) %{_libdir}/libxmlrpc-epi.so |
111 | %{_libdir}/libxmlrpc-epi.la | |
d7e383ba AF |
112 | %{_includedir} |
113 | ||
114 | %files static | |
115 | %defattr(644,root,root,755) | |
f3f70d47 | 116 | %{_libdir}/libxmlrpc-epi.a |
d7e383ba AF |
117 | |
118 | %files progs | |
119 | %defattr(644,root,root,755) | |
f3f70d47 | 120 | %attr(755,root,root) %{_bindir}/xmlrpc-epi-* |