3 # locale, icon, desktop file
5 Summary: Extensible image recognition systems modelling program
6 Summary(pl.UTF-8): Rozszerzalny program modelujący systemy rozpoznawania obrazów
11 Group: X11/Applications
12 Source0: http://team.pld-linux.org/~wolf/eithne/res/eithne-%{version}.tar.bz2
13 # Source0-md5: 7f06fbf045a51ff06294bdb793d41b59
14 URL: http://team.pld-linux.org/~wolf/eithne/
15 BuildRequires: dotnet-gtk-sharp2-devel >= 2.10.2
16 BuildRequires: gettext-tools
17 BuildRequires: mono-csharp >= 1.2.5
18 Requires: gtk+2 >= 2:2.12.1
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Extensible image recognition systems modelling program.
25 %description -l pl.UTF-8
26 Rozszerzalny program modelujący systemy rozpoznawania obrazów.
29 %setup -q -n eithne-%{version}
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir},%{_libdir}/eithne/Plugins}
38 install eithne.exe $RPM_BUILD_ROOT%{_libdir}/eithne
39 install *.dll $RPM_BUILD_ROOT%{_libdir}/eithne
40 install *.dll.config $RPM_BUILD_ROOT%{_libdir}/eithne
41 install Plugins/*.dll $RPM_BUILD_ROOT%{_libdir}/eithne/Plugins
42 install Plugins/*.dll.config $RPM_BUILD_ROOT%{_libdir}/eithne/Plugins
44 cat > $RPM_BUILD_ROOT%{_bindir}/FaRetSys << EOF
46 exec /usr/bin/mono %{_libdir}/eithne/eithne.exe "\$@"
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %attr(755,root,root) %{_bindir}/*