Accepting request 344488 from multimedia:libs

1

OBS-URL: https://build.opensuse.org/request/show/344488
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdc1394?expand=0&rev=44
This commit is contained in:
Stephan Kulow 2015-11-24 21:32:23 +00:00 committed by Git OBS Bridge
commit a14bcae6c7
3 changed files with 25 additions and 10 deletions

View File

@ -1,2 +1 @@
libdc1394
libdc1394-22 libdc1394-22

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Nov 14 19:24:14 UTC 2015 - jengelh@inai.de
- Drop redundant --with-pic; it is only used for static libs (which
we do not build), and always on anyway for shared libraires.
- Name the utility package -tools as with many other pkgs.
- Remove non-library packages from baselibs.conf.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Mar 21 07:49:15 UTC 2015 - mpluskal@suse.com Sat Mar 21 07:49:15 UTC 2015 - mpluskal@suse.com

View File

@ -22,8 +22,8 @@ Release: 0
Summary: 1394-Based Digital Camera Control Library Summary: 1394-Based Digital Camera Control Library
License: LGPL-2.1+ License: LGPL-2.1+
Group: Hardware/Camera Group: Hardware/Camera
Url: http://sourceforge.net/projects/libdc1394/ Url: http://damien.douxchamps.net/ieee1394/libdc1394/
Source0: http://sourceforge.net/projects/libdc1394/files/libdc1394-2/%{version}/%{name}-%{version}.tar.gz Source0: http://downloads.sf.net/libdc1394/%{name}-%{version}.tar.gz
Source1: %{name}-rpmlintrc Source1: %{name}-rpmlintrc
Source2: baselibs.conf Source2: baselibs.conf
Patch0: libdc1394.no-x11.patch Patch0: libdc1394.no-x11.patch
@ -55,8 +55,8 @@ the low-level functionality provided by libraw1394 to communicate with
the camera. the camera.
%package 22 %package 22
Summary: 1394-Based Digital Camera Control Library Summary: 1394-based Digital Camera Control library
Group: Hardware/Camera Group: System/Libraries
%description 22 %description 22
This library provides functionality for controlling any camera that This library provides functionality for controlling any camera that
@ -68,7 +68,7 @@ communicate with the camera.
%package devel %package devel
Summary: Development libraries and header files for dc1394 Summary: Development libraries and header files for dc1394
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libdc1394 = %{version} Requires: %{name}-tools = %{version}
Requires: libdc1394-22 = %{version} Requires: libdc1394-22 = %{version}
Requires: libraw1394-devel Requires: libraw1394-devel
@ -76,6 +76,16 @@ Requires: libraw1394-devel
This package contains the header files and libraries for building This package contains the header files and libraries for building
programs using the dc1394 library. programs using the dc1394 library.
%package tools
Summary: Command-line utilities from libdc1394
Group: Hardware/Camera
# added on 2015-11-14
Obsoletes: %name < %version-%release
Provides: %name = %version-%release
%description tools
This subpackage contains a 1394 bus reset utility.
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
@ -87,15 +97,13 @@ programs using the dc1394 library.
%build %build
autoreconf --force --install autoreconf --force --install
export CFLAGS="%{optflags}"
%configure \ %configure \
--disable-static \ --disable-static \
--with-pic \
--disable-xv --disable-xv
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make DESTDIR=%{buildroot} install %{?_smp_mflags} %make_install %{?_smp_mflags}
rm -f %{buildroot}%{_bindir}/dc1394_vloopback %{buildroot}%{_mandir}/man1/dc1394_vloopback.1* rm -f %{buildroot}%{_bindir}/dc1394_vloopback %{buildroot}%{_mandir}/man1/dc1394_vloopback.1*
rm -f %{buildroot}%{_mandir}/man1/dc1394_multiview.1* rm -f %{buildroot}%{_mandir}/man1/dc1394_multiview.1*
rm -f %{buildroot}%{_mandir}/man1/grab_*_image.1* rm -f %{buildroot}%{_mandir}/man1/grab_*_image.1*
@ -105,7 +113,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%postun 22 -p /sbin/ldconfig %postun 22 -p /sbin/ldconfig
%files %files tools
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README %doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/dc1394_reset_bus %{_bindir}/dc1394_reset_bus