forked from pool/xmlrpc-c
105 lines
3.1 KiB
RPMSpec
105 lines
3.1 KiB
RPMSpec
|
#
|
||
|
# spec file for package xmlrpc-c (Version 0.9.10)
|
||
|
#
|
||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
# usedforbuild aaa_base acl attr audit-libs autoconf automake bash bind-libs bind-utils binutils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db diffutils e2fsprogs file filesystem fillup findutils flex gawk gcc gdbm gdbm-devel gettext gettext-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv klogd less libacl libattr libcom_err libgcc libnscd libstdc++ libtool libxcrypt libxml2 libxml2-devel libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch perl permissions pkgconfig popt procinfo procps psmisc pwdutils rcs readline rpm sed strace sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel
|
||
|
|
||
|
Name: xmlrpc-c
|
||
|
BuildRequires: libxml2-devel pkgconfig
|
||
|
Version: 0.9.10
|
||
|
Release: 36
|
||
|
License: BSD, Python
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
URL: http://xmlrpc-c.sourceforge.net/
|
||
|
Source0: xmlrpc-c-0.9.10-patched.tar.gz
|
||
|
Summary: A library implementing XML-based remote procedure calls
|
||
|
Group: System/Libraries
|
||
|
Autoreqprov: on
|
||
|
|
||
|
%description
|
||
|
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
||
|
package is used by XML-RPC clients and servers written in C and C++.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Eric Kidd <eric.kidd@pobox.com>
|
||
|
|
||
|
%debug_package
|
||
|
%package devel
|
||
|
Summary: Development package for xmlrpc-c
|
||
|
Group: System/Libraries
|
||
|
Requires: %name = %version
|
||
|
|
||
|
%description devel
|
||
|
Files needed for software development using xmlrpc-c.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Eric Kidd <eric.kidd@pobox.com>
|
||
|
|
||
|
%prep
|
||
|
%setup -n xmlrpc-c-0.9.10
|
||
|
|
||
|
%build
|
||
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||
|
./configure --prefix=%_prefix \
|
||
|
--libdir=%_libdir \
|
||
|
--sysconfdir=%_sysconfdir\
|
||
|
--mandir=%_mandir \
|
||
|
--infodir=%_infodir \
|
||
|
--localstatedir=%_localstatedir \
|
||
|
--enable-libxml2-backend \
|
||
|
--disable-cgi-server \
|
||
|
--disable-cplusplus \
|
||
|
--disable-libwww-client
|
||
|
# --disable-abyss-server \
|
||
|
|
||
|
%install
|
||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%post
|
||
|
%run_ldconfig
|
||
|
|
||
|
%postun
|
||
|
%run_ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-, root, root)
|
||
|
%_libdir/libxmlrpc*so.*
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-, root, root)
|
||
|
%_libdir/libxmlrpc*a
|
||
|
%_libdir/libxmlrpc*so
|
||
|
%_includedir/*
|
||
|
%_bindir/*
|
||
|
%_mandir/man*/*
|
||
|
|
||
|
%changelog -n xmlrpc-c
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Thu Mar 18 2004 - hvogel@suse.de
|
||
|
- fix files list
|
||
|
* Tue Mar 16 2004 - kkaempf@suse.de
|
||
|
- fix libdir for 64bit
|
||
|
* Tue Mar 16 2004 - hvogel@suse.de
|
||
|
- fix bogus %%prefix usage
|
||
|
* Tue Mar 16 2004 - kkaempf@suse.de
|
||
|
- fix filelist
|
||
|
* Tue Mar 16 2004 - kkaempf@suse.de
|
||
|
- initial package version 0.9.10
|