-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaegisub.spec
209 lines (156 loc) · 7.34 KB
/
aegisub.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
%global gitname Aegisub
Name: aegisub
Version: 3.4.1
Release: 1%{?dist}
Summary: Tool for creating and modifying subtitles
#src/gl/ - MIT license. See src/gl/glext.h
#src/MatroskaParser.(c|h) - Licensed to BSD like license with permission from the author.
#universalchardet/ - MPL 1.1
License: BSD and MIT and MPLv1.1
URL: http://www.aegisub.org
Source0: https://github.com/TypesettingTools/%{gitname}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: %{version}_git_version.h
# luajit isn't available on powerpc
# boost m4 detection is failing on i686 and armv7hl
ExcludeArch: %{power64} %{ix86} %{arm}
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: gmock-devel
BuildRequires: gtest-devel
BuildRequires: meson
BuildRequires: alsa-lib-devel
BuildRequires: boost-devel
# To be enabled
#BuildRequires: cajun-jsonapi-devel
BuildRequires: ffms2-devel >= 2.40
BuildRequires: fftw-devel
BuildRequires: hunspell-devel
BuildRequires: libappstream-glib
BuildRequires: libass-devel
#Used for OpenAL tests during configure
BuildRequires: libcurl-devel
BuildRequires: libICE-devel
BuildRequires: libX11-devel
BuildRequires: lua-devel
BuildRequires: luajit-devel
BuildRequires: mesa-libGL-devel
BuildRequires: openal-devel
BuildRequires: portaudio-devel
BuildRequires: pulseaudio-libs-devel
BuildRequires: uchardet-devel
BuildRequires: wxGTK-devel
BuildRequires: zlib-devel
#needed for the perl script downloading the additional documentation from wiki
#for offline reading
Requires: /usr/bin/perl
Requires: perl(strict)
Requires: perl(HTML::LinkExtor)
Requires: perl(LWP)
Requires: perl(File::Path)
Requires: perl(utf8) perl(URI)
Requires: perl(warnings)
Requires: hicolor-icon-theme
%description
Aegisub is a free, cross-platform open source tool for creating and
modifying subtitles. Aegisub makes it quick and easy to time
subtitles to audio, and features many powerful tools for styling them,
including a built-in real-time video preview.
%prep
%autosetup -p1 -n %{gitname}-%{version}
cp %{SOURCE1} git_version.h
%build
%meson \
-Denable_update_checker=false
%meson_build
%install
%meson_install
desktop-file-validate %{buildroot}/%{_datadir}/applications/org.aegisub.Aegisub.desktop
appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/org.aegisub.Aegisub.metainfo.xml
%find_lang %{name}
%files -f %{name}.lang
%license LICENCE
%doc docs/*
%{_bindir}/%{name}*
%{_datadir}/%{name}/
%{_datadir}/applications/org.aegisub.Aegisub.desktop
%{_datadir}/icons/hicolor/*/apps/org.aegisub.Aegisub.*
%{_metainfodir}/org.aegisub.Aegisub.metainfo.xml
%changelog
* Fri Jan 03 2025 Leigh Scott <[email protected]> - 3.4.1-1
- Update to 3.4.1
* Thu Aug 01 2024 RPM Fusion Release Engineering <[email protected]> - 3.3.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed May 29 2024 Leigh Scott <[email protected]> - 3.3.3-6
- rebuilt
* Sat Feb 03 2024 RPM Fusion Release Engineering <[email protected]> - 3.3.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Aug 02 2023 RPM Fusion Release Engineering <[email protected]> - 3.3.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Mar 02 2023 Leigh Scott <[email protected]> - 3.3.3-3
- Rebuild for new boost
* Wed Dec 07 2022 Leigh Scott <[email protected]> - 3.3.3-2
- rebuilt
* Sun Aug 21 2022 Sérgio Basto <[email protected]> - 3.3.3-1
- new version
* Sat Aug 06 2022 RPM Fusion Release Engineering <[email protected]> - 3.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
5.1
* Wed Apr 20 2022 Sérgio Basto <[email protected]> - 3.3.2-1
- Update aegisub to 3.3.2 using wangqr fork (as opensuse)
* Wed Feb 09 2022 RPM Fusion Release Engineering <[email protected]> - 3.2.2-25.20191006.git6f54695
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Aug 19 2021 Leigh Scott <[email protected]> - 3.2.2-24.20191006.git6f54695
- Rebuild for new boost
* Mon Aug 02 2021 RPM Fusion Release Engineering <[email protected]> - 3.2.2-23.20191006.git6f54695
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sat Apr 24 2021 Leigh Scott <[email protected]> - 3.2.2-22.20191006.git6f54695
- Rebuilt for removed libstdc++ symbol (#1937698)
* Wed Feb 03 2021 RPM Fusion Release Engineering <[email protected]> - 3.2.2-21.20191006.git6f54695
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Nov 1 2020 Leigh Scott <[email protected]> - 3.2.2-20.20191006.git6f54695
- Update to lastest git snapshot
* Sun Nov 1 2020 Leigh Scott <[email protected]> - 3.2.2-19.20180710.git524c611
- Rebuild
* Mon Aug 17 2020 RPM Fusion Release Engineering <[email protected]> - 3.2.2-18.20180710.git524c611
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jun 04 2020 Leigh Scott <[email protected]> - 3.2.2-17.20180710.git524c611
- Rebuilt for Boost 1.73
* Tue Feb 04 2020 RPM Fusion Release Engineering <[email protected]> - 3.2.2-16.20180710.git524c611
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Aug 09 2019 RPM Fusion Release Engineering <[email protected]> - 3.2.2-15.20180710.git524c611
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Jul 12 2019 Nicolas Chauvet <[email protected]> - 3.2.2-14.20180710.git524c611
- Add missing BR libICE - uchardet
* Tue Jul 09 2019 Sérgio Basto <[email protected]> - 3.2.2-13.20180710.git524c611
- Update to git20180710 ( commit 524c6114a82157b143567240884de3a6d030b091 )
(#5275)
* Mon Mar 04 2019 RPM Fusion Release Engineering <[email protected]> - 3.2.2-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jul 26 2018 RPM Fusion Release Engineering <[email protected]> - 3.2.2-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sun Jun 17 2018 Leigh Scott <[email protected]> - 3.2.2-10
- Rebuild for new libass version
- Fix build for icu-61
* Wed Feb 28 2018 RPM Fusion Release Engineering <[email protected]> - 3.2.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Feb 02 2018 Leigh Scott <[email protected]> - 3.2.2-8
- Rebuild for boost-1.66
- Remove scriptlets
* Wed Dec 27 2017 Leigh Scott <[email protected]> - 3.2.2-7
- Fix build for icu-59.1
* Thu Aug 31 2017 RPM Fusion Release Engineering <[email protected]> - 3.2.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Jul 15 2017 Paul Howarth <[email protected]> - 3.2.2-5
- perl 5.26 rebuild
* Fri Mar 24 2017 Leigh Scott <[email protected]> - 3.2.2-4
- exclude ppc and aarch64 as the bundled luajit fails to build
* Thu Sep 29 2016 Michal Ambroz <rebus at, seznam.cz> - 3.2.2-3
- remove the version suffix from the commandline and lang catalog
- addedd build dependency to libcxx-devel, used for openal detection
* Wed Sep 28 2016 Michal Ambroz <rebus at, seznam.cz> - 3.2.2-2
- added validation of the desktop file
- removed buildroot cleanup
- added requires on hicolor-icon-theme
- added buildrequires on intltool
* Fri Sep 9 2016 Michal Ambroz <rebus at, seznam.cz> - 3.2.2-1
- initial build for Fedora