Accepting request 49916 from home:plater
OBS-URL: https://build.opensuse.org/request/show/49916 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libdc1394?expand=0&rev=6
This commit is contained in:
parent
029a8a5cd0
commit
17d8023599
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 4 16:17:07 UTC 2010 - davejplater@gmail.com
|
||||
|
||||
- Version 1.2.2 no longer builds with libraw1394-2.0.5 so sub packages
|
||||
libdc1394_control12 and libdc1394_control12-devel are no longer
|
||||
provided. See entry for Tue Aug 15 14:10:33 CEST 2006.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 27 19:06:15 MSK 2009 - matwey.kornilov@gmail.com
|
||||
|
||||
|
@ -18,6 +18,10 @@
|
||||
# norootforbuild
|
||||
|
||||
|
||||
# 1.2.2 doesn't build with updated libraw1394 use the following macro to enable it.
|
||||
# if Build_12 is equal to 0 don't build version 1.2.2
|
||||
%define Build_12 0
|
||||
|
||||
Name: libdc1394
|
||||
%define libdc1394_12_version 1.2.2
|
||||
%define libdc1394_version 2.1.2
|
||||
@ -60,6 +64,8 @@ Authors:
|
||||
David Moore <david@startbox.com>
|
||||
John Stanley <stanley@peak.org>
|
||||
|
||||
|
||||
%if %{Build_12} >= 1
|
||||
%package -n libdc1394_control12
|
||||
License: LGPLv2.1+
|
||||
Summary: 1394-Based Digital Camera Control Library
|
||||
@ -114,6 +120,7 @@ Authors:
|
||||
Dan Dennedy <dan@dennedy.org>
|
||||
David Moore <david@startbox.com>
|
||||
John Stanley <stanley@peak.org>
|
||||
%endif
|
||||
|
||||
%package 22
|
||||
License: LGPLv2.1+
|
||||
@ -180,7 +187,9 @@ doit() {
|
||||
popd
|
||||
fi
|
||||
}
|
||||
%if %{Build_12} >= 1
|
||||
doit libdc1394-%{libdc1394_12_version}
|
||||
%endif
|
||||
doit libdc1394-%{libdc1394_version}
|
||||
|
||||
%install
|
||||
@ -190,16 +199,20 @@ doit() {
|
||||
popd
|
||||
fi
|
||||
}
|
||||
%if %{Build_12} >= 1
|
||||
doit libdc1394-%{libdc1394_12_version}
|
||||
%endif
|
||||
doit libdc1394-%{libdc1394_version}
|
||||
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/grab_*_image.1*
|
||||
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%if %{Build_12} >= 1
|
||||
%post -n libdc1394_control12 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libdc1394_control12 -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
%post 22 -p /sbin/ldconfig
|
||||
|
||||
@ -213,8 +226,9 @@ rm -f %{buildroot}%{_mandir}/man1/grab_*_image.1*
|
||||
|
||||
%files 22
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libdc1394.so.*
|
||||
%_libdir/libdc1394.so.22*
|
||||
|
||||
%if %{Build_12} >= 1
|
||||
%files -n libdc1394_control12
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libdc1394_control.so.*
|
||||
@ -223,6 +237,7 @@ rm -f %{buildroot}%{_mandir}/man1/grab_*_image.1*
|
||||
%defattr(-,root,root)
|
||||
%_includedir/libdc1394
|
||||
%_libdir/libdc1394_control*.so
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user