Accepting request 256940 from multimedia:libs

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/256940
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orc?expand=0&rev=28
This commit is contained in:
Stephan Kulow 2014-10-19 17:27:26 +00:00 committed by Git OBS Bridge
commit 4bfbff935d
2 changed files with 33 additions and 1 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Oct 9 13:53:25 UTC 2014 - dimstar@opensuse.org
- Fix version dependency for gtk-doc (min 1.12).
- Disable building of gtk-doc for SLE11, where this version of
gtk-doc is not available (by means of bcond_with/without).
The pre-built documentation, as shipped in the tarball will be
installed in this case.
-------------------------------------------------------------------
Thu Oct 9 13:41:02 UTC 2014 - dimstar@opensuse.org
- Add xz BuildRequires for openSUSE < 11.3 (and thus also SLE11).
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 23 20:58:44 UTC 2014 - zaitor@opensuse.org Tue Sep 23 20:58:44 UTC 2014 - zaitor@opensuse.org

View File

@ -17,6 +17,12 @@
# #
%if 0%{?suse_version} < 1200
%bcond_with gtkdoc
%else
%bcond_without gtkdoc
%endif
Name: orc Name: orc
Version: 0.4.22 Version: 0.4.22
Release: 0 Release: 0
@ -26,8 +32,14 @@ Group: Productivity/Multimedia/Other
Url: http://cgit.freedesktop.org/gstreamer/orc Url: http://cgit.freedesktop.org/gstreamer/orc
Source: http://gstreamer.freedesktop.org/src/orc/%{name}-%{version}.tar.xz Source: http://gstreamer.freedesktop.org/src/orc/%{name}-%{version}.tar.xz
Source99: baselibs.conf Source99: baselibs.conf
BuildRequires: gtk-doc %if %{with gtkdoc}
BuildRequires: gtk-doc >= 1.12
%endif
BuildRequires: pkg-config BuildRequires: pkg-config
%if 0%{?suse_version} <= 1130
#openSUSE until 11.3 and also SLE11 do not bring in xz on their own.
BuildRequires: xz
%endif
Provides: %{name}-devel = %{version} Provides: %{name}-devel = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -66,7 +78,11 @@ arithmetic operations.
%build %build
%configure \ %configure \
--disable-static \ --disable-static \
%if %{with gtkdoc}
--enable-gtk-doc --enable-gtk-doc
%else
--disable-gtk-doc
%endif
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -99,6 +115,8 @@ make check %{?_smp_mflags}
%files doc %files doc
%defattr(-,root,root) %defattr(-,root,root)
%dir /usr/share/gtk-doc
%dir /usr/share/gtk-doc/html
%{_datadir}/gtk-doc/html/orc/ %{_datadir}/gtk-doc/html/orc/
%files -n liborc-0_4-0 %files -n liborc-0_4-0