automatic version update by autodist [release 1.0.0-1mamba;Thu Aug 13 2020]
This commit is contained in:
parent
7893e77144
commit
f0ec72055e
@ -1,7 +1,7 @@
|
||||
%define majver %(echo %version | cut -d_ -f1)
|
||||
%define pkgver %(echo %version | tr _ -)
|
||||
Name: hydrogen
|
||||
Version: 0.9.7
|
||||
Version: 1.0.0
|
||||
Release: 1mamba
|
||||
Summary: Advanced drum machine for GNU/Linux
|
||||
Group: Graphical Desktop/Applications/Multimedia
|
||||
@ -43,6 +43,7 @@ Hydrogen is an advanced drum machine for GNU/Linux. It's main goal is to bring
|
||||
|
||||
This package contains the headers that programmers will need to develop applications which will use %{name}.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -c
|
||||
@ -54,8 +55,9 @@ mv %{name}-*/* .
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
QTDIR=%{_qt4_libdir}
|
||||
QTDIR=%{_qt5_libdir}
|
||||
LADSPA_PATH=%{_libdir}/ladspa
|
||||
|
||||
%cmake \
|
||||
-DCMAKE_COLOR_MAKEFILE=1 \
|
||||
-DWANT_DEBUG=1 \
|
||||
@ -71,40 +73,47 @@ LADSPA_PATH=%{_libdir}/ladspa
|
||||
-DWANT_COREAUDIO=0 \
|
||||
-DWANT_COREMIDI=0
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
install -d %{buildroot}%{_datadir}/pixmaps
|
||||
convert data/img/gray/h2-icon.svg -resize 64x64 \
|
||||
%{buildroot}%{_datadir}/pixmaps/h2-icon.png
|
||||
#install -d %{buildroot}%{_datadir}/pixmaps
|
||||
#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
|
||||
[Desktop Entry]
|
||||
Name=Hydrogen
|
||||
GenericName=An advanced drum machine
|
||||
GenericName[it]=Batteria elettronica avanzata
|
||||
Exec=%{name}
|
||||
Icon=hydrogen.png
|
||||
Terminal=0
|
||||
Type=Application
|
||||
Categories=Qt;KDE;AudioVideo;Music;
|
||||
EOF
|
||||
_EOF
|
||||
mv %{buildroot}%{_prefix}/data/i18n %{buildroot}%{_datadir}/hydrogen/data/
|
||||
|
||||
mv %{buildroot}%{_prefix}/man %{buildroot}%{_datadir}/
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/*
|
||||
%{_bindir}/h2cli
|
||||
%{_bindir}/h2player
|
||||
%{_bindir}/hydrogen
|
||||
%{_libdir}/libhydrogen-core-*.so
|
||||
%{_datadir}/hydrogen/data
|
||||
%{_datadir}/appdata/hydrogen.appdata.xml
|
||||
%{_datadir}/applications/hydrogen.desktop
|
||||
%{_datadir}/pixmaps/h2-icon.png
|
||||
%dir %{_datadir}/hydrogen/data
|
||||
%{_datadir}/hydrogen/data/DefaultSong.h2song
|
||||
%{_datadir}/hydrogen/data/click.wav
|
||||
%{_datadir}/hydrogen/data/emptySample.wav
|
||||
%{_datadir}/hydrogen/data/hydrogen.default.conf
|
||||
%dir %{_datadir}/hydrogen/data/demo_songs
|
||||
%{_datadir}/hydrogen/data/demo_songs/*
|
||||
%dir %{_datadir}/hydrogen/data/drumkits
|
||||
%{_datadir}/hydrogen/data/drumkits/*
|
||||
%dir %{_datadir}/hydrogen/data/img
|
||||
%{_datadir}/hydrogen/data/img/*
|
||||
%dir %{_datadir}/hydrogen/data/i18n
|
||||
%{_datadir}/hydrogen/data/i18n/*
|
||||
%dir %{_datadir}/hydrogen/data/new_tutorial
|
||||
%{_datadir}/hydrogen/data/new_tutorial/*
|
||||
%dir %{_datadir}/hydrogen/data/xsd
|
||||
%{_datadir}/hydrogen/data/xsd/*
|
||||
%{_datadir}/appdata/org.hydrogenmusic.Hydrogen.appdata.xml
|
||||
%{_datadir}/applications/org.hydrogenmusic.Hydrogen.desktop
|
||||
%{_datadir}/icons/hicolor/scalable/apps/org.hydrogenmusic.Hydrogen.svg
|
||||
%{_mandir}/man1/hydrogen.1*
|
||||
%doc AUTHORS COPYING
|
||||
|
||||
@ -112,12 +121,12 @@ mv %{buildroot}%{_prefix}/man %{buildroot}%{_datadir}/
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/hydrogen
|
||||
%{_includedir}/hydrogen/*
|
||||
%doc README.txt
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
#%doc README.txt
|
||||
|
||||
%changelog
|
||||
* Thu Aug 13 2020 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Nov 19 2017 Automatic Build System <autodist@mambasoft.it> 0.9.7-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
@ -149,5 +158,5 @@ mv %{buildroot}%{_prefix}/man %{buildroot}%{_datadir}/
|
||||
* Thu Apr 07 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.9.1-2qilnx
|
||||
- rebuild and moved from devel-contrib repository to devel repository
|
||||
|
||||
* Wed Mar 17 2005 Matteo Bernasconi <voyagernm@virgilio.it> 0.9.1-1qilnx
|
||||
* Thu Mar 17 2005 Matteo Bernasconi <voyagernm@virgilio.it> 0.9.1-1qilnx
|
||||
- first build
|
||||
|
Loading…
Reference in New Issue
Block a user