4e83352
%{!?qt5_qtwebengine_arches:%global qt5_qtwebengine_arches %{ix86} x86_64 %{arm} aarch64 mips mipsel mips64el}
4e83352
8ad9671
Name:           frescobaldi
ee80010
Version:        3.1.2
ee80010
Release:        1%{?dist}
8ad9671
Summary:        Edit LilyPond sheet music with ease!
95e300e
e3b4fd2
# hyphenator.py is LGPLv2+
8ad9671
# The rest, including the core of the program, is GPLv2+
e3b4fd2
License:        GPLv2+ and LGPLv2+
8ad9671
URL:            http://www.frescobaldi.org/
818eccf
Source0:        https://github.com/wbsoft/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
ee80010
Patch0:         frescobaldi-3.1.2-setup.patch
8ad9671
BuildArch:      noarch
4e83352
ExclusiveArch: %{qt5_qtwebengine_arches}
8ad9671
e3b4fd2
BuildRequires:  desktop-file-utils
95e300e
BuildRequires:  python3-devel
e3b4fd2
BuildRequires:  gettext
8ad9671
Requires:       alsa-utils
8ad9671
Requires:       lilypond
95e300e
Requires:       python3-poppler-qt5
3cb40f8
Requires:       portmidi
95e300e
Requires:       python3-portmidi
95e300e
Requires:       python3-ly >= 0.9.4
95e300e
Requires:	python3-qt5-webkit
96e1b8e
Requires:	python3-qt5-webengine
8ad9671
8ad9671
%description
1523652
Frescobaldi is a LilyPond sheet music editor. It aims to be powerful,
8ad9671
yet lightweight and easy to use. It features:
8ad9671
e3b4fd2
    * Enter LilyPond scores, build and preview them with a mouse-click
8ad9671
    * Point-and-click support: click on notes or error messages to jump to the
8ad9671
      correct position
8ad9671
    * A powerful Score Wizard to quickly setup a musical score
8ad9671
    * Editing tools to:
8ad9671
          o manipulate the rhythm
8ad9671
          o hyphenate lyrics
8ad9671
          o quickly enter or add articulations and other symbols to existing 
8ad9671
            music
8ad9671
          o run the document through convert-ly to update it to a newer 
8ad9671
            LilyPond version
e3b4fd2
    * Context sensitive auto-complete, helping you to quickly enter LilyPond 
8ad9671
      commands
8ad9671
    * Expansion manager to enter larger snippets of LilyPond input using short
8ad9671
      mnemonics
8ad9671
    * Built-in comprehensive User Guide
8ad9671
8ad9671
8ad9671
%prep
8ad9671
%setup -q
e3b4fd2
find -name "*.py"  -exec sed -i -e 's|#! python||' {} \;
8ad9671
f96b2a1
%patch0 -p0
f96b2a1
8ad9671
%build
95e300e
python3 ./setup.py build
2af78fd
#cd %{name}_app/po
2af78fd
#make
8ad9671
8ad9671
%install
95e300e
python3 ./setup.py install --skip-build --root $RPM_BUILD_ROOT
e3b4fd2
8ad9671
# desktop file
8ad9671
desktop-file-install                                         \
8ad9671
   --dir=%{buildroot}%{_datadir}/applications                \
8ad9671
   --remove-category=Application                             \
8ad9671
   --add-category=AudioVideo                                 \
29b233f
   --add-category=X-Notation                                 \
8ad9671
   --delete-original                                         \
ee80010
   linux/org.frescobaldi.Frescobaldi.desktop
