Compare commits

..

7 commits

Author SHA1 Message Date
Fedora Release Engineering
fcb7af56b1 dist-git conversion 2010-07-29 15:13:33 +00:00
Bill Nottingham
81db5642f1 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:15:37 +00:00
Laurent Rineau
e05c3fbdd6 Change the license tag. No rebuild for FC-6 and F-7. 2007-08-26 13:13:09 +00:00
Laurent Rineau
f56b01e437 - Stupidity. Fix the use of iconv. Bug #217848 again.
- Add an end-of-line to BUGS as well.
Thu Nov 30 2006 Laurent Rineau
    <laurent.rineau__fedora_extras@normalesup.org> - 0.9.2-6
- Use iconv instead of recode. Bug #217848.
2006-12-01 12:30:49 +00:00
Laurent Rineau
fc6b48bb50 - Use iconv instead of mock. Bug #217848. 2006-11-30 13:47:27 +00:00
Laurent Rineau
199e7e140d wbxml-0.9.2-5: Changed the Summarys and descriptions. 2006-11-29 10:18:56 +00:00
Warren Togami
b74f0809ea Initialize branch FC-6 for wbxml2 2006-11-28 19:25:17 +00:00
7 changed files with 94425 additions and 3 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
wbxml2-0.9.2.tar.gz

View file

@ -1,3 +0,0 @@
wbxml2 has been superseded by libwbxml:
http://sourceforge.net/mailarchive/forum.php?thread_name=4975C6CE.50209%40cms.hu-berlin.de&forum_name=wbxmllib-devel

1
sources Normal file
View file

@ -0,0 +1 @@
67a48fd9b69db8818a4dca5375c7993a wbxml2-0.9.2.tar.gz

94243
wbxml2-0.9.2-autoreconf.patch Normal file

File diff suppressed because it is too large Load diff

22
wbxml2-0.9.2-cflags.patch Normal file
View file

@ -0,0 +1,22 @@
--- wbxml2-0.9.2/tools/Makefile.am.cflags 2006-11-24 17:51:58.000000000 +0100
+++ wbxml2-0.9.2/tools/Makefile.am 2006-11-24 17:52:09.000000000 +0100
@@ -3,7 +3,7 @@
INCLUDES =\
-I. -I../src -I/usr/include
-CFLAGS =\
+AM_CFLAGS =\
-DHAVE_CONFIG_H\
-DHAVE_EXPAT\
-D_REENTRANT\
--- wbxml2-0.9.2/src/Makefile.am.cflags 2006-11-24 17:51:51.000000000 +0100
+++ wbxml2-0.9.2/src/Makefile.am 2006-11-24 17:52:12.000000000 +0100
@@ -3,7 +3,7 @@
INCLUDES =\
-I. -I/usr/include
-CFLAGS =\
+AM_CFLAGS =\
-DHAVE_CONFIG_H\
-DHAVE_EXPAT\
-D_REENTRANT\

29
wbxml2-0.9.2-no-doc.patch Normal file
View file

@ -0,0 +1,29 @@
--- wbxml2-0.9.2/Makefile.am.no-doc 2006-07-11 13:47:43.000000000 +0200
+++ wbxml2-0.9.2/Makefile.am 2006-11-24 17:35:47.000000000 +0100
@@ -8,26 +8,6 @@
pkgconfigdir=$(libdir)/pkgconfig
pkgconfig_DATA = libwbxml2.pc
-wbxmldocdir = ${prefix}/share/doc/wbxml2-${VERSION}
-wbxmldoc_DATA = \
- AUTHORS\
- bootstrap\
- BUGS\
- ChangeLog\
- COPYING\
- GNU-LGPL\
- INSTALL\
- NEWS\
- README\
- References\
- THANKS\
- TODO\
- doxygen.h
-
-install-data-local:
- $(mkinstalldirs) $(DESTDIR)$(wbxmldocdir)/manual
- cp -Rp doc/* $(DESTDIR)$(wbxmldocdir)/manual
-
dist-bz2: distdir
sed -e "s/tar.gz/tar.bz2/g" $(distdir)/wbxml2.spec > $(distdir)/wbxml2.spec.aux
mv $(distdir)/wbxml2.spec.aux $(distdir)/wbxml2.spec

129
wbxml2.spec Normal file
View file

@ -0,0 +1,129 @@
Name: wbxml2
Version: 0.9.2
Release: 9%{?dist}
Summary: Library and tools to parse, encode and handle WBXML documents
Group: System Environment/Libraries
License: LGPLv2+
URL: http://libwbxml.aymerick.com:8080/
Source0: http://dl.sourceforge.net/wbxmllib/%{name}-%{version}.tar.gz
# Do not install doc files
Patch0: wbxml2-0.9.2-no-doc.patch
# Fix CFLAGS
Patch1: wbxml2-0.9.2-cflags.patch
# libtool, automake and autoconf stuffs, done by autoreconf
Patch2: wbxml2-0.9.2-autoreconf.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: expat-devel zlib-devel popt
%description
The WBXML Library (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
Group: Development/Libraries
Summary: Development files of %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
chmod a+x configure
# Recode to UTF-8 several doc files
for file in ChangeLog README NEWS References; do
/usr/bin/iconv -f iso8859-1 -t utf-8 $file > ${file}.conv \
&& /bin/mv ${file}.conv $file
done
# no line terminator, add one
echo >> THANKS
echo >> BUGS
%build
%configure --disable-rpath --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS BUGS ChangeLog COPYING GNU-LGPL NEWS README References THANKS TODO
%{_bindir}/wbxml2xml
%{_bindir}/xml2wbxml
%{_libdir}/libwbxml2.so.0*
%exclude %{_libdir}/libwbxml2.la
%files devel
%defattr(-,root,root,-)
%doc AUTHORS BUGS ChangeLog COPYING GNU-LGPL NEWS README References THANKS TODO
%{_includedir}/wbxml*.h
%{_libdir}/libwbxml2.so
%{_libdir}/pkgconfig/libwbxml2.pc
%changelog
* Sun Aug 26 2007 Laurent Rineau <laurent.rineau__fedora@normalesup.org> - 0.9.2-9
- Change the License: tag.
* Fri Dec 1 2006 Laurent Rineau <laurent.rineau__fedora_extras@normalesup.org> - 0.9.2-8
- Stupidity. Fix the use of iconv. Bug #217848 again.
- Add an end-of-line to BUGS as well.
* Thu Nov 30 2006 Laurent Rineau <laurent.rineau__fedora_extras@normalesup.org> - 0.9.2-6
- Use iconv instead of recode. Bug #217848.
* Mon Nov 27 2006 Laurent Rineau <laurent.rineau__fedora_extras@normalesup.org> - 0.9.2-5
- Changed the Summarys and descriptions.
* Mon Nov 27 2006 Laurent Rineau <laurent.rineau__fedora_extras@normalesup.org> - 0.9.2-4
- Added BR: popt zlib-devel
- Improved changelog.
* Fri Nov 24 2006 Laurent Rineau <laurent.rineau__fedora_extras@normalesup.org> - 0.9.2-3
- Recode some %%doc files.
* Fri Nov 24 2006 Laurent Rineau <laurent.rineau__fedora_extras@normalesup.org> - 0.9.2-1
- New upstream release 0.9.2.
- Unorphaned for FE-6 and rawhide. New maintainer. Review request #217180
- New spec file.
- Header are know in %%{_includedir} instead of %%{_includedir}/wbxml2
- New licence.
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.9.0-4
- rebuild on all arches
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt
* 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.