antiword/antiword.spec

61 lines
1.7 KiB
RPMSpec
Raw Normal View History

Name: antiword
Version: 0.37
Release: 5mamba
Summary: Antiword is a free MS Word reader for Linux and RISC OS
Group: Applications/Text
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.winfield.demon.nl/
Source: http://www.winfield.demon.nl/linux/%{name}-%{version}.tar.gz
Patch: %{name}-0.37-can_2005_3126.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Antiword is a free MS Word reader for Linux and RISC OS.
%prep
%setup -q
%patch -p1 -b .can_2005_3126
%build
%make \
LOCAL_INSTALL_DIR=%{_bindir} \
LOCAL_RESOURCES_DIR=%{_datadir}/antiword
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \
LOCAL_INSTALL_DIR=%{buildroot}%{_bindir} \
LOCAL_RESOURCES_DIR=%{buildroot}%{_datadir}/antiword
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%attr(0755,root,root) %{_bindir}/antiword
%attr(0755,root,root) %{_bindir}/kantiword
%dir %{_datadir}/antiword
%{_datadir}/antiword/*
%changelog
* Mon Aug 19 2013 Automatic Build System <autodist@mambasoft.it> 0.37-5mamba
- automatic rebuild by autodist
* Sat Jul 12 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.37-4mamba
- specfile updated
* Wed Jan 18 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.37-3qilnx
- security fix CAN-2005-3126 (qibug#113)
* Thu Jan 12 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.37-2qilnx
- specfile fixed
* Tue Dec 27 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.37-1qilnx
- package created by autospec