qtractor/qtractor.spec

189 lines
6.6 KiB
RPMSpec

Name: qtractor
Version: 0.6.2
Epoch: 1
Release: 1mamba
Summary: A MIDI/Audio multi-track sequencer
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://qtractor.sourceforge.net
Source: http://downloads.sourceforge.net/sourceforge/qtractor/qtractor-%{version}.tar.gz
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libICE-devel
BuildRequires: libjack-devel
BuildRequires: libmad-devel
BuildRequires: libogg-devel
BuildRequires: libpng-devel
BuildRequires: libqt4-devel
BuildRequires: libsamplerate-devel
BuildRequires: libSM-devel
BuildRequires: libsndfile-devel
BuildRequires: libstdc++6-devel
BuildRequires: libvorbis-devel
BuildRequires: libX11-devel
BuildRequires: libXcursor-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: libXinerama-devel
BuildRequires: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: ladspa-devel
%description
Qtractor is a MIDI/Audio multi-track sequencer application written in C++ around the Qt4 toolkit using Qt Designer.
The initial target platform will be Linux, where the Jack Audio Connection Kit (JACK) for audio, and the Advanced Linux Sound Architecture (ALSA) for MIDI, are the main infrastructures to evolve as a fairly-featured Linux Desktop Audio Workstation GUI, specially dedicated to the personal home-studio.
%prep
%setup -q -n %{name}-%{version}
%build
export PATH=%{_libdir}/qt4:$PATH
%configure \
--with-qt=%{_libdir}/qt4
QTDIR=%{_libdir}/qt4 %make qmake=/usr/bin/qmake-qt4
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
# warning: this overwrites installed qtractor.desktop
# (notice it might get translations itself in future)
cat > %{buildroot}/%{_datadir}/applications/qtractor.desktop << EOF
[Desktop Entry]
Name=qtractor
GenericName=A MIDI/audio multitrack sequencer
GenericName[it]=Sequencer MIDI/Audio multitraccia
Comment=Qtractor is an Audio/MIDI multi-track sequencer application
Comment[it]=Qtractor è un sequencer Audio/MIDI multi-traccia
Exec=%{_bindir}/qtractor
Type=Application
Terminal=0
Icon=qtractor
Categories=Application;AudioVideo;Audio;Multimedia;Music;
EOF
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
:
%postun
if [ $? -eq 0 ]; then
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
fi
:
%files
%defattr(-,root,root)
%{_bindir}/qtractor
%{_datadir}/icons/hicolor/32x32/apps/qtractor.png
%{_datadir}/icons/hicolor/32x32/mimetypes/application-x-qtractor-*.png
%{_datadir}/icons/hicolor/scalable/apps/qtractor.svg*
%{_datadir}/icons/hicolor/scalable/mimetypes/application-x-qtractor-archive.svg*
%{_datadir}/icons/hicolor/scalable/mimetypes/application-x-qtractor-session.svg*
%{_datadir}/icons/hicolor/scalable/mimetypes/application-x-qtractor-template.svg*
%{_datadir}/mime/packages/qtractor.xml
%{_datadir}/applications/qtractor.desktop
%dir %{_datadir}/qtractor
%dir %{_datadir}/qtractor/translations
%lang(cs) %{_datadir}/qtractor/translations/qtractor_cs.qm
%lang(de) %{_datadir}/qtractor/translations/qtractor_de.qm
%lang(fr) %{_datadir}/qtractor/translations/qtractor_fr.qm
%lang(it) %{_datadir}/qtractor/translations/qtractor_it.qm
%lang(ja) %{_datadir}/qtractor/translations/qtractor_ja.qm
%lang(pt) %{_datadir}/qtractor/translations/qtractor_pt.qm
%lang(ru) %{_datadir}/qtractor/translations/qtractor_ru.qm
%{_mandir}/man1/qtractor.1*
%doc AUTHORS COPYING
# ChangeLog README TODO
%changelog
* Tue Jul 22 2014 Automatic Build System <autodist@mambasoft.it> 0.6.2-1mamba
- automatic version update by autodist
* Sat May 03 2014 Automatic Build System <autodist@mambasoft.it> 0.6.1-1mamba
- automatic version update by autodist
* Sat Mar 29 2014 Automatic Build System <autodist@mambasoft.it> 0.6.0-1mamba
- automatic version update by autodist
* Fri Jan 03 2014 Automatic Build System <autodist@mambasoft.it> 0.5.12-1mamba
- automatic version update by autodist
* Wed Oct 09 2013 Automatic Build System <autodist@mambasoft.it> 0.5.11-1mamba
- automatic version update by autodist
* Wed Jul 24 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.10-1mamba
- update to 0.5.10
* Mon Jun 10 2013 Automatic Build System <autodist@mambasoft.it> 0.5.9-1mamba
- automatic version update by autodist
* Thu Mar 21 2013 Automatic Build System <autodist@mambasoft.it> 0.5.8-1mamba
- automatic version update by autodist
* Tue Jan 01 2013 Automatic Build System <autodist@mambasoft.it> 0.5.7-1mamba
- automatic version update by autodist
* Thu Oct 11 2012 Automatic Build System <autodist@mambasoft.it> 0.5.6-1mamba
- automatic version update by autodist
* Tue Aug 07 2012 Automatic Build System <autodist@mambasoft.it> 0.5.5-1mamba
- automatic version update by autodist
* Sat Oct 29 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
- update to 0.5.1
* Sat Jul 23 2011 Automatic Build System <autodist@mambasoft.it> 0.5.0-1mamba
- automatic update to 3.0.3.0 by autodist
* Fri Jan 28 2011 Automatic Build System <autodist@mambasoft.it> 0.4.8-1mamba
- automatic update by autodist
* Fri Oct 01 2010 Automatic Build System <autodist@mambasoft.it> 0.4.7-1mamba
- automatic update by autodist
* Mon Aug 09 2010 Automatic Build System <autodist@mambasoft.it> 0.4.6-1mamba
- automatic update by autodist
* Wed May 12 2010 Automatic Build System <autodist@mambasoft.it> 0.4.5-1mamba
- automatic update by autodist
* Fri Jul 10 2009 Automatic Build System <autodist@mambasoft.it> 0.4.2-2mamba
- automatic rebuild by autodist
* Thu Jul 02 2009 Automatic Build System <autodist@mambasoft.it> 0.4.2-1mamba
- automatic update by autodist
* Sat Mar 28 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-1mamba
- automatic update by autodist
* Sun Jan 25 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0-2mamba
- desktop entry moved to music menu
* Sat Jan 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0-1mamba
- automatic update by autodist
* Mon Feb 11 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0-1mamba
- update to 0.1.0
* Fri Sep 21 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.5.702-1mamba
- update to 0.0.5.702
- desktop file moved to standard location
* Mon Dec 11 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1-1qilnx
- package created by autospec