OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-specs-u?expand=0&rev=5
256 lines
7.1 KiB
RPMSpec
256 lines
7.1 KiB
RPMSpec
#
|
|
# spec file for package texlive-specs-u
|
|
#
|
|
# 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 u
|
|
%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-u
|
|
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-u&project=Publishing:TeXLive
|
|
Source0: texlive-specs.tar.xz
|
|
Source1000: uaclasses.doc.tar.xz
|
|
Source1001: uaclasses.tar.xz
|
|
Source1002: uafthesis.doc.tar.xz
|
|
Source1003: uafthesis.tar.xz
|
|
Source1004: ucdavisthesis.doc.tar.xz
|
|
Source1005: ucdavisthesis.tar.xz
|
|
Source1006: ucs.doc.tar.xz
|
|
Source1007: ucs.tar.xz
|
|
Source1008: ucthesis.doc.tar.xz
|
|
Source1009: ucthesis.tar.xz
|
|
Source1010: uebungsblatt.doc.tar.xz
|
|
Source1011: uebungsblatt.tar.xz
|
|
Source1012: uhc.doc.tar.xz
|
|
Source1013: uhc.tar.xz
|
|
Source1014: uiucthesis.doc.tar.xz
|
|
Source1015: uiucthesis.tar.xz
|
|
Source1016: ukrhyph.doc.tar.xz
|
|
Source1017: ukrhyph.tar.xz
|
|
Source1018: ulem.doc.tar.xz
|
|
Source1019: ulem.tar.xz
|
|
Source1020: ulqda.doc.tar.xz
|
|
Source1021: ulqda.tar.xz
|
|
Source1022: umich-thesis.doc.tar.xz
|
|
Source1023: umich-thesis.tar.xz
|
|
Source1024: uml.doc.tar.xz
|
|
Source1025: uml.tar.xz
|
|
Source1026: umlaute.doc.tar.xz
|
|
Source1027: umlaute.tar.xz
|
|
Source1028: umoline.doc.tar.xz
|
|
Source1029: umoline.tar.xz
|
|
Source1030: umthesis.doc.tar.xz
|
|
Source1031: umthesis.tar.xz
|
|
Source1032: umtypewriter.tar.xz
|
|
Source1033: unamthesis.doc.tar.xz
|
|
Source1034: unamthesis.tar.xz
|
|
Source1035: underlin.doc.tar.xz
|
|
Source1036: underlin.tar.xz
|
|
Source1037: underscore.doc.tar.xz
|
|
Source1038: underscore.tar.xz
|
|
Source1039: undolabl.doc.tar.xz
|
|
Source1040: undolabl.tar.xz
|
|
Source1041: uni-wtal-ger.doc.tar.xz
|
|
Source1042: uni-wtal-ger.tar.xz
|
|
Source1043: unicode-math.doc.tar.xz
|
|
Source1044: unicode-math.tar.xz
|
|
Source1045: unisugar.doc.tar.xz
|
|
Source1046: unisugar.tar.xz
|
|
Source1047: units.doc.tar.xz
|
|
Source1048: units.tar.xz
|
|
Source1049: unitsdef.doc.tar.xz
|
|
Source1050: unitsdef.tar.xz
|
|
Source1051: universa.doc.tar.xz
|
|
Source1052: universa.tar.xz
|
|
Source1053: uothesis.doc.tar.xz
|
|
Source1054: uothesis.tar.xz
|
|
Source1055: uowthesis.doc.tar.xz
|
|
Source1056: uowthesis.tar.xz
|
|
Source1057: upca.doc.tar.xz
|
|
Source1058: upca.tar.xz
|
|
Source1059: upmethodology.doc.tar.xz
|
|
Source1060: upmethodology.tar.xz
|
|
Source1061: upquote.doc.tar.xz
|
|
Source1062: upquote.tar.xz
|
|
Source1063: uri.doc.tar.xz
|
|
Source1064: uri.tar.xz
|
|
Source1065: url.doc.tar.xz
|
|
Source1066: url.tar.xz
|
|
Source1067: urlbst.doc.tar.xz
|
|
Source1068: urlbst.tar.xz
|
|
Source1069: urwchancal.doc.tar.xz
|
|
Source1070: urwchancal.tar.xz
|
|
Source1071: usebib.doc.tar.xz
|
|
Source1072: usebib.tar.xz
|
|
Source1073: ushort.doc.tar.xz
|
|
Source1074: ushort.tar.xz
|
|
Source1075: ut-thesis.doc.tar.xz
|
|
Source1076: ut-thesis.tar.xz
|
|
Source1077: utf8mex.doc.tar.xz
|
|
Source1078: utf8mex.tar.xz
|
|
Source1079: utopia.doc.tar.xz
|
|
Source1080: utopia.tar.xz
|
|
Source1081: uwthesis.doc.tar.xz
|
|
Source1082: uwthesis.tar.xz
|
|
NoSource: 1000
|
|
NoSource: 1001
|
|
NoSource: 1002
|
|
NoSource: 1003
|
|
NoSource: 1004
|
|
NoSource: 1005
|
|
NoSource: 1006
|
|
NoSource: 1007
|
|
NoSource: 1008
|
|
NoSource: 1009
|
|
NoSource: 1010
|
|
NoSource: 1011
|
|
NoSource: 1012
|
|
NoSource: 1013
|
|
NoSource: 1014
|
|
NoSource: 1015
|
|
NoSource: 1016
|
|
NoSource: 1017
|
|
NoSource: 1018
|
|
NoSource: 1019
|
|
NoSource: 1020
|
|
NoSource: 1021
|
|
NoSource: 1022
|
|
NoSource: 1023
|
|
NoSource: 1024
|
|
NoSource: 1025
|
|
NoSource: 1026
|
|
NoSource: 1027
|
|
NoSource: 1028
|
|
NoSource: 1029
|
|
NoSource: 1030
|
|
NoSource: 1031
|
|
NoSource: 1032
|
|
NoSource: 1033
|
|
NoSource: 1034
|
|
NoSource: 1035
|
|
NoSource: 1036
|
|
NoSource: 1037
|
|
NoSource: 1038
|
|
NoSource: 1039
|
|
NoSource: 1040
|
|
NoSource: 1041
|
|
NoSource: 1042
|
|
NoSource: 1043
|
|
NoSource: 1044
|
|
NoSource: 1045
|
|
NoSource: 1046
|
|
NoSource: 1047
|
|
NoSource: 1048
|
|
NoSource: 1049
|
|
NoSource: 1050
|
|
NoSource: 1051
|
|
NoSource: 1052
|
|
NoSource: 1053
|
|
NoSource: 1054
|
|
NoSource: 1055
|
|
NoSource: 1056
|
|
NoSource: 1057
|
|
NoSource: 1058
|
|
NoSource: 1059
|
|
NoSource: 1060
|
|
NoSource: 1061
|
|
NoSource: 1062
|
|
NoSource: 1063
|
|
NoSource: 1064
|
|
NoSource: 1065
|
|
NoSource: 1066
|
|
NoSource: 1067
|
|
NoSource: 1068
|
|
NoSource: 1069
|
|
NoSource: 1070
|
|
NoSource: 1071
|
|
NoSource: 1072
|
|
NoSource: 1073
|
|
NoSource: 1074
|
|
NoSource: 1075
|
|
NoSource: 1076
|
|
NoSource: 1077
|
|
NoSource: 1078
|
|
NoSource: 1079
|
|
NoSource: 1080
|
|
NoSource: 1081
|
|
NoSource: 1082
|
|
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
|
|
|
|
%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
|