289 lines
9.3 KiB
RPMSpec
289 lines
9.3 KiB
RPMSpec
#
|
|
# spec file for package texlive-specs-a
|
|
#
|
|
# Copyright (c) 2012 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/
|
|
#
|
|
|
|
|
|
%define build_slice a
|
|
%define __perl_requires %{nil}
|
|
%define __os_install_post /usr/lib/rpm/brp-compress \\\
|
|
%(ls /usr/lib/rpm/brp-suse.d/* 2> /dev/null | grep -vE 'check-la|boot-scripts|rpath|symlink|desktop|strip-debug|gcc-output|debuginfo|libtool|kernel-log') %{nil}
|
|
# skip-check-libtool-deps
|
|
%if 0%{?_with_debug:1}
|
|
%define __debug_install_post : > %{_builddir}/%{?buildsubdir}/debugfiles.list
|
|
%define debug_package %{nil}
|
|
%endif
|
|
|
|
# skip-check-libtool-deps
|
|
Name: texlive-specs-a
|
|
Version: 2012
|
|
Release: 0
|
|
Summary: One spec file for all TeX Live packages
|
|
License: GPL-2.0
|
|
Group: Development/Tools/Building
|
|
Url: http://build.opensuse.org/package/show?package=texlive-specs-a&project=Publishing:TeXLive
|
|
Source0: texlive-specs.tar.xz
|
|
BuildRequires: buffer
|
|
BuildRequires: ed
|
|
BuildRequires: file
|
|
BuildRequires: fontconfig
|
|
BuildRequires: ghostscript-fonts-std
|
|
BuildRequires: mkfontdir
|
|
BuildRequires: mkfontscale
|
|
BuildRequires: texlive-filesystem
|
|
BuildConflicts: texinfo
|
|
BuildRequires: xfs
|
|
BuildRequires: xorg-x11-fonts-core
|
|
BuildRequires: xz
|
|
BuildArch: noarch
|
|
Source198: a0poster.doc.tar.xz
|
|
Source001: a0poster.tar.xz
|
|
Source002: a2ping.doc.tar.xz
|
|
Source003: a2ping.tar.xz
|
|
Source004: a4wide.doc.tar.xz
|
|
Source005: a4wide.tar.xz
|
|
Source006: a5comb.doc.tar.xz
|
|
Source007: a5comb.tar.xz
|
|
Source008: aastex.doc.tar.xz
|
|
Source009: aastex.tar.xz
|
|
Source010: abbr.doc.tar.xz
|
|
Source011: abbr.tar.xz
|
|
Source012: abc.doc.tar.xz
|
|
Source013: abc.tar.xz
|
|
Source014: abstract.doc.tar.xz
|
|
Source015: abstract.tar.xz
|
|
Source016: abstyles.doc.tar.xz
|
|
Source017: abstyles.tar.xz
|
|
Source018: accfonts.doc.tar.xz
|
|
Source019: accfonts.tar.xz
|
|
Source020: achemso.doc.tar.xz
|
|
Source021: achemso.tar.xz
|
|
Source022: acmconf.doc.tar.xz
|
|
Source023: acmconf_pubform-bib.dif
|
|
Source024: acmconf.tar.xz
|
|
Source025: acronym.doc.tar.xz
|
|
Source026: acronym.tar.xz
|
|
Source027: acroterm.doc.tar.xz
|
|
Source028: acroterm.tar.xz
|
|
Source029: active-conf.doc.tar.xz
|
|
Source030: active-conf.tar.xz
|
|
Source031: addlines.doc.tar.xz
|
|
Source032: addlines.tar.xz
|
|
Source033: adfathesis.doc.tar.xz
|
|
Source034: adfathesis.tar.xz
|
|
Source035: adforn.doc.tar.xz
|
|
Source036: adforn.tar.xz
|
|
Source037: adfsymbols.doc.tar.xz
|
|
Source038: adfsymbols.tar.xz
|
|
Source039: adjmulticol.doc.tar.xz
|
|
Source040: adjmulticol.tar.xz
|
|
Source041: adjustbox.doc.tar.xz
|
|
Source042: adjustbox.tar.xz
|
|
Source043: adobemapping.tar.xz
|
|
Source044: adrconv.doc.tar.xz
|
|
Source045: adrconv.tar.xz
|
|
Source046: advdate.doc.tar.xz
|
|
Source047: advdate.tar.xz
|
|
Source048: ae.doc.tar.xz
|
|
Source049: aeguill.doc.tar.xz
|
|
Source050: aeguill.tar.xz
|
|
Source051: ae.tar.xz
|
|
Source052: afm2pl.doc.tar.xz
|
|
Source053: afm2pl.tar.xz
|
|
Source054: afthesis.doc.tar.xz
|
|
Source055: afthesis.tar.xz
|
|
Source056: aguplus.doc.tar.xz
|
|
Source057: aguplus.tar.xz
|
|
Source058: aiaa.doc.tar.xz
|
|
Source059: aiaa.tar.xz
|
|
Source060: aichej.tar.xz
|
|
Source061: akktex.doc.tar.xz
|
|
Source062: akktex.tar.xz
|
|
Source063: akletter.doc.tar.xz
|
|
Source064: akletter.tar.xz
|
|
Source065: aleph.doc.tar.xz
|
|
Source066: alg.doc.tar.xz
|
|
Source067: algorithm2e.doc.tar.xz
|
|
Source068: algorithm2e.tar.xz
|
|
Source069: algorithmicx.doc.tar.xz
|
|
Source070: algorithmicx.tar.xz
|
|
Source071: algorithms.doc.tar.xz
|
|
Source072: algorithms.tar.xz
|
|
Source073: alg.tar.xz
|
|
Source074: allrunes.doc.tar.xz
|
|
Source075: allrunes.tar.xz
|
|
Source076: alnumsec.doc.tar.xz
|
|
Source077: alnumsec.tar.xz
|
|
Source078: alterqcm.doc.tar.xz
|
|
Source079: alterqcm.tar.xz
|
|
Source080: altfont.doc.tar.xz
|
|
Source081: altfont.tar.xz
|
|
Source082: ametsoc.doc.tar.xz
|
|
Source083: ametsoc.tar.xz
|
|
Source084: amiri.doc.tar.xz
|
|
Source085: amiri.tar.xz
|
|
Source086: amsaddr.doc.tar.xz
|
|
Source087: amsaddr.tar.xz
|
|
Source088: amscls.doc.tar.xz
|
|
Source089: amscls.tar.xz
|
|
Source090: amsfonts.doc.tar.xz
|
|
Source091: amsfonts.tar.xz
|
|
Source092: amslatex-primer.doc.tar.xz
|
|
Source093: amsldoc-it.doc.tar.xz
|
|
Source094: amsldoc-vn.doc.tar.xz
|
|
Source095: amsmath.doc.tar.xz
|
|
Source096: amsmath-it.doc.tar.xz
|
|
Source097: amsmath.tar.xz
|
|
Source098: amsrefs.doc.tar.xz
|
|
Source099: amsrefs.tar.xz
|
|
Source100: amstex.doc.tar.xz
|
|
Source101: amstex.tar.xz
|
|
Source102: amsthdoc-it.doc.tar.xz
|
|
Source103: animate.doc.tar.xz
|
|
Source104: animate.tar.xz
|
|
Source105: anonchap.doc.tar.xz
|
|
Source106: anonchap.tar.xz
|
|
Source107: answers.doc.tar.xz
|
|
Source108: answers.tar.xz
|
|
Source109: antiqua.doc.tar.xz
|
|
Source110: antiqua.tar.xz
|
|
Source111: antomega.doc.tar.xz
|
|
Source112: antomega.tar.xz
|
|
Source113: antt.doc.tar.xz
|
|
Source114: antt.tar.xz
|
|
Source115: anufinalexam.doc.tar.xz
|
|
Source116: anyfontsize.doc.tar.xz
|
|
Source117: anyfontsize.tar.xz
|
|
Source118: anysize.doc.tar.xz
|
|
Source119: anysize.tar.xz
|
|
Source120: aomart.doc.tar.xz
|
|
Source121: aomart.tar.xz
|
|
Source122: apa6.doc.tar.xz
|
|
Source123: apa6e.doc.tar.xz
|
|
Source124: apa6e.tar.xz
|
|
Source125: apa6.tar.xz
|
|
Source126: apacite.doc.tar.xz
|
|
Source127: apacite.tar.xz
|
|
Source128: apa.doc.tar.xz
|
|
Source129: apalike2.tar.xz
|
|
Source130: apa.tar.xz
|
|
Source131: appendix.doc.tar.xz
|
|
Source132: appendixnumberbeamer.doc.tar.xz
|
|
Source133: appendixnumberbeamer.tar.xz
|
|
Source134: appendix.tar.xz
|
|
Source135: apprends-latex.doc.tar.xz
|
|
Source136: arabi.doc.tar.xz
|
|
Source137: arabi.tar.xz
|
|
Source138: arabtex.doc.tar.xz
|
|
Source139: arabtex.tar.xz
|
|
Source140: arabxetex.doc.tar.xz
|
|
Source141: arabxetex.tar.xz
|
|
Source142: archaic.doc.tar.xz
|
|
Source143: archaic.tar.xz
|
|
Source144: arcs.doc.tar.xz
|
|
Source145: arcs.tar.xz
|
|
Source146: arev.doc.tar.xz
|
|
Source147: arev.tar.xz
|
|
Source148: around-the-bend.doc.tar.xz
|
|
Source149: arphic.doc.tar.xz
|
|
Source150: arphic.tar.xz
|
|
Source151: arrayjobx.doc.tar.xz
|
|
Source152: arrayjobx.tar.xz
|
|
Source153: arsclassica.doc.tar.xz
|
|
Source154: arsclassica.tar.xz
|
|
Source155: articleingud.doc.tar.xz
|
|
Source156: articleingud.tar.xz
|
|
Source157: arydshln.doc.tar.xz
|
|
Source158: arydshln.tar.xz
|
|
Source159: asaetr.doc.tar.xz
|
|
Source160: asaetr.tar.xz
|
|
Source161: ascelike.doc.tar.xz
|
|
Source162: ascelike.tar.xz
|
|
Source163: ascii-chart.doc.tar.xz
|
|
Source164: ascii.doc.tar.xz
|
|
Source165: ascii.tar.xz
|
|
Source166: aspectratio.doc.tar.xz
|
|
Source167: aspectratio.tar.xz
|
|
Source168: assignment.doc.tar.xz
|
|
Source169: assignment.tar.xz
|
|
Source170: astro.doc.tar.xz
|
|
Source171: astro.tar.xz
|
|
Source172: asyfig.doc.tar.xz
|
|
Source173: asyfig.tar.xz
|
|
Source174: asymptote-by-example-zh-cn.doc.tar.xz
|
|
Source175: asymptote.doc.tar.xz
|
|
Source176: asymptote-faq-zh-cn.doc.tar.xz
|
|
Source177: asymptote-manual-zh-cn.doc.tar.xz
|
|
Source178: asymptote.tar.xz
|
|
Source179: attachfile.doc.tar.xz
|
|
Source180: attachfile.tar.xz
|
|
Source181: augie.doc.tar.xz
|
|
Source182: augie.tar.xz
|
|
Source183: auncial-new.doc.tar.xz
|
|
Source184: auncial-new.tar.xz
|
|
Source185: aurical.doc.tar.xz
|
|
Source186: aurical.tar.xz
|
|
Source187: authoraftertitle.doc.tar.xz
|
|
Source188: authoraftertitle.tar.xz
|
|
Source189: authorindex.doc.tar.xz
|
|
Source190: authorindex.tar.xz
|
|
Source191: autoarea.doc.tar.xz
|
|
Source192: autoarea.tar.xz
|
|
Source193: automata.doc.tar.xz
|
|
Source194: automata.tar.xz
|
|
Source195: auto-pst-pdf.doc.tar.xz
|
|
Source196: auto-pst-pdf.tar.xz
|
|
Source197: avantgar.tar.xz
|
|
# SOURCES
|
|
|
|
%description
|
|
Use one rpm spec file for repackaging the texmf/texmf-dist
|
|
the several tar balls of TeX Live.
|
|
|
|
%prep
|
|
pushd %_sourcedir
|
|
chmod g-w *.tar.xz
|
|
popd
|
|
%setup -n texlive-specs -q
|
|
%build
|
|
(cat > Makefile)<<'EOF'
|
|
topdir=$(abspath ../..)
|
|
rootdir=$(topdir)/BUILDROOT
|
|
SHELL := /bin/bash
|
|
|
|
%%.rpm: root=$(rootdir)/$*.noarch
|
|
%%.rpm: %%.spec
|
|
exec > >(exec buffer -s 256k -m 1m -u 10) 2>&1; \
|
|
rpmbuild -ba --buildroot $(root) --define '_srcdefattr (-,root,root)' --define 'rlobs %release' $< && \
|
|
rm -rf $(topdir)/BUILD/$*-[0-9]*
|
|
|
|
%if %{defined build_slice}
|
|
specs := $(foreach spec,%build_slice,$(wildcard texlive-$(spec)*.spec))
|
|
%else
|
|
specs := $(sort $(filter-out texlive-specs.specs,$(wildcard *.spec)))
|
|
%endif
|
|
rpms := $(specs:.spec=.rpm)
|
|
|
|
all: $(rpms)
|
|
EOF
|
|
make topdir=%{_topdir} %{?_smp_mflags}
|
|
|
|
%install
|
|
|
|
%files
|
|
%defattr(-,root,root,0755)
|
|
|
|
%changelog
|