Package autopano-sift

Download autopano-sift.spec
Name: autopano-sift
Version: 2.4
Release: alt8

Group: Graphics
Summary: autopano - automatic creation of control points for panoramas
License: GPL
Patch0: autopano-sift-Makefile.patch
Packager: Sergei Epiphanov <>

BuildRequires: gcc-c++ libstdc++-devel pkgconfig
BuildRequires: mono >= 1.0.2 mono-mcs >= 1.0.2
BuildRequires: mono(atk-sharp) mono(gdk-sharp) mono(glade-sharp) mono(glib-sharp) mono(gtk-sharp)
BuildRequires: mono(System) mono(System.Drawing) mono(System.Windows.Forms) mono(System.Data)
BuildRequires: pkgconfig(gapi-2.0) pkgconfig(mono) pkgconfig(gtk-sharp-2.0) mono-devel
BuildRequires: /proc
Requires: mono >= 1.0.2 mono(System) mono(System.Drawing) mono(System.Windows.Forms) mono(System.Data)
Requires: mono(atk-sharp) mono(gdk-sharp) mono(glade-sharp) mono(glib-sharp) mono(gtk-sharp)
Requires: libgtk-sharp2-gapi
Conflicts: autopano-sift-C
ExclusiveArch: %ix86

Panorama images are wide-angle images that amaze people:
you often feel being inside the scene when watching a good
panorama image. Creating such images is easy and everybody
with a digital camera and a bit of patience can do it.
Autopano-SIFT is there to make the creation of panorama images more fun.

%setup -q
%patch0 -p1

%make -C src
pushd bin


/bin/install -D -m0755 src/libsift.dll %buildroot/usr/lib/libsift.dll
/bin/install -D -m0755 src/util/autopanog/autopanog.exe %buildroot%_bindir/autopanog.exe
/bin/install -D -m0755 src/util/autopano.exe %buildroot%_bindir/autopano.exe
/bin/install -D -m0755 src/util/showone.exe %buildroot%_bindir/showone.exe
/bin/install -D -m0755 src/util/showtwo.exe %buildroot%_bindir/showtwo.exe
/bin/install -D -m0755 src/util/generatekeys.exe %buildroot%_bindir/generatekeys.exe
/bin/install -D -m0755 src/util/generatekeys-sd.exe %buildroot%_bindir/generatekeys-sd.exe
/bin/install -D -m0755 src/bin/ %buildroot%_bindir/
/bin/install -D -m0755 src/util/ %buildroot%_bindir/

/bin/mkdir -p %buildroot%_man1dir
/bin/mkdir -p %buildroot%_man7dir
pushd doc
for i in *.1; do
bzip2 $i
for i in *.7; do
bzip2 $i
%__install -p -m644 -D *.1.bz2 %buildroot%_man1dir
%__install -p -m644 -D *.7.bz2 %buildroot%_man7dir

cat >%buildroot%_bindir/autopano <<EOF_AUTOPANO
mono /usr/bin/autopano.exe \$@
chmod 755 %buildroot%_bindir/autopano

cat >%buildroot%_bindir/autopanog <<EOF_AUTOPANOG
mono /usr/bin/autopanog.exe \$@
chmod 755 %buildroot%_bindir/autopanog

%doc README doc/*.pdf doc/*.txt

* Wed Feb 15 2012 Sergei Epiphanov <> 2.4-alt8
- Rebuild with mono

* Mon Mar 02 2009 Sergei Epiphanov <> 2.4-alt6.M50.1
- Build for Master5.0

* Wed Feb 25 2009 Sergei Epiphanov <> 2.4-alt7
- Set conflicts to autopano-sift-C

* Thu Jul 24 2008 Sergei Epiphanov <> 2.4-alt6
- Fix program dependencies

* Sun Feb 17 2008 Sergei Epiphanov <> 2.4-alt5
- Fix mono dependencies

* Wed Nov 28 2007 Sergei Epiphanov <> 2.4-alt4
- Fix mono dependencies

* Mon Feb 05 2007 Sergei Epiphanov <> 2.4-alt3
- Clean build (replace package names with module names)
- Fix build with gtk-sharp2
- Add scripts to start autopano and autopanog via mono

* Tue Nov 14 2006 Sergei Epiphanov <> 2.4-alt2
- Fix build with mono (add BuildRequires: mono-mcs)

* Tue Dec 27 2005 Sergei Epiphanov <> 2.4-alt1
- New version
- Add compilation from sources

* Mon Sep 05 2005 Sergei Epiphanov <> 2.3-alt3
- Fixing for ALT Linux

* Thu Aug 11 2005 Sergei Epiphanov <> 2.3-alt2
-corrections for build and install

* Tue Jul 26 2005 Sergei Epiphanov <> 2.3-alt1
-initial build
Back to Top