-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathcygport.spec
261 lines (191 loc) · 7.79 KB
/
cygport.spec
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
%define debug_package %{nil}
Name: cygport
Version: 0.36.9
Release: 1%{?dist}
Summary: Cygwin package building tool
License: GPLv3+
Group: Development/Tools
URL: https://www.cygwin.com/
Source0: https://github.com/cygwin/cygport/%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: meson
BuildRequires: groff-base
BuildRequires: help2man
BuildRequires: robodoc
Requires: autoconf automake libtool pkgconfig
Requires: bzip2 gzip unzip
Requires: cygwin32-binutils
Requires: cygwin32-gcc
Requires: cygwin32-libtool
Requires: cygwin32-pkg-config
Requires: cygwin64-binutils
Requires: cygwin64-gcc
Requires: cygwin64-libtool
Requires: cygwin64-pkg-config
Requires: diffstat
Requires: diffutils
Requires: dos2unix
Requires: file
Requires: gawk
Requires: grep
Requires: imake
Requires: lftp
Requires: make
Requires: openssh
Requires: patch
Requires: perl(Authen::SASL)
Requires: perl(MIME::Parser)
Requires: perl(Net::SMTP::SSL)
Requires: rsync
Requires: util-linux
Requires: vim-filesystem
Requires: wget
Requires: which
Requires: xz
%description
Cygwin package building tool.
%prep
%setup -q
%build
%meson -Ddocdir=%{_pkgdocdir}
%meson_build
%install
%meson_install
install -D -m0644 data/cygport.conf $RPM_BUILD_ROOT%{_sysconfdir}/cygport.conf
%post
/bin/touch --no-create %{_datadir}/mime/packages &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
fi
%posttrans
/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%files
%doc %{_pkgdocdir}/html/
%doc AUTHORS COPYING NEWS README TODO
%config %{_sysconfdir}/bash_completion.d/cygport-bash-completion
%config(noreplace) %{_sysconfdir}/cygport.conf
%config(noreplace) %{_sysconfdir}/X11/cygport-xvfb.conf
%{_bindir}/cygport
%{_datadir}/cygport
%{_datadir}/mime/packages/cygport.xml
%dir %{_datadir}/nano
%{_datadir}/nano/cygport.nanorc
%{_datadir}/vim/vimfiles/ftdetect/cygport.vim
%{_mandir}/man1/cygport.1*
%changelog
- new version
- new version
- new version
- new version
- new version
- new version
- new version
- new version
- new version
- new version
- new version
- new version
- new version
- new version
- new version
- new version
- new version
- new version
- new version
- new version
- new version
- new version
- new version
- Version bump
- Version bump
- Cleanup spec
- Version bump.
- Fix for compatibility with F20 unversioned docdirs.
- Version bump.
- Depend on cygwin*-pkg-config.
- Version bump.
- Add xz to Requires for .tar.xz package generation.
- Version bump.
- Depend on both cygwin32 and cygwin64 toolchains.
- New function for XML::SAX parser registration handling.
- Bug fixes.
- Bugfixes for crossback scenarios.
- Full x86_64-cygwin support.
- Preliminary x86_64-cygwin support.
- Support DISTDIR, PKG_DOCS.
- Removed obsolete apache1.cygclass.
- Added Vim filetype detection plugin.
- Various bugfixes.
- Allow spec-style file names.
- Various bugfixes.
- Automatic setup.hint generation.
- New cygclasses: pypy, pypy-distutils, rubygem, sugar.
- Restore compatibility with F16 and EL6.
- Fix compatibility with Ruby 1.9.
- Bugfix release.
- Bugfix release.
- Added support for automatic split debuginfo subpackages.
- Added support for gccgo.
- Added clang.cygclass, xvfb.cygclass.
- Version bump.
- Added support for GStreamer 0.11/1.0 series.
- More bugfixes for texlive postinstalls.
- Bugfixes for mate.cygclass and texlive postinstalls.
- Version bump, adding mate.cygclass and texlive.cygclass.
- Version bump.
- Override pkglibdir to avoid i686/x86_64 %%_libdir differences.
- Version bump.
- Call update-mime-database in post and postun for the new MIME package.
- Version bump.
- Version bump.
- Initial RPM release.