|
|
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 |
|
|
|
ab149c7 |
Name: nted
|
|
|
b52b866 |
Version: 1.5.0
|
|
|
a4d7f76 |
Release: 2%{?dist}
|
|
|
ab149c7 |
Summary: Musical score editor
|
|
|
ab149c7 |
Summary(de): Partitureditor
|
|
|
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
|
|
|
ab149c7 |
Source0: http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/nted-%{version}.tar.gz
|
|
|
ab149c7 |
Source1: nted.desktop
|
|
|
b52b866 |
#Source2: %{name}-%{family}-fontconfig.conf
|
|
|
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 |
|
|
|
b52b866 |
Requires: %{name}-%{family}-fonts
|
|
|
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 |
|
|
|
b52b866 |
%package %{family}-fonts
|
|
|
338711d |
Group: User Interface/X
|
|
|
338711d |
#BuildArch: noarch # This still breaks the Fedora build architecture
|
|
|
338711d |
Requires: fontpackages-filesystem
|
|
|
b52b866 |
Summary: NtEd's own special note symbol font
|
|
|
ab149c7 |
|
|
|
ab149c7 |
|
|
|
b52b866 |
%description %{family}-fonts
|
|
|
b52b866 |
NtEd's own special note symbol font.
|
|
|
ab149c7 |
|
|
|
ab149c7 |
|
|
|
ab149c7 |
%prep
|
|
|
ab149c7 |
%setup -q
|
|
|
66daec3 |
# Upstream mistakenly ships a header file with its x bit set.
|
|
|
b52b866 |
test -x dynarray.h # make sure we notice when upstream fixes that
|
|
|
66daec3 |
chmod -x dynarray.h
|
|
|
ab149c7 |
|
|
|
ab149c7 |
|
|
|
ab149c7 |
%build
|
|
|
ab149c7 |
%configure --docdir='%{_docdir}/%{name}-%{version}'
|
|
|
ab149c7 |
make %{?_smp_mflags}
|
|
|
ab149c7 |
|
|
|
ab149c7 |
|
|
|
ab149c7 |
%install
|
|
|
ab149c7 |
rm -rf %{buildroot}
|
|
|
ab149c7 |
make install DESTDIR=%{buildroot}
|
|
|
ab149c7 |
mv %{buildroot}%{_docdir}/%{name}-%{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,-)
|
|
|
b52b866 |
%doc COPYING COPYING.GFDL docs/*
|
|
|
ab149c7 |
%{_bindir}/nted
|
|
|
ab149c7 |
%{_datadir}/applications/fedora-nted.desktop
|
|
|
ab149c7 |
%{_datadir}/pixmaps/nted.png
|
|
|
338711d |
%{_datadir}/%{name}
|
|
|
ab149c7 |
%{_mandir}/*/*
|
|
|
ab149c7 |
|
|
|
ab149c7 |
|
|
|
b52b866 |
#_font_pkg -n %{family} -f %{fontconf} %{family}.pfa
|
|
|
b52b866 |
%_font_pkg -n %{family} %{family}.pfa
|
|
|
338711d |
|
|
|
338711d |
|
|
|
ab149c7 |
%changelog
|
|
|
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 |
|