Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Lazy_Kent
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: 0 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
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