File csindex.spec of Package csindex

#
# spec file for package csindex (Version 19980713)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           csindex
License:        No license agreement found in package
Summary:        Utility for creating Czech or Slovak Sorted LaTeX Index Files
Version:        19980713
Release:        583
Source:         %{name}-%{version}.tar.bz2
Source1:        COPYING
URL:            ftp://ftp.fi.muni.cz/pub/localization/csindex/
Patch:          %{name}-%{version}.dif
Group:          Productivity/Publishing/TeX/Utilities
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This program creates Czech and Slovak sorted index files for LaTeX.
Usage: csindex -z il2 file.idx Creates file.ind - a sorted index file.
Uses the ISO 8859-2 encoding.



Authors:
--------
    Zdenek Wagner <wagner@icpf.cas.cz>
    Zdenek Salvet <salvet@ics.muni.cz>

%prep
%setup
install -m 644 %{SOURCE1} .
%patch

%build
make CC="gcc $RPM_OPT_FLAGS"

%install
mkdir -p $RPM_BUILD_ROOT/usr/bin
install -c -m 0755 csindex $RPM_BUILD_ROOT/usr/bin

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc README COPYING
/usr/bin/csindex

%changelog
* Thu Aug 02 2007 - pgajdos@suse.cz
- added COPYING -- MakeIndex license
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 17 2006 - schwab@suse.de
- Don't strip binaries.
* Wed Nov 02 2005 - dmueller@suse.de
- don't build as root
* Tue Aug 14 2001 - dan@suse.cz
- use bzip instead of gzip
* Mon Dec 18 2000 - pblaha@suse.cz
- create this package
openSUSE Build Service is sponsored by