Joël Krähemann 7627210
Name:     gsequencer
f3f3801
Version:  3.1.1
f578a24
Release:  0%{?dist}
95ca9e2
Summary:  Audio processing engine
95ca9e2
License:  GPLv3+ and AGPLv3+ and GFDL-1.3+
95ca9e2
URL:      http://nongnu.org/gsequencer
f3f3801
Source:   http://download.savannah.gnu.org/releases/gsequencer/3.1.x/%{name}-%{version}.tar.gz
Joël Krähemann 7627210
BuildRequires:      libtool
Joël Krähemann 7627210
BuildRequires:      chrpath
Joël Krähemann 7627210
BuildRequires:      docbook-style-xsl
ed37ca2
BuildRequires:      gettext-devel
Joël Krähemann 7627210
BuildRequires:      gtk-doc
Joël Krähemann 7627210
BuildRequires:      pkgconfig(uuid)
Joël Krähemann 7627210
BuildRequires:      pkgconfig(libxml-2.0)
9829f93
BuildRequires:      pkgconfig(libsoup-2.4)
Joël Krähemann 7627210
BuildRequires:      pkgconfig(alsa)
feb7fbe
BuildRequires:      pkgconfig(fftw3)
Joël Krähemann 7627210
BuildRequires:      ladspa-devel
Joël Krähemann 7627210
BuildRequires:      dssi-devel
Joël Krähemann 7627210
BuildRequires:      lv2-devel
Joël Krähemann 7627210
BuildRequires:      pkgconfig(jack)
Joël Krähemann 7627210
BuildRequires:      pkgconfig(samplerate)
Joël Krähemann 7627210
BuildRequires:      pkgconfig(sndfile)
Joël Krähemann 7627210
BuildRequires:      pkgconfig(libinstpatch-1.0)
9829f93
BuildRequires:      pkgconfig(gtk+-3.0)
9829f93
BuildRequires:      pkgconfig(webkit2gtk-4.0)
9829f93
BuildRequires:      pkgconfig(gobject-introspection-1.0)
6f27946
BuildRequires:      pkgconfig(libpulse)
Joël Krähemann 7627210
BuildRequires:      CUnit-devel
Joël Krähemann 7627210
BuildRequires:      desktop-file-utils
Joël Krähemann 7627210
BuildRequires:      xorg-x11-server-Xvfb
Joël Krähemann 7627210
Requires:           xml-common
Joël Krähemann 7627210
Joël Krähemann 7627210
%description
Joël Krähemann 7627210
Advanced Gtk+ Sequencer audio processing engine is an audio
Joël Krähemann 7627210
sequencer application supporting LADPSA, DSSI and Lv2 plugin
6f27946
format. It can output to Pulseaudio server, JACK audio connection
6f27946
kit, ALSA and OSS4.
Joël Krähemann 7627210
Joël Krähemann 7627210
You may add multiple sinks, mix different sources by producing
Joël Krähemann 7627210
sound with different sequencers. Further it features a pattern
Joël Krähemann 7627210
and piano roll. Additional there is a automation editor to
Joël Krähemann 7627210
automate ports.
Joël Krähemann 7627210
Joël Krähemann 7627210
%prep
Joël Krähemann 7627210
%autosetup -N
Joël Krähemann 7627210
Joël Krähemann 7627210
%build
a255a06
%undefine _strict_symbol_defs_build
Joël Krähemann 7627210
autoreconf -fi
9829f93
export CPPFLAGS='-DAGS_CSS_FILENAME=\"/usr/share/gsequencer/styles/ags.css\" -DAGS_ANIMATION_FILENAME=\"/usr/share/gsequencer/images/gsequencer-800x450.png\" -DAGS_LOGO_FILENAME=\"/usr/share/gsequencer/images/ags.png\" -DAGS_LICENSE_FILENAME=\"/usr/share/licenses/gsequencer/COPYING\" -DAGS_ONLINE_HELP_START_FILENAME=\"file:///usr/share/doc/gsequencer/html/index.html\"'
f3f3801
%configure HTMLHELP_XSL="/usr/share/sgml/docbook/xsl-stylesheets/htmlhelp/htmlhelp.xsl" --disable-upstream-gtk-doc --enable-introspection --disable-oss --enable-gtk-doc --enable-gtk-doc-html
Joël Krähemann 7627210
%make_build
ed37ca2
%make_build html
9829f93
%make_build fix-local-html
Joël Krähemann 7627210
Joël Krähemann 7627210
%install
Joël Krähemann 7627210
%make_install
9829f93
%make_install install-compress-changelog
9829f93
%make_install install-html-mkdir
9829f93
%make_install install-html-mkdir-links
Joël Krähemann 7627210
%make_install install-html
Joël Krähemann 7627210
chrpath --delete %{buildroot}%{_bindir}/gsequencer
Joël Krähemann 7627210
chrpath --delete %{buildroot}%{_bindir}/midi2xml
Joël Krähemann 7627210
chrpath --delete %{buildroot}%{_libdir}/libags.so*
Joël Krähemann 7627210
chrpath --delete %{buildroot}%{_libdir}/libags_server.so*
Joël Krähemann 7627210
chrpath --delete %{buildroot}%{_libdir}/libags_thread.so*
Joël Krähemann 7627210
chrpath --delete %{buildroot}%{_libdir}/libags_gui.so*
Joël Krähemann 7627210
chrpath --delete %{buildroot}%{_libdir}/libags_audio.so*
Joël Krähemann 7627210
chrpath --delete %{buildroot}%{_libdir}/libgsequencer.so*
Joël Krähemann 7627210
find %{buildroot} -name '*.la' -exec rm -f {} ';'
Joël Krähemann 7627210
rm -rf %{buildroot}%{_datadir}/doc-base/
Joël Krähemann 7627210
Joël Krähemann 7627210
%check
b2b9456
xvfb-run --server-args="-screen 0 1920x1080x24" -a make check
Joël Krähemann 7627210
desktop-file-validate %{buildroot}/%{_datadir}/applications/gsequencer.desktop
Joël Krähemann 7627210
ccb5c34
%post -p /sbin/ldconfig
ccb5c34
%postun -p /sbin/ldconfig
Joël Krähemann 7627210
Joël Krähemann 7627210
%files
Joël Krähemann 7627210
%license COPYING
Joël Krähemann 7627210
%{_libdir}/libags.so.*
Joël Krähemann 7627210
%{_libdir}/libags_thread.so.*
Joël Krähemann 7627210
%{_libdir}/libags_server.so.*
Joël Krähemann 7627210
%{_libdir}/libags_gui.so.*
Joël Krähemann 7627210
%{_libdir}/libags_audio.so.*
Joël Krähemann 7627210
%{_libdir}/libgsequencer.so.*
9829f93
%{_libdir}/girepository-1.0
Joël Krähemann 7627210
%{_bindir}/gsequencer
Joël Krähemann 7627210
%{_bindir}/midi2xml
Joël Krähemann 7627210
%{_mandir}/man1/gsequencer.1*
Joël Krähemann 7627210
%{_mandir}/man1/midi2xml.1*
Joël Krähemann 7627210
%{_datadir}/gsequencer/
Joël Krähemann 7627210
%{_datadir}/xml/gsequencer/
3316532
%{_datadir}/icons/hicolor/*/apps/gsequencer.png
3316532
%{_datadir}/metainfo/
3316532
%{_datadir}/mime/packages/
Joël Krähemann 7627210
%{_docdir}/gsequencer/
Joël Krähemann 7627210
%{_datadir}/applications/gsequencer.desktop
Joël Krähemann 7627210
Joël Krähemann 7627210
%package devel
Joël Krähemann 7627210
Summary:  Advanced Gtk+ Sequencer library development files
Joël Krähemann 7627210
Requires: %{name}%{_isa} = %{version}-%{release}
Joël Krähemann 7627210
%description devel
Joël Krähemann 7627210
Advanced Gtk+ Sequencer library development files.
Joël Krähemann 7627210
Joël Krähemann 7627210
%files devel
Joël Krähemann 7627210
%{_includedir}/ags/
Joël Krähemann 7627210
%{_libdir}/libags.so
Joël Krähemann 7627210
%{_libdir}/libags_thread.so
Joël Krähemann 7627210
%{_libdir}/libags_server.so
Joël Krähemann 7627210
%{_libdir}/libags_gui.so
Joël Krähemann 7627210
%{_libdir}/libags_audio.so
Joël Krähemann 7627210
%{_libdir}/libgsequencer.so
9829f93
%{_datadir}/gir-1.0
Joël Krähemann 7627210
%{_libdir}/pkgconfig/libags.pc
Joël Krähemann 7627210
%{_libdir}/pkgconfig/libags_audio.pc
Joël Krähemann 7627210
%{_libdir}/pkgconfig/libags_gui.pc
Joël Krähemann 7627210
%{_libdir}/pkgconfig/libgsequencer.pc
Joël Krähemann 7627210
Joël Krähemann 7627210
%package -n gsequencer-devel-doc
Joël Krähemann 7627210
Summary:  Advanced Gtk+ Sequencer library development documentation
Joël Krähemann 7627210
BuildArch: noarch
Joël Krähemann 7627210
%description -n gsequencer-devel-doc
Joël Krähemann 7627210
Advanced Gtk+ Sequencer library development documentation.
Joël Krähemann 7627210
Joël Krähemann 7627210
%files -n gsequencer-devel-doc
Joël Krähemann 7627210
%{_datadir}/gtk-doc/
Joël Krähemann 7627210
%{_datadir}/doc/libags-audio-doc/
Joël Krähemann 7627210
Joël Krähemann 7627210
%changelog
f3f3801
* Wed Feb 05 2020 Joël Krähemann <jkraehemann@gmail.com> 3.1.1-0
f3f3801
- updated Source to point to new minor version directory
f3f3801
- using configure flag --disable-upstream-gtk-doc
f3f3801
9829f93
* Fri Jan 17 2020 Joël Krähemann <jkraehemann@gmail.com> 3.0.4-0
9829f93
- dropped gsequencer.0-makefile-am.patch
9829f93
- updated build requires gtk2 to gtk3
9829f93
- additional build requires webkit2gtk3, libsoup and
9829f93
  gobject-introspection-devel
9829f93
- edited configure variables
9829f93
- edited make install target
9829f93
639c98f
* Thu Nov 28 2019 Joël Krähemann <jkraehemann@gmail.com> 2.4.1-0
639c98f
- updated Source to point to new minor version directory
639c98f
- added configure flags to deal with gnulib
639c98f
d999995
* Tue Sep 10 2019 Joël Krähemann <jkraehemann@gmail.com> 2.3.1-0
d999995
- updated Source to point to new minor version directory
d999995
ddcd3af
* Wed Jun 26 2019 Joël Krähemann <jkraehemann@gmail.com> 2.2.5-0
ddcd3af
- updated Source to point to new minor version directory
ddcd3af
3316532
* Mon Jan 07 2019 Joël Krähemann <jkraehemann@gmail.com> 2.1.32-0
3316532
- updated install to package hicolor icon theme images
3316532
- updated install to provide mime type information
3316532
- updated install to provide gsequencer.appdata.xml
3316532
bb4ce0b
* Sat Dec 01 2018 Joël Krähemann <jkraehemann@gmail.com> 2.1.3-0
bb4ce0b
- updated Source to point to new minor version directory
bb4ce0b
- removed build dependency ladspa-cmt-plugins and lv2-swh-plugins
bb4ce0b
22ea91b
* Sun Nov 04 2018 Joël Krähemann <jkraehemann@gmail.com> 2.37.1-0
22ea91b
- removed patch because functional tests are disabled by default
22ea91b
abcb1b2
* Sun Sep 09 2018 Joël Krähemann <jkraehemann@gmail.com> 2.0.1-1
abcb1b2
- provide patch to disable functional tests
abcb1b2
abcb1b2
* Sun Sep 09 2018 Joël Krähemann <jkraehemann@gmail.com> 2.0.1-0
feb7fbe
- updated Source to point to new major version directory
feb7fbe
6d952a4
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.18-2
6d952a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6d952a4
a255a06
* Mon Jan 22 2018 Joël Krähemann <jkraehemann@gmail.com> 1.4.14-1
a255a06
- updated Source to point to new minor version directory
a255a06
- disabled strict symbol defs of linker
a255a06
5d5a9ef
* Fri Jan 05 2018 Joël Krähemann <jkraehemann@gmail.com> 1.3.1-1
5d5a9ef
- updated Source to point to new minor version directory
5d5a9ef
da9df89
* Fri Dec 22 2017 Joël Krähemann <jkraehemann@gmail.com> 1.2.4-1
da9df89
- updated Source to point to new minor version directory
da9df89
- removed libgmp-devel requires since not used anymore
da9df89
cfbc0d8
* Sun Oct 15 2017 Joël Krähemann <jkraehemann@gmail.com> 1.1.4-1
cfbc0d8
- updated Source to point to new minor version directory
cfbc0d8
f1cde9a
* Sun Oct 08 2017 Joël Krähemann <jkraehemann@gmail.com> 1.0.4-1
f1cde9a
- updated gsequencer.0-makefile-am.patch to fix globbing issue
f1cde9a
95ca9e2
* Sun Oct 08 2017 Joël Krähemann <jkraehemann@gmail.com> 1.0.3-1
95ca9e2
- did some formating to the spec file, removed empty newline
95ca9e2
- merged all Makefile.am related patches to one single patch
95ca9e2
303c033
* Mon Oct 02 2017 Joël Krähemann <jkraehemann@gmail.com> 1.0.0-1
303c033
- provide patch to fix libgsequencer API reference manual
303c033
bbb3529
* Sat Sep 16 2017 Joël Krähemann <jkraehemann@gmail.com> 0.9.25-1
bbb3529
- remove patch to fix logo and license since it can be passed as macro
bbb3529
- provide patch to apply different gtk-doc paths
bbb3529
- modified documentation paths
bbb3529
6f27946
* Tue Aug 22 2017 Joël Krähemann <jkraehemann@gmail.com> 0.9.14-1
6f27946
- added libpulse dependency
6f27946
- modified description to tell about pulseaudio support
6f27946
599d27d
* Sun Aug 06 2017 Joël Krähemann <jkraehemann@gmail.com> 0.9.5-1
599d27d
- new upstream
599d27d
ac65eed
* Fri Aug 04 2017 Joël Krähemann <jkraehemann@gmail.com> 0.9.4-1
ac65eed
- new upstream
ac65eed
fb53533
* Wed Aug 02 2017 Joël Krähemann <jkraehemann@gmail.com> 0.9.3-1
fb53533
- modified version because bug fixes available
fb53533
- modified SOURCE0 because new minor version available
fb53533
d55043c
* Mon Jun 26 2017 Joël Krähemann <jkraehemann@gmail.com> 0.8.7-1
d55043c
- modified version because new features available
d55043c
ed37ca2
* Wed Jun 14 2017 Joël Krähemann <jkraehemann@gmail.com> 0.8.4-1
ed37ca2
- removed some patches since applied upstream
ed37ca2
- added gettext-devel dependency
ed37ca2
- removed make target merged by upstream
ed37ca2
8be2229
* Mon May 22 2017 Joël Krähemann <jkraehemann@gmail.com> 0.8.0-2
8be2229
- provide 2 more patches to fix unitialized pointer and unit test
8be2229
8be2229
* Fri Apr 28 2017 Joël Krähemann <jkraehemann@gmail.com> 0.8.0-1
4f6cfc9
- removed patch to fix missing type because upstream includes changes
4f6cfc9
d6db728
* Wed Apr 19 2017 Joël Krähemann <jkraehemann@gmail.com> 0.7.135-1
d6db728
- provide patch to fix missing license and logo within about dialog
d6db728
- provide patch to fix missing type for ags-play-dssi
d6db728
02175e1
* Wed Apr 12 2017 Joël Krähemann <jkraehemann@gmail.com> 0.7.122.21-0
02175e1
- removed patch to fix reference manual because upstream includes changes
02175e1
b2b9456
* Mon Apr 10 2017 Joël Krähemann <jkraehemann@gmail.com> 0.7.122.20-0
b2b9456
- removed 3 patches since new upstream package contains the changes
b2b9456
- modified screen size for functional tests of xvfb-run to be 1920x1080x24
b2b9456
- added ladspa cmt and lv2 swh plugins as build requires for functional tests
b2b9456
- added patch 2 to fix upstream bug of reference manual
beb3ca3
1cd4937
* Mon Mar 20 2017 Joël Krähemann <jkraehemann@gmail.com> 0.7.122.7-1
1cd4937
- provide patch to fix possible SIGSEGV as no soundcard configured
1cd4937
Joël Krähemann 7627210
* Wed Mar 15 2017 Joël Krähemann <jkraehemann@gmail.com> 0.7.122.7-0
Joël Krähemann 7627210
- removed 3 patches that was applied upstream
Joël Krähemann 7627210
- modified libgsequencer blue-print patch because upstream changed
Joël Krähemann 7627210
- do make check with xvfb-run
Joël Krähemann 7627210
Joël Krähemann 7627210
* Wed Mar 08 2017 Joël Krähemann <jkraehemann@gmail.com> 0.7.122.6-3
Joël Krähemann 7627210
- make docs noarch
Joël Krähemann 7627210
Joël Krähemann 7627210
* Tue Mar 07 2017 Joël Krähemann <jkraehemann@gmail.com> 0.7.122.6-2
Joël Krähemann 7627210
- provide libgsequencer blue-print patch to install to default linker path
Joël Krähemann 7627210
- provide libgsequencer gtk-doc patch to generate application API reference
Joël Krähemann 7627210
- provide libgsequencer.xml patch to fix non-existing XML files
Joël Krähemann 7627210
- provide libgsequencer.pc patch to make it available
Joël Krähemann 7627210
Joël Krähemann 7627210
* Thu Mar 02 2017 Joël Krähemann <jkraehemann@gmail.com> 0.7.122.6-1
Joël Krähemann 7627210
- modified manpage expression
Joël Krähemann 7627210
- modified binary expression
Joël Krähemann 7627210
- removed CFLAGS and BINDIR flags of make_build
Joël Krähemann 7627210
Joël Krähemann 7627210
* Sat Dec 31 2016 Joël Krähemann <jkraehemann@gmail.com> 0.7.122-0
Joël Krähemann 7627210
- RPM release
Joël Krähemann 7627210
Joël Krähemann 7627210
* Tue Dec 27 2016 Joël Krähemann <jkraehemann@gmail.com> 0.7.121-0
Joël Krähemann 7627210
- fixed license field
Joël Krähemann 7627210
Joël Krähemann 7627210
* Mon Dec 26 2016 Joël Krähemann <jkraehemann@gmail.com> 0.7.120-0
Joël Krähemann 7627210
- added xml-common requires
Joël Krähemann 7627210
- gsequencer-devel-doc owns /usr/share/gtk-doc/
Joël Krähemann 7627210
- pass compiler optimization flags
Joël Krähemann 7627210
- added missing make install-html
Joël Krähemann 7627210
- added build requires of docbook-xsl
Joël Krähemann 7627210
- added patch to fix docbook path
Joël Krähemann 7627210
Joël Krähemann 7627210
* Thu Dec 22 2016 Joël Krähemann <jkraehemann@gmail.com> 0.7.119-0
Joël Krähemann 7627210
- removed debian specific directory /usr/share/doc-base
Joël Krähemann 7627210
Joël Krähemann 7627210
* Tue Dec 13 2016 Joël Krähemann <jkraehemann@gmail.com> 0.7.115-0
Joël Krähemann 7627210
- Initial RPM release
Joël Krähemann 7627210
- unified usage of buildroot within gsequencer.spec
Joël Krähemann 7627210
- run make check during check