]> git.pld-linux.org Git - packages/drumkv1.git/commitdiff
new package auto/th/drumkv1-0.9.2-1
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Wed, 1 Aug 2018 14:04:25 +0000 (16:04 +0200)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Wed, 1 Aug 2018 14:04:25 +0000 (16:04 +0200)
drumkv1.spec [new file with mode: 0644]

diff --git a/drumkv1.spec b/drumkv1.spec
new file mode 100644 (file)
index 0000000..d702e98
--- /dev/null
@@ -0,0 +1,125 @@
+Summary:       Old-school drum-kit sampler
+Name:          drumkv1
+Version:       0.9.2
+Release:       1
+License:       GPL v2
+Group:         Applications
+Source0:       http://downloads.sourceforge.net/drumkv1/%{name}-%{version}.tar.gz
+# Source0-md5: f1ca5b84755d481a02f79ad031d18ba5
+URL:           https://drumkv1.sourceforge.io/
+BuildRequires: Qt5Core-devel
+BuildRequires: alsa-lib-devel
+BuildRequires: autoconf
+BuildRequires: jack-audio-connection-kit-devel
+BuildRequires: liblo-devel
+BuildRequires: libsndfile-devel
+BuildRequires: lv2-devel
+BuildRequires: qt5-build
+BuildRequires: qt5-linguist
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _noautoprovfiles        %{_libdir}/lv2
+
+%description
+drumkv1 is an old-school all-digital drum-kit sampler synthesizer with
+stereo fx.
+
+Features:
+    - a pure stand-alone JACK client with JACK-session, NSM (Non Session
+      management) and both JACK MIDI and ALSA MIDI input support;
+    - a LV2 instrument plug-in.
+
+%package common
+Summary:       Old-school drum-kit sampler - common files
+Group:         Applications
+
+%description common
+drumkv1 is an old-school all-digital drum-kit sampler synthesizer with
+stereo fx.
+
+This package provides a pure stand-alone JACK client with
+JACK-session, NSM (Non Session management) and both JACK MIDI and ALSA
+MIDI input support.
+
+%package jack
+Summary:       Old-school drum-kit sampler - standalone Jack app
+Group:         Applications
+Requires:      %{name}-common = %{version}-%{release}
+
+%description jack
+drumkv1 is an old-school all-digital drum-kit sampler synthesizer with
+stereo fx.
+
+This package provides a pure stand-alone JACK client with
+JACK-session, NSM (Non Session management) and both JACK MIDI and ALSA
+MIDI input support.
+
+%package lv2
+Summary:       Old-school drum-kit sampler - LV2 plug-in
+Group:         Applications
+Requires:      %{name}-common = %{version}-%{release}
+
+%description lv2
+drumkv1 is an old-school all-digital drum-kit sampler synthesizer with
+stereo fx.
+
+This package provides an a LV2 instrument plug-in.
+
+%prep
+%setup -q
+
+%build
+%{__aclocal}
+%{__autoconf}
+
+%configure \
+       --with-qt5=%{_libdir}/qt5
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_mandir}/fr/man1
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.so
+%{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/drumkv1.fr.1.gz $RPM_BUILD_ROOT%{_mandir}/fr/man1/drumkv1.1.gz
+
+# enable 'Requires' detection
+chmod a+x $RPM_BUILD_ROOT%{_libdir}/lv2/%{name}.lv2/*.so
+
+%post common -p /sbin/ldconfig
+%postun common -p /sbin/ldconfig
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files common
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libdrumkv1.so.0.*
+%ghost %attr(755,root,root) %{_libdir}/libdrumkv1.so.0
+%attr(755,root,root) %{_libdir}/libdrumkv1_ui.so.0.*
+%ghost %attr(755,root,root) %{_libdir}/libdrumkv1_ui.so.0
+
+%files jack
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README TODO
+%attr(755,root,root) %{_bindir}/%{name}_jack
+%{_desktopdir}/drumkv1.desktop
+%{_iconsdir}/hicolor/*/apps/drumkv1.png
+%{_iconsdir}/hicolor/scalable/apps/drumkv1.svg
+%{_iconsdir}/hicolor/*/mimetypes/application-x-drumkv1-preset.png
+%{_iconsdir}/hicolor/scalable/mimetypes/application-x-drumkv1-preset.svg
+%{_mandir}/man1/drumkv1.1*
+%lang(fr) %{_mandir}/fr/man1/drumkv1.1*
+%{_datadir}/metainfo/drumkv1.appdata.xml
+%{_datadir}/mime/packages/drumkv1.xml
+
+%files lv2
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README TODO
+%dir %{_libdir}/lv2/%{name}.lv2
+%{_libdir}/lv2/%{name}.lv2/*.ttl
+%attr(755,root,root) %{_libdir}/lv2/%{name}.lv2/*.so
This page took 0.045797 seconds and 4 git commands to generate.