Author: qboosh Date: Wed Jul 30 20:47:00 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: autopano-sift-C.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/autopano-sift-C.spec diff -u /dev/null SPECS/autopano-sift-C.spec:1.1 --- /dev/null Wed Jul 30 22:47:00 2008 +++ SPECS/autopano-sift-C.spec Wed Jul 30 22:46:55 2008 @@ -0,0 +1,111 @@ +# $Revision$, $Date$ +Summary: SIFT Feature Detection implementation +Summary(pl.UTF-8): Implementacja algorytmu SIFT do wykrywania cech obrazu +Name: autopano-sift-C +Version: 2.5.0 +Release: 1 +License: GPL v2, but SIFT algorithm may require license in some countries +Group: Applications/Graphics +Source0: http://dl.sourceforge.net/hugin/%{name}-%{version}.tar.gz +# Source0-md5: d4e6bfab53fe227a36eec4c94c0bbfe6 +URL: http://wiki.panotools.org/Autopano-sift-C +BuildRequires: cmake +BuildRequires: libjpeg-devel +BuildRequires: libpano13-devel +BuildRequires: libpng-devel +BuildRequires: libtiff-devel +BuildRequires: libstdc++-devel +BuildRequires: libxml2-devel >= 2.0 +BuildRequires: pkgconfig +BuildRequires: sed >= 4.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The SIFT algorithm provides the capability to identify key feature +points within arbitrary images. It further extracts highly distinct +information for each such point and allows to characterize the point +invariant to a number of modifications to the image. It is invariant +to contrast/brightness changes, to rotation, scaling and partially +invariant to other kinds of transformations. The algorithm can be +flexibly used to create input data for image matching, object +identification and other computer vision related algorithms. + +autopano-sift-C is a C port of the C# software autopano-sift. It is +somewhat faster and doesn't require a C# runtime. Additionally, +autopano-sift-C has experimental modifications to perform feature +identification in conformal image space, this helps with wide angle or +fisheye Projection photographs. + +%description -l pl.UTF-8 +Algorytm SIFT daje możliwość określenia kluczowych punktów +charakterystycznych na dowolnych zdjęciach. Następnie wydobywa +informacje wyodrębniające dla każdego takiego punktu i pozwala +scharakteryzować ten punkt niezależnie od liczby modyfikacji obrazu. +Jest niezależny od zmian kontrastu/jasności, obrotów, skalowania i +częściowo niezależny od innych rodzajów przekształceń. Algorytm może +być elastycznie używany do tworzenia danych wejściowych do +dopasowywania obrazów, identyfikowania obiektów i innych algorytmów +związanych z grafiką komputerową. + +autopano-sift-C to port C programu autopano-sift napisanego w C#. +Jest nieco szybszy i nie wymaga środowiska uruchomieniowego C#. +Ponadto zawiera nieco eksperymentalnych modyfikacji w celu +przeprowadzania identyfikacji punktów w wiernokątnej przestrzeni +obrazu, co pomaga przy zdjęciach obiektywami szerokokątnymi lub +"rybim okiem". + +%prep +%setup -q + +# don't override our optflags with cmake-predefined values +sed -i 's/NOT CMAKE_BUILD_TYPE/GFY/' CMakeLists.txt + +%build +install -d build +cd build +# CMAKE_AR is a hack, cmake is unable to find it otherwise :/ +%cmake .. \ + -DCMAKE_AR=/usr/bin/ar \ + %{?debug:-DCMAKE_BUILD_TYPE=Debug} \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ +%if "%{_lib}" == "64" + -DLIB_PREFIX=64 +%endif + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} -C build install \ + DESTDIR=$RPM_BUILD_ROOT + +# resolve conflict with autopano-sift +mv $RPM_BUILD_ROOT%{_mandir}/man1/autopano{,-c}.1 +mv $RPM_BUILD_ROOT%{_mandir}/man1/generatekeys{,-c}.1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc ChangeLog README README.1ST +%attr(755,root,root) %{_bindir}/autopano +%attr(755,root,root) %{_bindir}/autopano-c-complete.sh +%attr(755,root,root) %{_bindir}/autopano-sift-c +%attr(755,root,root) %{_bindir}/generatekeys +%{_mandir}/man1/autopano-c.1* +%{_mandir}/man1/autopano-c-complete.1* +%{_mandir}/man1/generatekeys-c.1* +%{_mandir}/man7/autopano-sift-c.7* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2008/07/30 20:46:55 qboosh +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
