c99f368
Summary:          An arpeggiator, sequencer and MIDI LFO for ALSA
c99f368
Name:             qmidiarp
aeeec74
Version:          0.5.2
aeeec74
Release:          1%{?dist}
c99f368
License:          GPLv2+
c99f368
Group:            Applications/Multimedia
c99f368
URL:              http://sourceforge.net/projects/qmidiarp 
Brendan f881444
Source0:          http://downloads.sourceforge.net/qmidiarp/files/%{name}-%{version}.tar.bz2
c99f368
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c99f368
BuildRequires:    desktop-file-utils
c99f368
BuildRequires:    alsa-lib-devel
c99f368
BuildRequires:    qt-devel
c99f368
BuildRequires:    jack-audio-connection-kit-devel
c99f368
Requires:         hicolor-icon-theme
c99f368
Requires(post):   desktop-file-utils
c99f368
Requires(postun): desktop-file-utils
c99f368
c99f368
%description
c99f368
QMidiArp is a MIDI phrase generator and controller LFO for the ALSA sequencer. 
c99f368
It can run multiple synchronized arpeggiators, LFOs and step sequencers. 
c99f368
QMidiArp has been growing since June 2009 on top of Matthias Nagorni's original 
c99f368
arp idea.  
c99f368
c99f368
%prep
c99f368
Brendan f881444
%setup -q 
c99f368
c99f368
# Fix encoding issues
c99f368
for file in ChangeLog AUTHORS README COPYING NEWS; do
c99f368
   sed 's|\r||' $file > $file.tmp
c99f368
   iconv -f ISO-8859-1 -t UTF8 $file.tmp > $file.tmp2
c99f368
   touch -r $file $file.tmp2
c99f368
   mv -f $file.tmp2 $file
c99f368
done
c99f368
c99f368
%build
c99f368
%configure 
c99f368
make %{?_smp_mflags}
c99f368
c99f368
%install
c99f368
rm -rf %{buildroot}
c99f368
make DESTDIR=%{buildroot} install
c99f368
c99f368
%clean
c99f368
rm -rf %{buildroot}
c99f368
c99f368
%post
c99f368
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
c99f368
update-desktop-database &> /dev/null || :
c99f368
update-mime-database %{_datadir}/mime &> /dev/null || :
c99f368
c99f368
%postun
c99f368
if [ $1 -eq 0 ] ; then
c99f368
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
c99f368
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
c99f368
fi
c99f368
update-desktop-database &> /dev/null || :
c99f368
update-mime-database %{_datadir}/mime &> /dev/null || :
c99f368
c99f368
%posttrans
c99f368
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
c99f368
c99f368
%files 
c99f368
%defattr(-,root,root,-)
c99f368
%doc AUTHORS ChangeLog COPYING README NEWS
c99f368
%{_bindir}/%{name}
c99f368
%{_datadir}/%{name}
c99f368
%{_datadir}/applications/%{name}.desktop
c99f368
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
c99f368
%{_mandir}/de/man1/%{name}.1.*
c99f368
%{_mandir}/fr/man1/%{name}.1.*
c99f368
%{_mandir}/man1/%{name}.1.*
c99f368
c99f368
%changelog
aeeec74
* Wed May 22 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.5.2-1
aeeec74
- New upstream release
aeeec74
843595f
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
843595f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
843595f
1e61c58
* Thu Jan 10 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.5.1-1
1e61c58
- New upstream release
1e61c58
2a41dfc
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
2a41dfc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2a41dfc
1033f9d
* Sun Mar 25 2012 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.5.0-1
1033f9d
- Updated to 0.5.0
1033f9d
fd6868a
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-3
fd6868a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
fd6868a
bb2e430
* Sat Dec 24 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.4.4-2
bb2e430
- Upstream issued new tarball without release bump
Brendan f881444
9f5edda
* Sat Dec 24 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.4.4-1
9f5edda
- Updated to 0.4.4
9f5edda
- Removed fsf patch
9f5edda
9f5edda
* Sun Nov 20 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.4.3-1
9f5edda
- Updated to 0.4.3
9f5edda
- patch fsf address
9f5edda
Brendan f881444
* Sun Jul 10 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.4.2-1
Brendan f881444
- Updated to 0.4.2
Brendan f881444
Brendan f881444
* Mon May 30 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.4.1-1
Brendan f881444
- Updated to 0.4.1
Brendan f881444
c99f368
* Thu Feb 24 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.3.9-6
Brendan f881444
- corrected use of name macro 
c99f368
c99f368
* Thu Feb 24 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.3.9-5
Brendan f881444
- corrected use of name macro 
c99f368
c99f368
* Tue Feb 22 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.3.9-4
c99f368
- additional spacing in SPEC file
c99f368
c99f368
* Wed Feb 16 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.3.9-3
c99f368
- correct icon cache directory
c99f368
c99f368
* Wed Feb 16 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.3.9-2
c99f368
- correct sourceforge URL, mime database update and other minor corrections
c99f368
c99f368
* Mon Feb 07 2011 Brendan Jones <brendan DOT jones DOT it AT gmail DOT com> 0.3.9-1
c99f368
- initial build 
c99f368