Blob Blame History Raw
Summary:          An arpeggiator, sequencer and MIDI LFO for ALSA
Name:             qmidiarp
Version:          0.6.1
Release:          1%{?dist}
License:          GPLv2+
Group:            Applications/Multimedia
URL:              http://sourceforge.net/projects/qmidiarp 
Source0:          http://downloads.sourceforge.net/qmidiarp/files/%{name}-%{version}.tar.bz2
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:    desktop-file-utils
BuildRequires:    alsa-lib-devel
BuildRequires:    qt-devel
BuildRequires:    liblo-devel
BuildRequires:    jack-audio-connection-kit-devel
BuildRequires:    lv2-devel
Requires:         hicolor-icon-theme
Requires(post):   desktop-file-utils
Requires(postun): desktop-file-utils

%description
QMidiArp is a MIDI phrase generator and controller LFO for the ALSA sequencer. 
It can run multiple synchronized arpeggiators, LFOs and step sequencers. 
QMidiArp has been growing since June 2009 on top of Matthias Nagorni's original 
arp idea.  

%package -n lv2-qmidiarp 
Summary:          LV2 plugins of the QMidiArp MIDI arpeggiator, sequencer and LFO
Group:            Applications/Multimedia

%description -n lv2-qmidiarp
lv2-qmidiarp contains LV2 versions of the QMidiArp's LFO, ARP and sequencer

%prep

%setup -q 

# Fix encoding issues
for file in ChangeLog AUTHORS README COPYING NEWS; do
   sed 's|\r||' $file > $file.tmp
   iconv -f ISO-8859-1 -t UTF8 $file.tmp > $file.tmp2
   touch -r $file $file.tmp2
   mv -f $file.tmp2 $file
done

%build
%configure --enable-nsm 
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install

%clean
rm -rf %{buildroot}

%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
update-desktop-database &> /dev/null || :
update-mime-database %{_datadir}/mime &> /dev/null || :

%postun
if [ $1 -eq 0 ] ; then
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
update-desktop-database &> /dev/null || :
update-mime-database %{_datadir}/mime &> /dev/null || :

%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :

%files 
%doc AUTHORS ChangeLog COPYING README NEWS
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_mandir}/de/man1/%{name}.1.*
%{_mandir}/fr/man1/%{name}.1.*
%{_mandir}/man1/%{name}.1.*
%{_datadir}/appdata/%{name}*

%files -n lv2-qmidiarp
%{_libdir}/lv2/qmidiarp*

%changelog
* Thu Sep 25 2014 Brendan Jones <brendan.jones.it@gmail.com> 0.6.1-1
- Update to 0.6.1

* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Mon Jan 13 2014 Brendan Jones <brendan.jones.it@gmail.com> 0.6.0-2
- Add missing BR

* Mon Jan 13 2014 Brendan Jones <brendan.jones.it@gmail.com> 0.6.0-1
- add LV2 plugins
- update to 0.6.0

* Wed Dec 04 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.5.3-1
- Update to 0.5.3

* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Wed May 22 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.5.2-2
- Enable nsm support

* Wed May 22 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.5.2-1
- New upstream release

* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Thu Jan 10 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.5.1-1
- New upstream release

* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Sun Mar 25 2012 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.5.0-1
- Updated to 0.5.0

* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Sat Dec 24 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.4.4-2
- Upstream issued new tarball without release bump

* Sat Dec 24 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.4.4-1
- Updated to 0.4.4
- Removed fsf patch

* Sun Nov 20 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.4.3-1
- Updated to 0.4.3
- patch fsf address

* Sun Jul 10 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.4.2-1
- Updated to 0.4.2

* Mon May 30 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.4.1-1
- Updated to 0.4.1

* Thu Feb 24 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.3.9-6
- corrected use of name macro 

* Thu Feb 24 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.3.9-5
- corrected use of name macro 

* Tue Feb 22 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.3.9-4
- additional spacing in SPEC file

* Wed Feb 16 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.3.9-3
- correct icon cache directory

* Wed Feb 16 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.3.9-2
- correct sourceforge URL, mime database update and other minor corrections

* Mon Feb 07 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.3.9-1
- initial build