This repository was archived by the owner on Aug 12, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathyelp-tools.spec
More file actions
129 lines (108 loc) · 4.4 KB
/
yelp-tools.spec
File metadata and controls
129 lines (108 loc) · 4.4 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
#
# This file is auto-generated. DO NOT EDIT
# Generated by: autospec.py
# Using build pattern: meson
#
Name : yelp-tools
Version : 42.1
Release : 21
URL : https://download.gnome.org/sources/yelp-tools/42/yelp-tools-42.1.tar.xz
Source0 : https://download.gnome.org/sources/yelp-tools/42/yelp-tools-42.1.tar.xz
Summary : No detailed summary available
Group : Development/Tools
License : GPL-2.0
Requires: yelp-tools-bin = %{version}-%{release}
Requires: yelp-tools-data = %{version}-%{release}
Requires: yelp-tools-license = %{version}-%{release}
BuildRequires : buildreq-gnome
BuildRequires : buildreq-meson
BuildRequires : pkgconfig(yelp-xsl)
BuildRequires : pypi-lxml
# Suppress stripping binaries
%define __strip /bin/true
%define debug_package %{nil}
%description
# Yelp Tools
yelp-tools is a collection of scripts and build utilities to help create,
manage, and publish documentation for Yelp and the web. Most of the heavy
lifting is done by packages like yelp-xsl and itstool. This package just
wraps things up in a developer-friendly way.
%package bin
Summary: bin components for the yelp-tools package.
Group: Binaries
Requires: yelp-tools-data = %{version}-%{release}
Requires: yelp-tools-license = %{version}-%{release}
%description bin
bin components for the yelp-tools package.
%package data
Summary: data components for the yelp-tools package.
Group: Data
%description data
data components for the yelp-tools package.
%package dev
Summary: dev components for the yelp-tools package.
Group: Development
Requires: yelp-tools-bin = %{version}-%{release}
Requires: yelp-tools-data = %{version}-%{release}
Provides: yelp-tools-devel = %{version}-%{release}
Requires: yelp-tools = %{version}-%{release}
%description dev
dev components for the yelp-tools package.
%package license
Summary: license components for the yelp-tools package.
Group: Default
%description license
license components for the yelp-tools package.
%prep
%setup -q -n yelp-tools-42.1
cd %{_builddir}/yelp-tools-42.1
%build
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=1680044190
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
export NM=gcc-nm
export CFLAGS="$CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz "
export FCFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz "
export FFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz "
export CXXFLAGS="$CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz "
CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" meson --libdir=lib64 --prefix=/usr --buildtype=plain builddir
ninja -v -C builddir
%install
mkdir -p %{buildroot}/usr/share/package-licenses/yelp-tools
cp %{_builddir}/yelp-tools-%{version}/COPYING %{buildroot}/usr/share/package-licenses/yelp-tools/91cdb2b9bee2de720d79abb2a88f00919c5de255 || :
cp %{_builddir}/yelp-tools-%{version}/COPYING.GPL %{buildroot}/usr/share/package-licenses/yelp-tools/b47456e2c1f38c40346ff00db976a2badf36b5e3 || :
DESTDIR=%{buildroot} ninja -C builddir install
%files
%defattr(-,root,root,-)
%files bin
%defattr(-,root,root,-)
/usr/bin/yelp-build
/usr/bin/yelp-check
/usr/bin/yelp-new
%files data
%defattr(-,root,root,-)
/usr/share/yelp-tools/templates/concept.duck
/usr/share/yelp-tools/templates/concept.page
/usr/share/yelp-tools/templates/guide.duck
/usr/share/yelp-tools/templates/guide.page
/usr/share/yelp-tools/templates/info.ducktype.include
/usr/share/yelp-tools/templates/info.mallard.include
/usr/share/yelp-tools/templates/reference.duck
/usr/share/yelp-tools/templates/reference.page
/usr/share/yelp-tools/templates/task.duck
/usr/share/yelp-tools/templates/task.page
/usr/share/yelp-tools/xslt/mal-ncx.xsl
/usr/share/yelp-tools/xslt/mal-opf.xsl
/usr/share/yelp-tools/xslt/mal-rng.xsl
%files dev
%defattr(-,root,root,-)
/usr/share/aclocal/*.m4
%files license
%defattr(0644,root,root,0755)
/usr/share/package-licenses/yelp-tools/91cdb2b9bee2de720d79abb2a88f00919c5de255
/usr/share/package-licenses/yelp-tools/b47456e2c1f38c40346ff00db976a2badf36b5e3