File tnef.spec of Package tnef

#
# spec file for package tnef (Version 1.2.3.1)
#
# Copyright (c) 2009 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/
#

# norootforbuild


Name:           tnef
License:        GPL v2 or later
Group:          Productivity/Archiving/Compression
AutoReqProv:    on
Version:        1.2.3.1
Release:        135
Summary:        Uncompress MS-TNEF archives
Source0:        tnef-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This tool uncompresses MS-TNEF archives as used by some mailers



Authors:
--------
    Thomas Boll <tb@boll.ch>
    Mark Simpson <damned@world.std.com>

%prep
%setup -q
rm -f acconfig.h

%build
autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS -Wall"
./configure --prefix=/usr --mandir=%{_mandir}
make

%install
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO
/usr/bin/tnef
%{_mandir}/man1/tnef.1.gz

%changelog
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Aug 23 2004 mmj@suse.de
- Update to 1.2.3.1 which obsoletes our patches
* Thu May 06 2004 hmacht@suse.de
- added norootforbuild in specfile
* Thu Apr 22 2004 pth@suse.de
- Fix configure.in and acinclude.m4.
- Define _GNU_SOURCE unconditionally to get basename declaration.
- Include headers where necessary.
* Wed Jun 18 2003 coolo@suse.de
- use BuildRoot
* Wed Dec 05 2001 uli@suse.de
- update -> 1.1.1 (cosmetic, just to keep people from complaining)
* Thu Aug 16 2001 uli@suse.de
- update -> 1.1
* Mon Apr 09 2001 uli@suse.de
- update -> 1.0.1
* Thu Apr 05 2001 uli@suse.de
- update -> 1.0
- fixed Group tag
* Tue Sep 19 2000 uli@suse.de
- removed so-called "sanity check" which makes tnef virtually unusable
* Mon Jul 17 2000 stark@suse.de
- added <unistd.h>
- fixed spec-file for compiling patched sources
* Mon Jul 03 2000 uli@suse.de
- added secfix
* Tue Jun 27 2000 dipa@suse.de
- add a customer dif-file
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Tue Aug 10 1999 uli@suse.de
- new package