automatic update by autodist [release 0.9.7-1mamba;Sun Nov 19 2017]

This commit is contained in:
Automatic Build System 2024-01-05 23:46:38 +01:00
parent 50e8e864f8
commit 7893e77144

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d_ -f1)
%define pkgver %(echo %version | tr _ -)
Name: hydrogen
Version: 0.9.6_beta3
Version: 0.9.7
Release: 1mamba
Summary: Advanced drum machine for GNU/Linux
Group: Graphical Desktop/Applications/Multimedia
@ -66,7 +66,7 @@ LADSPA_PATH=%{_libdir}/ladspa
-DWANT_OSS=0 \
-DWANT_PORTAUDIO=1 \
-DWANT_PORTMIDI=1 \
-DWANT_LASH=0 \
-DWANT_LASH=1 \
-DWANT_LRDF=1 \
-DWANT_COREAUDIO=0 \
-DWANT_COREMIDI=0
@ -74,13 +74,12 @@ LADSPA_PATH=%{_libdir}/ladspa
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
#scons install DESTDIR=%{buildroot}
install -d %{buildroot}%{_datadir}/pixmaps
convert /usr/share/hydrogen/data/img/gray/h2-icon.svg -resize 64x64 \
%{buildroot}%{_datadir}/pixmaps/hydrogen.png
convert data/img/gray/h2-icon.svg -resize 64x64 \
%{buildroot}%{_datadir}/pixmaps/h2-icon.png
:<< _EOF
# Create the system menu entry
install -d %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
@ -94,25 +93,34 @@ Terminal=0
Type=Application
Categories=Qt;KDE;AudioVideo;Music;
EOF
_EOF
mv %{buildroot}%{_prefix}/man %{buildroot}%{_datadir}/
%files
%defattr(-,root,root)
%{_bindir}/*
%{_libdir}/libhydrogen-core-0.9.6.so
%{_libdir}/libhydrogen-core-*.so
%{_datadir}/hydrogen/data
%{_datadir}/appdata/hydrogen.appdata.xml
%{_datadir}/applications/hydrogen.desktop
%{_datadir}/pixmaps/hydrogen.png
%doc AUTHORS COPYING README.txt
%{_datadir}/pixmaps/h2-icon.png
%{_mandir}/man1/hydrogen.1*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/hydrogen
%{_includedir}/hydrogen/*
%doc README.txt
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%changelog
* Sun Nov 19 2017 Automatic Build System <autodist@mambasoft.it> 0.9.7-1mamba
- automatic update by autodist
* Wed Jul 24 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6_beta3-1mamba
- update to 0.9.6_beta3