wbxml2/wbxml2.spec
cvsextras 50c2c2bd88 auto-import changelog data from wbxml2-0.9.0-0.fdr.2.1.src.rpm
0.9.0-0.fdr.2
- Set group, own include dir, fix devel description, make %doc files chmod
    -x.
0.9.0-0.fdr.1
- Initial RPM release.
2004-11-08 05:31:34 +00:00

93 lines
2.2 KiB
RPMSpec

Name: wbxml2
Version: 0.9.0
Release: 0.fdr.2.1
Epoch: 0
Summary: Library and tools to parse, encode and handle WBXML documents.
Group: System Environment/Libraries
License: GPL
URL: http://libwbxml.aymerick.com/
Source0: http://dl.sf.net/sourceforge/wbxmllib/wbxml2-0.9.0-src.tar.gz
Patch0: wbxml2-0.9.0-am_cflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: popt, expat-devel, zlib-devel
BuildRequires: libtool, automake, autoconf
%description
The WBXML Library (aka libwbxml) contains a library and its associated tools
to Parse, Encode and Handle WBXML documents.
The WBXML format is a binary representation of XML, defined by the Wap Forum,
and used to reduce bandwidth in mobile communications.
%package devel
Summary: %{summary}
Group: Development/Libraries
Requires: %{name} = %{epoch}:%{version}-%{release}
%description devel
This package contains the libraries, include files and documentation
to develop WBXML applications.
The WBXML format is a binary representation of XML, defined by the Wap Forum,
and used to reduce bandwidth in mobile communications.
%prep
%setup -q
%patch0 -p1 -b .am_cflags
%build
libtoolize
aclocal
autoheader
automake --add-missing
autoconf
%configure --includedir=%{_includedir}/%{name}
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_bindir}/*
%{_libdir}/*.so.*
%defattr(0644,root,root,0755)
%doc AUTHORS THANKS COPYING ChangeLog NEWS README TODO GNU-GPL References BUGS
%files devel
%defattr(-,root,root,-)
# the README says this documentation is obsolete since 0.7.2 so not included
#%doc doc/*
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/wbxml*.h
%{_libdir}/*.a
%{_libdir}/*.so
%changelog
* Wed Jun 30 2004 Michael Schwendt <mschwendt[AT]users.sf.net> 0:0.9.0-0.fdr.2
- Set group, own include dir, fix devel description,
make %%doc files chmod -x.
* Wed Jun 30 2004 Panu Matilainen <pmatilai@welho.com> 0:0.9.0-0.fdr.1
- Initial RPM release.