Blame nted.spec

ab149c7
Name:           nted
e3a2046
Version:        1.4.2
321acd8
Release:        1%{?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+.
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
ab149c7
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ab149c7
ab149c7
BuildRequires:  gtk2-devel alsa-lib-devel
ab149c7
BuildRequires:  gettext kdesdk yelp xmlto desktop-file-utils
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
ab149c7
%description(de)
ab149c7
NtEd ist ein GTK-Partitureditor. Er soll das WYSIWYG-Prinzip
ab149c7
vollständig umsetzen: Was man auf dem Bildschirm sieht, sieht genau so
ab149c7
aus wie das, was man aus dem Drucker erhält.
ab149c7
ab149c7
NtEd unterstützt bis zu 4 Stimmen pro Notenzeile, Schlagzeugnoten, 5
ab149c7
Strophenzeilen, N-Tolen, Wiederholungen mit Alternativen, einstellbare
ab149c7
Musikinstrumente pro Notensystem, MIDI- und PostScript-Export,
ab149c7
MusicXML-Import.
ab149c7
ab149c7
Partituren können über den ALSA-Sequencer abgespielt werden.
ab149c7
ab149c7
ab149c7
%prep
ab149c7
%setup -q
66daec3
# Upstream mistakenly ships a header file with its x bit set.
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
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
ab149c7
ab149c7
%clean
ab149c7
rm -rf %{buildroot}
ab149c7
ab149c7
ab149c7
%files -f %{name}.lang
ab149c7
%defattr(-,root,root,-)
ab149c7
%doc COPYING docs/*
ab149c7
%{_bindir}/nted
ab149c7
%{_datadir}/applications/fedora-nted.desktop
ab149c7
%{_datadir}/pixmaps/nted.png
ab149c7
%{_datadir}/nted
ab149c7
%{_mandir}/*/*
ab149c7
ab149c7
ab149c7
%changelog
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