SHA256
1
0
forked from pool/csindex
csindex/csindex.spec
Factory Maintainer ce26f837bc Accepting request 120607 from home:babelworx:ldig:branches:Publishing
license update: SUSE-MakeIndex
This license was added to the spreadsheet linked at license.opensuse.org to cater for this package

OBS-URL: https://build.opensuse.org/request/show/120607
OBS-URL: https://build.opensuse.org/package/show/Publishing/csindex?expand=0&rev=5
2012-05-11 05:00:32 +00:00

55 lines
1.6 KiB
RPMSpec

#
# spec file for package csindex
#
# Copyright (c) 2011 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: csindex
License: SUSE-MakeIndex
Summary: Utility for creating Czech or Slovak Sorted LaTeX Index Files
Version: 19980713
Release: 655
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.
%prep
%setup
install -m 644 %{SOURCE1} .
%patch
%build
make CC="gcc $RPM_OPT_FLAGS" %{?_smp_mflags}
%install
mkdir -p $RPM_BUILD_ROOT/usr/bin
install -c -m 0755 csindex $RPM_BUILD_ROOT/usr/bin
%files
%defattr(-,root,root,-)
%doc README COPYING
/usr/bin/csindex
%changelog