Accepting request 83348 from Publishing

- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build (forwarded request 83146 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/83348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/csindex?expand=0&rev=10
This commit is contained in:
Lars Vogdt 2011-09-19 13:57:58 +00:00 committed by Git OBS Bridge
parent bd1fa164a1
commit 27ee577d2f
2 changed files with 9 additions and 26 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Sep 18 00:04:05 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 2 11:41:28 CEST 2007 - pgajdos@suse.cz Thu Aug 2 11:41:28 CEST 2007 - pgajdos@suse.cz

View File

@ -1,7 +1,7 @@
# #
# spec file for package csindex (Version 19980713) # spec file for package csindex
# #
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: csindex Name: csindex
@ -35,43 +34,21 @@ This program creates Czech and Slovak sorted index files for LaTeX.
Usage: csindex -z il2 file.idx Creates file.ind - a sorted index file. Usage: csindex -z il2 file.idx Creates file.ind - a sorted index file.
Uses the ISO 8859-2 encoding. Uses the ISO 8859-2 encoding.
Authors:
--------
Zdenek Wagner <wagner@icpf.cas.cz>
Zdenek Salvet <salvet@ics.muni.cz>
%prep %prep
%setup %setup
install -m 644 %{SOURCE1} . install -m 644 %{SOURCE1} .
%patch %patch
%build %build
make CC="gcc $RPM_OPT_FLAGS" make CC="gcc $RPM_OPT_FLAGS" %{?_smp_mflags}
%install %install
mkdir -p $RPM_BUILD_ROOT/usr/bin mkdir -p $RPM_BUILD_ROOT/usr/bin
install -c -m 0755 csindex $RPM_BUILD_ROOT/usr/bin install -c -m 0755 csindex $RPM_BUILD_ROOT/usr/bin
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README COPYING %doc README COPYING
/usr/bin/csindex /usr/bin/csindex
%changelog %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