]>
Commit | Line | Data |
---|---|---|
202f4248 | 1 | # |
2 | # TODO: | |
3 | # locale, icon, desktop file | |
4 | # | |
202f4248 | 5 | Summary: Extensible image recognition systems modelling program |
6 | Summary(pl.UTF-8): Rozszerzalny program modelujący systemy rozpoznawania obrazów | |
7 | Name: FaRetSys | |
8 | Version: 0.4.2 | |
9 | Release: 1 | |
10 | License: GPL v2 | |
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 | |
d089b9e0 | 16 | BuildRequires: gettext-tools |
202f4248 | 17 | BuildRequires: mono-csharp >= 1.2.5 |
07fba330 | 18 | Requires: gtk+2 >= 2:2.12.1 |
202f4248 | 19 | Suggests: fftw3 |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | Extensible image recognition systems modelling program. | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | Rozszerzalny program modelujący systemy rozpoznawania obrazów. | |
27 | ||
28 | %prep | |
29 | %setup -q -n eithne-%{version} | |
30 | ||
31 | %build | |
32 | %{__make} | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir},%{_libdir}/eithne/Plugins} | |
37 | ||
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 | |
43 | ||
44 | cat > $RPM_BUILD_ROOT%{_bindir}/FaRetSys << EOF | |
45 | #!/bin/sh | |
46 | exec /usr/bin/mono %{_libdir}/eithne/eithne.exe "\$@" | |
47 | EOF | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc AUTHORS NEWS | |
55 | %attr(755,root,root) %{_bindir}/* | |
56 | %{_libdir}/eithne |