Группа :: Графика
Пакет: autopano-sift
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: autopano-sift
Version: 2.4
Release: alt5
Group: Graphics
Summary: autopano - automatic creation of control points for panoramas
License: GPL
Url: http://user.cs.tu-berlin.de/~nowozin/autopano-sift/
Source0: http://user.cs.tu-berlin.de/~nowozin/autopano-sift/autopano-sift-%version.tar.gz
Patch0: autopano-sift-Makefile.patch
Packager: Sergei Epiphanov <serpiph at altlinux.ru>
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)
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
%description
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.
%prep
%setup -q
%patch0 -p1
%build
%make -C src
pushd bin
%install
/bin/install -D -m0755 src/libsift.dll %buildroot%_libdir/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/autopano-complete.sh %buildroot%_bindir/autopano-complete.sh
/bin/install -D -m0755 src/util/monoopt.sh %buildroot%_bindir/monoopt.sh
/bin/mkdir -p %buildroot%_man1dir
/bin/mkdir -p %buildroot%_man7dir
pushd doc
for i in *.1; do
bzip2 $i
done
for i in *.7; do
bzip2 $i
done
%__install -p -m644 -D *.1.bz2 %buildroot%_man1dir
%__install -p -m644 -D *.7.bz2 %buildroot%_man7dir
popd
cat >%buildroot%_bindir/autopano <<EOF_AUTOPANO
#!/bin/sh
mono /usr/bin/autopano.exe \$ at
EOF_AUTOPANO
chmod 755 %buildroot%_bindir/autopano
cat >%buildroot%_bindir/autopanog <<EOF_AUTOPANOG
#!/bin/sh
mono /usr/bin/autopanog.exe \$ at
EOF_AUTOPANOG
chmod 755 %buildroot%_bindir/autopanog
%files
%doc README doc/*.pdf doc/*.txt
%_bindir/*
%_libdir/*
%_man1dir/*
%_man7dir/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.4
Release: alt5
Group: Graphics
Summary: autopano - automatic creation of control points for panoramas
License: GPL
Url: http://user.cs.tu-berlin.de/~nowozin/autopano-sift/
Source0: http://user.cs.tu-berlin.de/~nowozin/autopano-sift/autopano-sift-%version.tar.gz
Patch0: autopano-sift-Makefile.patch
Packager: Sergei Epiphanov <serpiph at altlinux.ru>
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)
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
%description
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.
%prep
%setup -q
%patch0 -p1
%build
%make -C src
pushd bin
%install
/bin/install -D -m0755 src/libsift.dll %buildroot%_libdir/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/autopano-complete.sh %buildroot%_bindir/autopano-complete.sh
/bin/install -D -m0755 src/util/monoopt.sh %buildroot%_bindir/monoopt.sh
/bin/mkdir -p %buildroot%_man1dir
/bin/mkdir -p %buildroot%_man7dir
pushd doc
for i in *.1; do
bzip2 $i
done
for i in *.7; do
bzip2 $i
done
%__install -p -m644 -D *.1.bz2 %buildroot%_man1dir
%__install -p -m644 -D *.7.bz2 %buildroot%_man7dir
popd
cat >%buildroot%_bindir/autopano <<EOF_AUTOPANO
#!/bin/sh
mono /usr/bin/autopano.exe \$ at
EOF_AUTOPANO
chmod 755 %buildroot%_bindir/autopano
cat >%buildroot%_bindir/autopanog <<EOF_AUTOPANOG
#!/bin/sh
mono /usr/bin/autopanog.exe \$ at
EOF_AUTOPANOG
chmod 755 %buildroot%_bindir/autopanog
%files
%doc README doc/*.pdf doc/*.txt
%_bindir/*
%_libdir/*
%_man1dir/*
%_man7dir/*
%changelog
…
Полный changelog можно просмотреть здесь