]> git.pld-linux.org Git - packages/FaRetSys.git/commitdiff
- new
authorwolf <wolf@pld-linux.org>
Sun, 21 Oct 2007 22:22:00 +0000 (22:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    FaRetSys.spec -> 1.1

FaRetSys.spec [new file with mode: 0644]

diff --git a/FaRetSys.spec b/FaRetSys.spec
new file mode 100644 (file)
index 0000000..98f4d86
--- /dev/null
@@ -0,0 +1,57 @@
+#
+# TODO:
+#  locale, icon, desktop file
+#
+%include       /usr/lib/rpm/macros.mono
+Summary:       Extensible image recognition systems modelling program
+Summary(pl.UTF-8):     Rozszerzalny program modelujący systemy rozpoznawania obrazów
+Name:          FaRetSys
+Version:       0.4.2
+Release:       1
+License:       GPL v2
+Group:         X11/Applications
+Source0:       http://team.pld-linux.org/~wolf/eithne/res/eithne-%{version}.tar.bz2
+# Source0-md5: 7f06fbf045a51ff06294bdb793d41b59
+URL:           http://team.pld-linux.org/~wolf/eithne/
+BuildRequires: dotnet-gtk-sharp2-devel >= 2.10.2
+BuildRequires: gettext-devel
+BuildRequires: mono-csharp >= 1.2.5
+Requires:      gtk+2 >= 2.12.1
+Suggests:      fftw3
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Extensible image recognition systems modelling program.
+
+%description -l pl.UTF-8
+Rozszerzalny program modelujący systemy rozpoznawania obrazów.
+
+%prep
+%setup -q -n eithne-%{version}
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir},%{_libdir}/eithne/Plugins}
+
+install eithne.exe             $RPM_BUILD_ROOT%{_libdir}/eithne
+install *.dll                  $RPM_BUILD_ROOT%{_libdir}/eithne
+install *.dll.config           $RPM_BUILD_ROOT%{_libdir}/eithne
+install Plugins/*.dll          $RPM_BUILD_ROOT%{_libdir}/eithne/Plugins
+install Plugins/*.dll.config   $RPM_BUILD_ROOT%{_libdir}/eithne/Plugins
+
+cat > $RPM_BUILD_ROOT%{_bindir}/FaRetSys << EOF
+#!/bin/sh
+exec /usr/bin/mono %{_libdir}/eithne/eithne.exe "\$@"
+EOF
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS
+%attr(755,root,root) %{_bindir}/*
+%{_libdir}/eithne
This page took 0.077297 seconds and 4 git commands to generate.