]> git.pld-linux.org Git - packages/autopano-sift.git/blob - autopano-sift.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/autopano-sift.git] / autopano-sift.spec
1 # NOTE: libsift is also available separately at
2 # http://user.cs.tu-berlin.de/~nowozin/libsift/
3 # it should be separate package when other packages use it
4 Summary:        SIFT Feature Detection implementation
5 Summary(pl.UTF-8):      Implementacja algorytmu SIFT do wykrywania cech obrazu
6 Name:           autopano-sift
7 Version:        2.4
8 Release:        4
9 License:        GPL, but SIFT algorithm may require license in some countries
10 Group:          X11/Applications/Graphics
11 Source0:        http://user.cs.tu-berlin.de/~nowozin/autopano-sift/%{name}-%{version}.tar.gz
12 # Source0-md5:  e497074d0cb5586cdc66506d782ccbd7
13 URL:            http://user.cs.tu-berlin.de/~nowozin/autopano-sift/
14 # uses {glib,atk,gdk,gtk,glade}-sharp
15 BuildRequires:  dotnet-gtk-sharp-devel >= 1.0
16 BuildRequires:  mono-csharp >= 1.0
17 BuildRequires:  rpmbuild(monoautodeps)
18 Requires:       dotnet-gtk-sharp >= 1.0
19 Requires:       libgdiplus >= 1.0
20 ExcludeArch:    i386
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 The SIFT algorithm provides the capability to identify key feature
25 points within arbitrary images. It further extracts highly distinct
26 information for each such point and allows to characterize the point
27 invariant to a number of modifications to the image. It is invariant
28 to contrast/brightness changes, to rotation, scaling and partially
29 invariant to other kinds of transformations. The algorithm can be
30 flexibly used to create input data for image matching, object
31 identification and other computer vision related algorithms.
32
33 This package provides an implementation of the SIFT algorithm and a
34 set of utilities to utilize the algorithm to match two or more images.
35 As output, a number of control points are created, which specify one
36 and the same image location in two images. The output is created as
37 project file for the hugin panorama stitching software, which is
38 available in hugin package.
39
40 %description -l pl.UTF-8
41 Algorytm SIFT daje możliwość określenia kluczowych punktów
42 charakterystycznych na dowolnych zdjęciach. Następnie wydobywa
43 informacje wyodrębniające dla każdego takiego punktu i pozwala
44 scharakteryzować ten punkt niezależnie od liczby modyfikacji obrazu.
45 Jest niezależny od zmian kontrastu/jasności, obrotów, skalowania i
46 częściowo niezależny od innych rodzajów przekształceń. Algorytm może
47 być elastycznie używany do tworzenia danych wejściowych do
48 dopasowywania obrazów, identyfikowania obiektów i innych algorytmów
49 związanych z grafiką komputerową.
50
51 Ten pakiet dostarcza implementację algorytmu SIFT i zestaw narzędzi
52 wykorzystujących ten algorytm do dopasowywania dwóch lub większej
53 liczby zdjęć. Na wyjściu tworzony jest zbiór punktów kontrolnych
54 określających to samo miejsce na dwóch zdjęciach. Wyjście jest
55 tworzone w formacie pliku projektu dla programu do sklejania panoram
56 hugin, dostępnego w pakiecie o tej samej nazwie.
57
58 %prep
59 %setup -q 
60
61 %build
62 %{__make} -C src -j1
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_mandir}/man{1,7}}
67
68 install src/libsift.dll $RPM_BUILD_ROOT%{_libdir}
69 install src/bin/autopano-complete.sh $RPM_BUILD_ROOT%{_bindir}
70 install src/util/{autopano,generatekeys,generatekeys-sd,showone,showtwo}.exe \
71         $RPM_BUILD_ROOT%{_bindir}
72 install src/util/monoopt.sh $RPM_BUILD_ROOT%{_bindir}
73 install src/util/autopanog/autopanog.exe $RPM_BUILD_ROOT%{_bindir}
74 install src/util/man/{autopano-complete,autopano,autopanog,generatekeys,showone,showtwo}.1 \
75         $RPM_BUILD_ROOT%{_mandir}/man1
76 install src/util/man/autopano-sift.7 $RPM_BUILD_ROOT%{_mandir}/man7
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files
82 %defattr(644,root,root,755)
83 %doc CHANGES README
84 %attr(755,root,root) %{_bindir}/*.sh
85 # blegh, cannot be run directly (caught by WINE in PLD)
86 %attr(755,root,root) %{_bindir}/*.exe
87 %{_libdir}/libsift.dll
88 %{_mandir}/man1/*
89 %{_mandir}/man7/autopano-sift.7*
This page took 0.054272 seconds and 3 git commands to generate.