This repository was archived by the owner on Oct 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmatplotlib.spec
More file actions
150 lines (132 loc) · 6.18 KB
/
matplotlib.spec
File metadata and controls
150 lines (132 loc) · 6.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
#
# This file is auto-generated. DO NOT EDIT
# Generated by: autospec.py
#
# Source0 file verified with key 0x8D86E7FAE5EB0C10 ([email protected])
#
Name : matplotlib
Version : 3.4.3
Release : 81
URL : https://files.pythonhosted.org/packages/21/37/197e68df384ff694f78d687a49ad39f96c67b8d75718bc61503e1676b617/matplotlib-3.4.3.tar.gz
Source0 : https://files.pythonhosted.org/packages/21/37/197e68df384ff694f78d687a49ad39f96c67b8d75718bc61503e1676b617/matplotlib-3.4.3.tar.gz
Source1 : https://files.pythonhosted.org/packages/21/37/197e68df384ff694f78d687a49ad39f96c67b8d75718bc61503e1676b617/matplotlib-3.4.3.tar.gz.asc
Summary : Python plotting package
Group : Development/Tools
License : Apache-1.1 BSD-3-Clause CC0-1.0 HPND MIT OFL-1.0 OFL-1.1 Python-2.0
Requires: matplotlib-license = %{version}-%{release}
Requires: matplotlib-python = %{version}-%{release}
Requires: matplotlib-python3 = %{version}-%{release}
Requires: Pillow
Requires: cycler
Requires: kiwisolver
Requires: numpy
Requires: pyparsing
Requires: python-dateutil
BuildRequires : Pillow
BuildRequires : buildreq-distutils3
BuildRequires : cairo-dev
BuildRequires : certifi
BuildRequires : cycler
BuildRequires : freetype-dev
BuildRequires : gtk+-dev
BuildRequires : gtk3-dev
BuildRequires : kiwisolver
BuildRequires : libpng-dev
BuildRequires : nose
BuildRequires : numpy
BuildRequires : numpy-python
BuildRequires : pluggy
BuildRequires : py-python
BuildRequires : pyparsing
BuildRequires : pytest
BuildRequires : python-dateutil
BuildRequires : python3-tcl
BuildRequires : pytz
BuildRequires : qhull-dev
BuildRequires : setuptools-python
BuildRequires : tornado
BuildRequires : tox
BuildRequires : virtualenv
%description
|DiscourseBadge|_ |Gitter|_ |GitHubIssues|_ |GitTutorial|_
|GitHubActions|_ |AzurePipelines|_ |AppVeyor|_ |Codecov|_ |LGTM|_
%package license
Summary: license components for the matplotlib package.
Group: Default
%description license
license components for the matplotlib package.
%package python
Summary: python components for the matplotlib package.
Group: Default
Requires: matplotlib-python3 = %{version}-%{release}
%description python
python components for the matplotlib package.
%package python3
Summary: python3 components for the matplotlib package.
Group: Default
Requires: python3-core
Provides: pypi(matplotlib)
%description python3
python3 components for the matplotlib package.
%prep
%setup -q -n matplotlib-3.4.3
cd %{_builddir}/matplotlib-3.4.3
%build
## build_prepend content
echo "[libs]" > setup.cfg
echo "system_freetype = true" >> setup.cfg
echo "system_qhull = true" >> setup.cfg
## build_prepend end
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C.UTF-8
export SOURCE_DATE_EPOCH=1635752594
export GCC_IGNORE_WERROR=1
export CFLAGS="$CFLAGS -fno-lto "
export FCFLAGS="$FFLAGS -fno-lto "
export FFLAGS="$FFLAGS -fno-lto "
export CXXFLAGS="$CXXFLAGS -fno-lto "
export MAKEFLAGS=%{?_smp_mflags}
python3 setup.py build
%install
export MAKEFLAGS=%{?_smp_mflags}
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/matplotlib
cp %{_builddir}/matplotlib-3.4.3/LICENSE/LICENSE %{buildroot}/usr/share/package-licenses/matplotlib/3683efd59fb44e798efb22fd086a5b1e3a0aa700
cp %{_builddir}/matplotlib-3.4.3/LICENSE/LICENSE_AMSFONTS %{buildroot}/usr/share/package-licenses/matplotlib/91cf189e02755085234dd321326345846bf2949f
cp %{_builddir}/matplotlib-3.4.3/LICENSE/LICENSE_BAKOMA %{buildroot}/usr/share/package-licenses/matplotlib/9fa4f855f33fa4ed73c9e6865d534a4f0f910610
cp %{_builddir}/matplotlib-3.4.3/LICENSE/LICENSE_COLORBREWER %{buildroot}/usr/share/package-licenses/matplotlib/47a57a5629a135f4301bf8181c5e244e1baf5759
cp %{_builddir}/matplotlib-3.4.3/LICENSE/LICENSE_JSXTOOLS_RESIZE_OBSERVER %{buildroot}/usr/share/package-licenses/matplotlib/920b5b7e7e79918ab41e714c4002f3ad4a8fdcfc
cp %{_builddir}/matplotlib-3.4.3/LICENSE/LICENSE_QT4_EDITOR %{buildroot}/usr/share/package-licenses/matplotlib/04bb73e33817fa6c0c1259344f7326b408e12885
cp %{_builddir}/matplotlib-3.4.3/LICENSE/LICENSE_SOLARIZED %{buildroot}/usr/share/package-licenses/matplotlib/81b71443d2a101a27194d8d7e0494a93e557a824
cp %{_builddir}/matplotlib-3.4.3/LICENSE/LICENSE_YORICK %{buildroot}/usr/share/package-licenses/matplotlib/fd0bb2832315e88d7a06dd4f28a73f4eac46d3c6
cp %{_builddir}/matplotlib-3.4.3/doc/devel/license.rst %{buildroot}/usr/share/package-licenses/matplotlib/96cdc9c40477ab698d63b8c83fab29e2a8f72527
cp %{_builddir}/matplotlib-3.4.3/doc/users/license.rst %{buildroot}/usr/share/package-licenses/matplotlib/b3dd311f3c9b252fef52c78c4b6337203c0084a3
cp %{_builddir}/matplotlib-3.4.3/extern/agg24-svn/src/copying %{buildroot}/usr/share/package-licenses/matplotlib/467189783f672de8baca8b34e798fa2da64166a5
cp %{_builddir}/matplotlib-3.4.3/lib/matplotlib/mpl-data/fonts/ttf/LICENSE_DEJAVU %{buildroot}/usr/share/package-licenses/matplotlib/23e8fed3e3499427ef5a80cbff0aca0946140493
python3 -tt setup.py build install --root=%{buildroot}
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
echo ----[ mark ]----
%files
%defattr(-,root,root,-)
%files license
%defattr(0644,root,root,0755)
/usr/share/package-licenses/matplotlib/04bb73e33817fa6c0c1259344f7326b408e12885
/usr/share/package-licenses/matplotlib/23e8fed3e3499427ef5a80cbff0aca0946140493
/usr/share/package-licenses/matplotlib/3683efd59fb44e798efb22fd086a5b1e3a0aa700
/usr/share/package-licenses/matplotlib/467189783f672de8baca8b34e798fa2da64166a5
/usr/share/package-licenses/matplotlib/47a57a5629a135f4301bf8181c5e244e1baf5759
/usr/share/package-licenses/matplotlib/81b71443d2a101a27194d8d7e0494a93e557a824
/usr/share/package-licenses/matplotlib/91cf189e02755085234dd321326345846bf2949f
/usr/share/package-licenses/matplotlib/920b5b7e7e79918ab41e714c4002f3ad4a8fdcfc
/usr/share/package-licenses/matplotlib/96cdc9c40477ab698d63b8c83fab29e2a8f72527
/usr/share/package-licenses/matplotlib/9fa4f855f33fa4ed73c9e6865d534a4f0f910610
/usr/share/package-licenses/matplotlib/b3dd311f3c9b252fef52c78c4b6337203c0084a3
/usr/share/package-licenses/matplotlib/fd0bb2832315e88d7a06dd4f28a73f4eac46d3c6
%files python
%defattr(-,root,root,-)
%files python3
%defattr(-,root,root,-)
/usr/lib/python3*/*