8ad9671
f0fe0dd
%files
e63f61a
%doc ChangeLog COPYING README* THANKS TODO
8ad9671
%{_bindir}/%{name}
95e300e
%{python3_sitelib}/%{name}_app
52e84eb
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
ee80010
%{_datadir}/applications/org.frescobaldi.Frescobaldi.desktop
ee80010
%{_datadir}/icons/hicolor/scalable/apps/org.frescobaldi.Frescobaldi.svg
818eccf
%{_mandir}/man1/*
8ad9671
8ad9671
%changelog
ee80010
* Mon Apr 13 2020 Gwyn Ciesla <gwync@protonmail.com> - 3.1.2-1
ee80010
- 3.1.2
ee80010
2f31789
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-4
2f31789
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2f31789
4e83352
* Mon Jan 13 2020 Gwyn Ciesla <gwync@protonmail.com> - 3.1.1-3
4e83352
- Add ExclusiveArch: %%{qt5_qtwebengine_arches}
4e83352
96e1b8e
* Thu Jan 09 2020 Gwyn Ciesla <gwync@protonmail.com> - 3.1.1-2
96e1b8e
- Require python3-qt5-webengine
96e1b8e
09e2cf6
* Mon Jan 06 2020 Gwyn Ciesla <gwync@protonmail.com> - 3.1.1-1
09e2cf6
- 3.1.1
09e2cf6
2af78fd
* Mon Dec 30 2019 Gwyn Ciesla <gwync@protonmail.com> - 3.1-1
2af78fd
- 3.1
2af78fd
8f4e664
* Wed Sep 18 2019 Gwyn Ciesla <gwync@protonmail.com> - 3.0.0-14
8f4e664
- Drop sip.
8f4e664
3f17a22
* Wed Sep 18 2019 Gwyn Ciesla <gwync@protonmail.com> - 3.0.0-13
3f17a22
- Patch to specify namespaced sip.
3f17a22
f7fd91a
* Wed Sep 18 2019 Gwyn Ciesla <gwync@protonmail.com> - 3.0.0-12
f7fd91a
- Correct sip deps, BZ 1753266.
f7fd91a
a0f802d
* Mon Aug 19 2019 Miro HronĨok <mhroncok@redhat.com> - 3.0.0-11
a0f802d
- Rebuilt for Python 3.8
a0f802d
16579df
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-10
16579df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
16579df
fb63c69
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-9
fb63c69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
fb63c69
c2fd4a7
* Fri Jan 25 2019 Gwyn Ciesla <limburgher@gmail.com> - 3.0.0-8
c2fd4a7
- Require python3-sip
c2fd4a7
d0a8fa7
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-7
d0a8fa7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d0a8fa7
5bd8873
* Thu Jun 28 2018 Gwyn Ciesla <limburgher@gmail.com> - 3.0.0-6
924831e
- Python 3.7 fix.
924831e
c941db1
* Tue Jun 19 2018 Miro HronĨok <mhroncok@redhat.com> - 3.0.0-5
c941db1
- Rebuilt for Python 3.7
c941db1
b5ea6a9
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-4
b5ea6a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b5ea6a9
f2ac609
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.0.0-3
f2ac609
- Remove obsolete scriptlets
f2ac609
1776676
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-2
1776676
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1776676
95e300e
* Thu Jun 08 2017 Gwyn Ciesla <limburgher@gmail.com> - 3.0.0-1
95e300e
- Update to 3.0.0.
95e300e
acfba4c
* Sat Feb 18 2017 Jon Ciesla <limburgher@gmail.com> - 2.20.0-1
acfba4c
- Update to 2.20.0.
acfba4c
8eb9231
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.19.0-4
8eb9231
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8eb9231
944551c
* Tue Oct 04 2016 Jon Ciesla <limburgher@gmail.com> - 2.19.0-3
944551c
- Require PyQt4-webkit.
944551c
6e137bf
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.19.0-2
6e137bf
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
6e137bf
ceaed77
* Fri Apr 22 2016 Jon Ciesla <limburgher@gmail.com> - 2.19.0-1
ceaed77
- Update to 2.19.0.
ceaed77
c7d2157
* Tue Feb 02 2016 Jon Ciesla <limburgher@gmail.com> - 2.18.2-1
c7d2157
- Latest upstream.
c7d2157
1523652
* Sun Sep 20 2015 Jon Ciesla <limburgher@gmail.com> - 2.18.1-3
1523652
- Description fixes.
1523652
f0fe0dd
* Tue Sep 15 2015 Jon Ciesla <limburgher@gmail.com> - 2.18.1-2
f0fe0dd
- Include translations, BZ 1246869.
f0fe0dd
cd01b9b
* Tue Jun 16 2015 Jon Ciesla <limburgher@gmail.com> - 2.18.1-1
cd01b9b
- Latest upstream.
cd01b9b
f96b2a1
* Mon Mar 09 2015 Jon Ciesla <limburgher@gmail.com> - 2.18-1
f96b2a1
- Latest upstream, now requires python-ly.
f96b2a1
5bf28ac
* Wed Jan 21 2015 Jon Ciesla <limburgher@gmail.com> - 2.17.2-1
5bf28ac
- Latest upstream.
5bf28ac
eff19d3
* Fri Jan 02 2015 Jon Ciesla <limburgher@gmail.com> - 2.17.1-1
eff19d3
- Latest upstream.
eff19d3
818eccf
* Tue Aug 26 2014 Olivier Samyn <code@oleastre.be> - 2.0.16-1
818eccf
- Update to 2.0.16
818eccf
- Remove obsolete patch
818eccf
bf7dea1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.10-3
bf7dea1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
bf7dea1
18403c8
* Thu Oct 03 2013 Jon Ciesla <limburgher@gmail.com> - 2.0.10-2
18403c8
- Fix special char handling in OS name, BZ 1010604.
18403c8
4aef873
* Tue Aug 13 2013 Jon Ciesla <limburgher@gmail.com> - 2.0.10-1
4aef873
- 2.0.10.
4aef873
- Fix bogus changelog dates.
4aef873
f442b90
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.9-2
f442b90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f442b90
8d9ea2c
* Mon Apr 15 2013 Jon Ciesla <limburgher@gmail.com> - 2.0.9-1
8d9ea2c
- Update to 2.0.9, fix performance issues, BZ 952370.
8d9ea2c
c40a662
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.6-3
c40a662
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c40a662
24011d1
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.6-2
24011d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
24011d1
feb648e
* Sat Jul 14 2012 Brendan Jones <brendan.jones.it@gmail.com> 2.0.6-1
feb648e
- Update to version 2.0.6, correct language
feb648e
4aef873
* Wed Jan 18 2012 Brendan Jones <brendan.jones.it@gmail.com> - 2.0.2-3
f473875
- Exclude only .mo files, not the whole directory
f473875
4aef873
* Wed Jan 18 2012 Brendan Jones <brendan.jones.it@gmail.com> - 2.0.2-2
3cb40f8
- Removed rumor/timidity++ requires added portmidi and bindings
3cb40f8
fe75d88
* Mon Jan 16 2012 Brendan Jones <brendan.jones.it@gmail.com> - 2.0.2-1
e3b4fd2
- New upstream version
e3b4fd2
d2b09b0
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
d2b09b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d2b09b0
feea54d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
feea54d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
feea54d
860ed65
* Thu Dec 30 2010 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 1.2.0-1
860ed65
- New upstream version
860ed65
- Drop upstreamed py2.7 patch
860ed65
4b48349
* Thu Aug 19 2010 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 1.0.3-1
4b48349
- New upstream version (for KDE 4.5)
4b48349
- Drop BR: gettext ImageMagick lilypond that are no longer required
4b48349
a6021e9
* Tue Jul 27 2010 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 1.0.2-3
a6021e9
- Enable build for python-2.7
a6021e9
6306ff6
* Tue Jul 27 2010 David Malcolm <dmalcolm@redhat.com> - 1.0.2-2
6306ff6
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
6306ff6
7860f48
* Sat Feb 20 2010 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 1.0.2-1
7860f48
- New upstream version (for KDE 4.4)
7860f48
1c0187e
* Sat Jan 30 2010 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 1.0.1-1
1c0187e
- New upstream version
1c0187e
6ceae9f
* Wed Nov 18 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.16-1
6ceae9f
- New upstream version
6ceae9f
c7c1aae
* Thu Sep 17 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.14-1
c7c1aae
- New upstream version
c7c1aae
5bc7514
* Mon Aug 10 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.13-1
5bc7514
- New upstream version
5bc7514
- No need to rebuild .mo and .png files per new guidelines
5bc7514
29b233f
* Wed Aug 05 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.12-3
29b233f
- Update the .desktop file
29b233f
27b75c0
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.12-2
27b75c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
27b75c0
2c7a2c0
* Sun Jul 05 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.12-1
2c7a2c0
- New upstream version
2c7a2c0
ed4c674
* Mon Jun 15 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.11-1
ed4c674
- New upstream version
ed4c674
674c020
* Tue Jun 09 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.10-1
674c020
- New upstream version
674c020
- Decompress the icon. RHBZ #491016 is being ignored.
674c020
e63f61a
* Sat May 23 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.9-1
e63f61a
- New upstream version
e63f61a
8ad9671
* Tue Mar 24 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.8-1
8ad9671
- New upstream version
8ad9671
8ad9671
* Tue Mar 17 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.7-2
8ad9671
- Remove BuildRequires:  dbus-python
8ad9671
- Fix the year of the previous changelog entry
8ad9671
- Add "Public Domain" to the license tag
8ad9671
- Add AudioVideo category to the .desktop file
8ad9671
- Add disttag
8ad9671
8ad9671
* Sun Mar 15 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.7-1
8ad9671
- Initial build