|
|
b52b866 |
%global family ntedfont
|
|
|
b52b866 |
#global fontconf 69-%{name}-%{family}.conf
|
|
|
fc94c17 |
|
|
|
fc94c17 |
# ntedfont is a special purpose symbol font, and thus needs
|
|
|
fc94c17 |
# no fontconfig magic.
|
|
|
338711d |
|
|
|
f3c024d |
|
|
|
f3c024d |
# Only build noarch subpackages if distribution supports it
|
|
|
f3c024d |
%if 0%{?fedora} >= 11
|
|
|
f3c024d |
%global noarch_subpackage BuildArch: noarch
|
|
|
f3c024d |
%else
|
|
|
f3c024d |
%global noarch_subpackage %{nil}
|
|
|
f3c024d |
%endif
|
|
|
f3c024d |
|
|
|
8a11e95 |
|
|
|
ab149c7 |
Name: nted
|
|
|
2b2173e |
Version: 1.10.12
|
|
|
2b2173e |
Release: 1%{?dist}
|
|
|
ab149c7 |
Summary: Musical score editor
|
|
|
ab149c7 |
|
|
|
ab149c7 |
Group: Applications/Publishing
|
|
|
ab149c7 |
# Program source is GPLv2+, HTML manuals are GFDL 1.2+.
|
|
|
b52b866 |
# Right now, font is GPL, but eventually supposed to become GPL+font exception.
|
|
|
ab149c7 |
License: GPLv2+ and GFDL
|
|
|
ab149c7 |
URL: http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/nted.xhtml
|
|
|
b893a64 |
Source0: http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/sources/nted-%{version}.tar.gz
|
|
|
ab149c7 |
Source1: nted.desktop
|
|
|
b52b866 |
#Source2: %{name}-%{family}-fontconfig.conf
|
|
|
3f60c8f |
|
|
|
338711d |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
ab149c7 |
|
|
|
ab149c7 |
BuildRequires: gtk2-devel alsa-lib-devel
|
|
|
ab149c7 |
BuildRequires: gettext kdesdk yelp xmlto desktop-file-utils
|
|
|
b52b866 |
BuildRequires: fontpackages-devel >= 1.18
|
|
|
338711d |
BuildRequires: fontpackages-filesystem
|
|
|
338711d |
|
|
|
c2fc315 |
Requires: %{name}-%{family}-fonts = %{version}-%{release}
|
|
|
c2fc315 |
Requires: %{name}-doc = %{version}-%{release}
|
|
|
338711d |
|
|
|
ab149c7 |
|
|
|
ab149c7 |
%description
|
|
|
ab149c7 |
NtEd is a GTK score editor. It intends to be really WYSIWYG: what you
|
|
|
ab149c7 |
see on the screen is exactly what you get on printer output. It
|
|
|
ab149c7 |
supports up to 4 voices per staff, drum notes, 5 lyrics lines,
|
|
|
ab149c7 |
N-Tuplets, context changes, repeats with alternatives, configurable
|
|
|
ab149c7 |
music instruments per staff, MIDI and Postscript export, MusicXML
|
|
|
ab149c7 |
import. Scores can be played through the ALSA sequencer.
|
|
|
ab149c7 |
|
|
|
ab149c7 |
|
|
|
c2fc315 |
%package doc
|
|
|
c2fc315 |
Group: Applications/Publishing
|
|
|
c2fc315 |
Summary: NtEd's documentation and online help
|
|
|
f3c024d |
%{noarch_subpackage}
|
|
|
c2fc315 |
|
|
|
c2fc315 |
|
|
|
c2fc315 |
%description doc
|
|
|
c2fc315 |
NtEd's documentation and online help.
|
|
|
c2fc315 |
|
|
|
c2fc315 |
|
|
|
b52b866 |
%package %{family}-fonts
|
|
|
338711d |
Group: User Interface/X
|
|
|
338711d |
Requires: fontpackages-filesystem
|
|
|
b52b866 |
Summary: NtEd's own special note symbol font
|
|
|
f3c024d |
%{noarch_subpackage}
|
|
|
ab149c7 |
|
|
|
ab149c7 |
|
|
|
b52b866 |
%description %{family}-fonts
|
|
|
b52b866 |
NtEd's own special note symbol font.
|
|
|
ab149c7 |
|
|
|
ab149c7 |
|
|
|
ab149c7 |
%prep
|
|
|
ab149c7 |
%setup -q
|
|
|
3f60c8f |
|
|
|
ab149c7 |
|
|
|
ab149c7 |
%build
|
|
|
c2fc315 |
%configure --docdir='%{_docdir}/%{name}-doc-%{version}'
|
|
|
ab149c7 |
make %{?_smp_mflags}
|
|
|
ab149c7 |
|
|
|
ab149c7 |
|
|
|
ab149c7 |
%install
|
|
|
ab149c7 |
rm -rf %{buildroot}
|
|
|
ab149c7 |
make install DESTDIR=%{buildroot}
|
|
|
c2fc315 |
mv %{buildroot}%{_docdir}/%{name}-doc-%{version} docs
|
|
|
338711d |
|
|
|
ab149c7 |
# Upstream desktop file contains some blank keys and is not spec-compliant
|
|
|
ab149c7 |
rm %{buildroot}%{_datadir}/applications/nted.desktop
|
|
|
ab149c7 |
desktop-file-install --vendor="fedora" \
|
|
|
ab149c7 |
--dir=%{buildroot}%{_datadir}/applications \
|
|
|
ab149c7 |
%{SOURCE1}
|
|
|
ab149c7 |
%find_lang %{name}
|
|
|
ab149c7 |
|
|
|
338711d |
# Install font into the correct directory
|
|
|
338711d |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
338711d |
mv -f %{buildroot}%{_datadir}/%{name}/ntedfont.pfa \
|
|
|
338711d |
%{buildroot}%{_fontdir}/ntedfont.pfa
|
|
|
338711d |
# This saves us from patching the nted source.
|
|
|
338711d |
ln -s %{_fontdir}/ntedfont.pfa \
|
|
|
338711d |
%{buildroot}%{_datadir}/%{name}/ntedfont.pfa \
|
|
|
338711d |
|
|
|
ab149c7 |
|
|
|
ab149c7 |
%clean
|
|
|
ab149c7 |
rm -rf %{buildroot}
|
|
|
ab149c7 |
|
|
|
ab149c7 |
|
|
|
ab149c7 |
%files -f %{name}.lang
|
|
|
ab149c7 |
%defattr(-,root,root,-)
|
|
|
c2fc315 |
%doc COPYING COPYING.GFDL
|
|
|
ab149c7 |
%{_bindir}/nted
|
|
|
ab149c7 |
%{_datadir}/applications/fedora-nted.desktop
|
|
|
ab149c7 |
%{_datadir}/pixmaps/nted.png
|
|
|
338711d |
%{_datadir}/%{name}
|
|
|
ab149c7 |
%{_mandir}/*/*
|
|
|
ab149c7 |
|
|
|
ab149c7 |
|
|
|
c2fc315 |
%files doc
|
|
|
c2fc315 |
%defattr(-,root,root,-)
|
|
|
c2fc315 |
%doc COPYING COPYING.GFDL docs/*
|
|
|
c2fc315 |
|
|
|
c2fc315 |
|
|
|
b52b866 |
#_font_pkg -n %{family} -f %{fontconf} %{family}.pfa
|
|
|
b52b866 |
%_font_pkg -n %{family} %{family}.pfa
|
|
|
338711d |
|
|
|
338711d |
|
|
|
ab149c7 |
%changelog
|
|
|
2b2173e |
* Fri Jul 16 2010 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.10.12-1
|
|
|
2b2173e |
- Update to 1.10.12 (#578125).
|
|
|
2b2173e |
|
|
|
f84f7df |
* Thu Apr 29 2010 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.10.3-2
|
|
|
f84f7df |
- Repeat build with the sourc tarball actually uploaded
|
|
|
f84f7df |
|
|
|
446963e |
* Wed Apr 28 2010 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.10.3-1
|
|
|
446963e |
- Update to 1.10.3 (support tremolo notes)
|
|
|
446963e |
|
|
|
6389e93 |
* Mon Apr 26 2010 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.10.1-1
|
|
|
6389e93 |
- Update to 1.10.1
|
|
|
6389e93 |
|
|
|
6389e93 |
* Mon Apr 26 2010 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.9.22-1
|
|
|
6389e93 |
- Update to 1.9.22 (bug fixes, mostly Lilypond export)
|
|
|
6389e93 |
|
|
|
d7cd273 |
* Tue Mar 30 2010 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.9.19-1
|
|
|
d7cd273 |
- Update to 1.9.19 (time signature fixes)
|
|
|
d7cd273 |
- Remove upstreamed nted-1.9.18-link-fix-for-fedora.patch
|
|
|
d7cd273 |
|
|
|
3f60c8f |
* Wed Feb 10 2010 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.9.18-2
|
|
|
3f60c8f |
- Explicitly check for and link against libX11 (will be in upstream 1.9.19)
|
|
|
3f60c8f |
- Remove obsolete "chmod -x" on dynarray.h
|
|
|
3f60c8f |
- Update nted.desktop translations from upstream's nted.desktop
|
|
|
3f60c8f |
|
|
|
306c11f |
* Wed Feb 10 2010 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.9.18-1
|
|
|
306c11f |
- Update to 1.9.18
|
|
|
306c11f |
|
|
|
4abcebe |
* Thu Jan 21 2010 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.9.17-1
|
|
|
4abcebe |
- Update to 1.9.17
|
|
|
4abcebe |
|
|
|
026100c |
* Thu Dec 24 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.9.13-1
|
|
|
026100c |
- Update to 1.9.13
|
|
|
026100c |
|
|
|
240a8dd |
* Fri Dec 4 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.9.10-1
|
|
|
240a8dd |
- Update to 1.9.10
|
|
|
240a8dd |
|
|
|
b893a64 |
* Sat Oct 31 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.9.2-1
|
|
|
b893a64 |
- Update to 1.9.2
|
|
|
b893a64 |
|
|
|
5dbb595 |
* Mon Oct 5 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.8.6-1
|
|
|
5dbb595 |
- 1.8.6 release
|
|
|
5dbb595 |
|
|
|
bc91d18 |
* Sat Sep 26 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.8.1-1
|
|
|
bc91d18 |
- update to upstream's nted-1.8.1 release
|
|
|
bc91d18 |
|
|
|
a75828c |
* Wed Sep 23 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.6.2-2
|
|
|
a75828c |
- Update desktop file according to F-12 FedoraStudio feature
|
|
|
a75828c |
|
|
|
9931af9 |
* Mon Jul 27 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.6.2-1
|
|
|
9931af9 |
- update to bugfix release 1.6.2
|
|
|
9931af9 |
|
|
|
cb448db |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-2
|
|
|
cb448db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
cb448db |
|
|
|
3ba1f83 |
* Tue Jul 21 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.6.1-1
|
|
|
3ba1f83 |
- Upstream release 1.6.0/1.6.1
|
|
|
3ba1f83 |
|
|
|
f3c024d |
* Wed Mar 25 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.5.0-6
|
|
|
f3c024d |
- Rebuild for Fedora 11 to pick up font autodeps (#491970)
|
|
|
f3c024d |
|
|
|
f3c024d |
* Thu Mar 5 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.5.0-5
|
|
|
f3c024d |
- Remove workaround for broken po2xml which is now fixed
|
|
|
f3c024d |
- Move noarch subpackage conditional part to single place in file
|
|
|
f3c024d |
|
|
|
8a11e95 |
* Sat Feb 28 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.5.0-4
|
|
|
8a11e95 |
- Add (disabled) workaround for broken po2xml (would remove translated docs)
|
|
|
8a11e95 |
|
|
|
c2fc315 |
* Thu Feb 26 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.5.0-3
|
|
|
c2fc315 |
- noarch subpackage for doc
|
|
|
c2fc315 |
- use versioned requirements for subpackages
|
|
|
c2fc315 |
|
|
|
a4d7f76 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-2
|
|
|
a4d7f76 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
a4d7f76 |
|
|
|
b52b866 |
* Fri Feb 20 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.5.0-1
|
|
|
b52b866 |
- Update to upstream 1.5.0 release
|
|
|
b52b866 |
- nothing user visible besides the upstream 1.5.0 release
|
|
|
b52b866 |
- replace %%dir %%{_fontdir} by fontpackages-devel >= 1.18 build req
|
|
|
b52b866 |
- replace %%define with %%global
|
|
|
b52b866 |
- ship COPYING.GFDL file
|
|
|
b52b866 |
- split off nted-ntedfont-fonts subpackage for the font people
|
|
|
b52b866 |
|
|
|
fc94c17 |
* Mon Jan 11 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.4.17-2
|
|
|
fc94c17 |
- remove unneeded fontconfig hooks from spec
|
|
|
fc94c17 |
|
|
|
338711d |
* Sun Jan 11 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.4.17-1.1
|
|
|
338711d |
- remove wrongly encoded german description
|
|
|
338711d |
- use new font packaging rules
|
|
|
338711d |
- split ntedfont.pfa into nted-fonts subpackage
|
|
|
338711d |
|
|
|
cc33c95 |
* Wed Dec 10 2008 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.4.17-1
|
|
|
cc33c95 |
- Update to upstream's 1.4.17 release.
|
|
|
cc33c95 |
|
|
|
2e2ea8b |
* Tue Nov 30 2008 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.4.16-1
|
|
|
2e2ea8b |
- Update to upstream's 1.4.16 release.
|
|
|
2e2ea8b |
|
|
|
9d26ce3 |
* Tue Nov 11 2008 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.4.15-1
|
|
|
9d26ce3 |
- Update to upstream's 1.4.15 release.
|
|
|
9d26ce3 |
|
|
|
e3a2046 |
* Fri Oct 17 2008 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.4.2-1
|
|
|
e3a2046 |
- Update to upstream's 1.4.2 release.
|
|
|
e3a2046 |
|
|
|
bdb1717 |
* Wed Oct 15 2008 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.3.3-1
|
|
|
bdb1717 |
- Update to upstream's 1.3.3 release.
|
|
|
bdb1717 |
|
|
|
321acd8 |
* Fri Sep 19 2008 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.2.1-1
|
|
|
321acd8 |
- Update to upstream's 1.2.1 release.
|
|
|
321acd8 |
|
|
|
66daec3 |
* Wed Sep 10 2008 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.0.8-2
|
|
|
66daec3 |
- Work around upstream shipping an executable dynarray.h file.
|
|
|
66daec3 |
|
|
|
d672fcb |
* Tue Sep 9 2008 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.0.8-1
|
|
|
d672fcb |
- Update to upstream's 1.0.8 release.
|
|
|
d672fcb |
|
|
|
ab149c7 |
* Sun Sep 7 2008 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.0.7-2
|
|
|
ab149c7 |
- Consistently use %%{buildroot} instead of $RPM_BUILD_ROOT
|
|
|
ab149c7 |
- Ship upstream's now correct COPYING file.
|
|
|
ab149c7 |
- Ship all docs disregarding the languages.
|
|
|
ab149c7 |
|
|
|
ab149c7 |
* Sun Sep 7 2008 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.0.7-1
|
|
|
ab149c7 |
- Update to nted-1.0.7
|
|
|
ab149c7 |
- Remove all patches (all adopted by upstream now)
|
|
|
ab149c7 |
- Consistently use --docdir, %%docdir
|
|
|
ab149c7 |
|
|
|
ab149c7 |
* Sun Jun 8 2008 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.24.1-1
|
|
|
ab149c7 |
- Update to 0.24.1
|
|
|
ab149c7 |
|
|
|
ab149c7 |
* Sun Jun 8 2008 Hans Ulrich Niedermann <hun@n-dimensional.de> - 0.22.3-2.4
|
|
|
ab149c7 |
- Temporary test build
|
|
|
ab149c7 |
- Add GFDL to licenses
|
|
|
ab149c7 |
- Add lang(de) variants for Summary and Description
|
|
|
ab149c7 |
- Have nted look for html docs in correct place
|
|
|
ab149c7 |
|
|
|
ab149c7 |
* Tue Jun 3 2008 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.22.3-2
|
|
|
ab149c7 |
- Use compiler flags
|
|
|
ab149c7 |
- Fix compilation warnings
|
|
|
ab149c7 |
- Reorganize documentation files
|
|
|
ab149c7 |
|
|
|
ab149c7 |
* Fri Apr 25 2008 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.22.3-1
|
|
|
ab149c7 |
- Initial package
|
|
|
ab149c7 |
|