- Fix %{_datadir}/opencv/samples ownership.
- Adjust timestamp of cvconfig.h.in to avoid re-running autoheader.
This commit is contained in:
parent
da5d686ad1
commit
6a255cea1a
13
opencv.spec
13
opencv.spec
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: opencv
|
Name: opencv
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Collection of algorithms for computer vision
|
Summary: Collection of algorithms for computer vision
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -61,8 +61,8 @@ This package contains Python bindings for the OpenCV library.
|
|||||||
samples/python/*.py
|
samples/python/*.py
|
||||||
%{__sed} -i 's/^#!.*//' interfaces/swig/python/adaptors.py \
|
%{__sed} -i 's/^#!.*//' interfaces/swig/python/adaptors.py \
|
||||||
interfaces/swig/python/__init__.py
|
interfaces/swig/python/__init__.py
|
||||||
|
# Adjust timestamp on cvconfig.h.in
|
||||||
find -name Makefile.in | xargs touch
|
touch -r configure.in cvconfig.h.in
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --enable-python --enable-apps
|
%configure --disable-static --enable-python --enable-apps
|
||||||
@ -116,16 +116,21 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/lib*.a
|
%{_libdir}/lib*.a
|
||||||
%{_libdir}/pkgconfig/opencv.pc
|
%{_libdir}/pkgconfig/opencv.pc
|
||||||
%doc %{_datadir}/opencv/doc
|
%doc %{_datadir}/opencv/doc
|
||||||
|
%doc %dir %{_datadir}/opencv/samples
|
||||||
%doc %{_datadir}/opencv/samples/c
|
%doc %{_datadir}/opencv/samples/c
|
||||||
|
|
||||||
|
|
||||||
%files python
|
%files python
|
||||||
%{pyexecdir}/opencv
|
%{pyexecdir}/opencv
|
||||||
|
%doc %dir %{_datadir}/opencv/samples
|
||||||
%doc %{_datadir}/opencv/samples/python
|
%doc %{_datadir}/opencv/samples/python
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 22 2007 Ralf Corsépius <rc040203@freenet.de> - 1.0.0-3
|
||||||
|
- Fix %%{_datadir}/opencv/samples ownership.
|
||||||
|
- Adjust timestamp of cvconfig.h.in to avoid re-running autoheader.
|
||||||
|
|
||||||
* Thu Mar 22 2007 Ralf Corsépius <rc040203@freenet.de> - 1.0.0-2
|
* Thu Mar 22 2007 Ralf Corsépius <rc040203@freenet.de> - 1.0.0-2
|
||||||
- Move all of the python module to pyexecdir (BZ 233128).
|
- Move all of the python module to pyexecdir (BZ 233128).
|
||||||
- Activate the testsuite.
|
- Activate the testsuite.
|
||||||
|
Loading…
Reference in New Issue
Block a user