Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
de70367369 | ||
|
|
1d6cd29c38 | ||
|
|
15c5b5d2f8 | ||
|
|
15ca83650f |
6 changed files with 145 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -0,0 +1 @@
|
|||
wv2-0.2.3.tar.bz2
|
||||
|
|
@ -1 +0,0 @@
|
|||
wv2 is now shipped as part of koffice (as of koffice-2.1.81)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
ea7e3331fbe597185070c0784411a3f7 wv2-0.2.3.tar.bz2
|
||||
11
wv2-0.2.2-no-extra-libs.patch
Normal file
11
wv2-0.2.2-no-extra-libs.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- wv2-0.2.2/wv2-config.in.extra_libs 2006-02-21 11:36:20.000000000 -0600
|
||||
+++ wv2-0.2.2/wv2-config.in 2004-05-09 13:23:15.000000000 -0500
|
||||
@@ -76,7 +76,7 @@
|
||||
echo $exec_prefix
|
||||
fi
|
||||
|
||||
-wv2_libs="-lwv2 @WV_LDFLAGS@"
|
||||
+wv2_libs="-lwv2"
|
||||
|
||||
if test "$echo_cflags" = "yes"; then
|
||||
includes="@WV_CFLAGS@"
|
||||
11
wv2-0.2.2-no-undefined.patch
Normal file
11
wv2-0.2.2-no-undefined.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- wv2-0.2.2/src/Makefile.am.no-undefined 2004-05-09 13:23:16.000000000 -0500
|
||||
+++ wv2-0.2.2/src/Makefile.am 2006-02-21 12:02:08.000000000 -0600
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
libwv2_la_LDFLAGS = \
|
||||
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
||||
- -export-dynamic
|
||||
+ -export-dynamic -no-undefined -Wl,--no-undefined
|
||||
|
||||
libwv2_la_SOURCES = olestorage.cpp olestream.cpp \
|
||||
word97_generated.cpp word97_helper.cpp word95_helper.cpp \
|
||||
121
wv2.spec
Normal file
121
wv2.spec
Normal file
|
|
@ -0,0 +1,121 @@
|
|||
Name: wv2
|
||||
Version: 0.2.3
|
||||
Release: 3%{?dist}
|
||||
Summary: A library which allows access to Microsoft® Word files
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2
|
||||
URL: http://wvware.sourceforge.net
|
||||
Source0: http://dl.sf.net/wvware/wv2-0.2.3.tar.bz2
|
||||
# see bug #182293
|
||||
Patch1: wv2-0.2.2-no-undefined.patch
|
||||
# see bug #192291
|
||||
Patch2: wv2-0.2.2-no-extra-libs.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: automake
|
||||
BuildRequires: libgsf-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: libtool
|
||||
|
||||
%description
|
||||
wv is a library which allows access to Microsoft® Word files. It can load and
|
||||
parse Word 2000, 97, 95 and 6 file formats. (These are the file formats known
|
||||
internally as Word 9, 8, 7 and 6.) There is some support for reading earlier
|
||||
formats as well: Word 2 docs are converted to plaintext.
|
||||
|
||||
%package devel
|
||||
Summary: Development tools for programs which will use the wv2 library
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: libgsf-devel
|
||||
Requires: glib2-devel
|
||||
Requires: libxml2-devel
|
||||
|
||||
%description devel
|
||||
The wv2-devel package includes the header files necessary for developing.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%patch1 -p1 -b .no-undefined
|
||||
%patch2 -p1 -b .extra_libs
|
||||
|
||||
./autogen.sh
|
||||
|
||||
%build
|
||||
%configure --disable-warnings --disable-dependency-tracking
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING.LIB README RELEASE THANKS TODO
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/*
|
||||
%{_bindir}/wv2-config
|
||||
%{_libdir}/*.so
|
||||
%{_includedir}/wv2
|
||||
|
||||
%changelog
|
||||
* Thu Aug 23 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> 0.2.3-3
|
||||
- new license tag
|
||||
|
||||
* Fri Sep 15 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> 0.2.3-2
|
||||
- FE6 rebuild
|
||||
- fix BR
|
||||
|
||||
* Sun Jun 18 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> 0.2.3-1
|
||||
- version upgrade
|
||||
- fix #195019 (CVE-2006-2197)
|
||||
|
||||
* Wed Mar 22 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> 0.2.2-9
|
||||
- bump for libgsf
|
||||
|
||||
* Tue Feb 21 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> 0.2.2-8
|
||||
- Fix #19229{1,3}
|
||||
- Tune configure
|
||||
|
||||
* Thu Feb 16 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> 0.2.2-7
|
||||
- Rebuild for Fedora Extras 5
|
||||
|
||||
* Tue Dec 13 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> 0.2.2-6
|
||||
- rebuild
|
||||
|
||||
* Tue Jul 05 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> 0.2.2-5
|
||||
- add dist tag
|
||||
|
||||
* Fri Jul 01 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> 0.2.2-4
|
||||
- add some Requires for the devel package
|
||||
- changed some files around
|
||||
- added missing defattr to devel package
|
||||
|
||||
* Thu Jun 30 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> 0.2.2-3
|
||||
- drop explicit Requires for ldconfig
|
||||
|
||||
* Wed Jun 29 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> 0.2.2-2
|
||||
- added trademarks
|
||||
- added missing ldconfig
|
||||
|
||||
* Sun Jun 26 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> 0.2.2-1
|
||||
- Initial Release
|
||||
Loading…
Add table
Add a link
Reference in a new issue