Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
KDE:KDE3
antiword
antiword.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File antiword.spec of Package antiword
# # spec file for package antiword # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: antiword Version: 0.37 Release: lp153.4.3 License: GPL-2.0 Summary: Free MS Word Reader for Linux Url: http://www.winfield.demon.nl/ Group: Productivity/Text/Convertors Source0: http://www.winfield.demon.nl/linux/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM 10_fix_buffer_overflow_wordole_c.patch eriks@debian.org -- add check for buffer overflow with malformed input files Patch0: 10_fix_buffer_overflow_wordole_c.patch # PATCH-FIX-UPSTREAM 50_antiword-manpage-hyphen-to-minus.patch olly@survex.com -- fix hyphen in antiword.1 to be a minus Patch1: 50_antiword-manpage-hyphen-to-minus.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Antiword converts the binary files from Word 2, 6, 7, 97, 2000, 2002 and 2003 to plain text and to PostScript (TM). %prep %setup -q %patch0 -p1 %patch1 -p1 sed -i 's/\r$//' Docs/antiword.old.php %build make %{?_smp_mflags} CFLAGS="%{optflags} -pedantic -DNDEBUG" %install make DESTDIR=%{buildroot} GLOBAL_INSTALL_DIR=%{_bindir} global_install rm -f %{buildroot}%{_bindir}/kantiword install -Dm 0644 Docs/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 %files %defattr(-,root,root,-) %doc Docs/{antiword.old.php,antiword.php,ChangeLog,COPYING,Emacs,Exmh} %doc Docs/{FAQ,History,Mozilla,Mutt,Netscape,QandA,ReadMe,testdoc.doc} %{_bindir}/%{name} %{_datadir}/%{name}/ %doc %{_mandir}/man?/* %changelog * Sat Jun 15 2013 lazy.kent@opensuse.org - Add patches from Debian. 10_fix_buffer_overflow_wordole_c.patch: add check for buffer overflow with malformed input files, 50_antiword-manpage-hyphen-to-minus.patch: fix hyphen in antiword.1 to be a minus. * Sun Nov 6 2011 lazy.kent@opensuse.org - Don't install kantiword. - Correct License tag. - Use full URL as a source. - spec clean up and formatting. * Wed Aug 18 2010 lazy.kent.suse@gmail.com - removed unnecessary BuildRequires - spec-file reworked * Tue Jan 27 2009 puzel@suse.cz - specfile cleanup * Tue Jan 27 2009 garloff@suse.de - Some cleanup. * Fri Feb 1 2008 garloff@suse.de - Update to 0.37. * Thu Sep 1 2005 garloff@suse.de - Update to 0.36.1. * Sat Jan 10 2004 adrian@suse.de - add %%defattr * Wed Dec 10 2003 didge@suse.de - Version 0.35 * Fri Nov 14 2003 didge@suse.de - Version 0.34 * Wed Aug 20 2003 sbrabec@suse.cz - Removed obsolete libgtop from neededforbuild. * Mon May 26 2003 ro@suse.de - add kantiword (shell wrapper) to filelist * Mon Apr 14 2003 didge@suse.de - Fixed bug 25479/20003 - Added /usr/bin/kantiword, but not tested * Wed Jul 31 2002 didge@suse.de - Version 0.33 - Patch removed as the patch is changed to /usr/share/antiword :-) * Mon Oct 22 2001 didge@suse.de - Version 0.32 - now supports global resources, but changed dir /opt/antiword/share to /usr/share/antiword via a patch * Thu Oct 4 2001 didge@suse.de - moved the Resources to /usr/share/antiword * Mon Oct 1 2001 ro@suse.de - fix and cleanup specfile - todo: Resources dir should probably live in /usr/share/antiword * Mon Oct 1 2001 didge@suse.de - Initial Version 0.31
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor