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