]>
Commit | Line | Data |
---|---|---|
202f4248 | 1 | # |
2 | # TODO: | |
3 | # locale, icon, desktop file | |
4 | # | |
5 | %include /usr/lib/rpm/macros.mono | |
6 | Summary: Extensible image recognition systems modelling program | |
7 | Summary(pl.UTF-8): Rozszerzalny program modelujący systemy rozpoznawania obrazów | |
8 | Name: FaRetSys | |
9 | Version: 0.4.2 | |
10 | Release: 1 | |
11 | License: GPL v2 | |
12 | Group: X11/Applications | |
13 | Source0: http://team.pld-linux.org/~wolf/eithne/res/eithne-%{version}.tar.bz2 | |
14 | # Source0-md5: 7f06fbf045a51ff06294bdb793d41b59 | |
15 | URL: http://team.pld-linux.org/~wolf/eithne/ | |
16 | BuildRequires: dotnet-gtk-sharp2-devel >= 2.10.2 | |
17 | BuildRequires: gettext-devel | |
18 | BuildRequires: mono-csharp >= 1.2.5 | |
19 | Requires: gtk+2 >= 2.12.1 | |
20 | Suggests: fftw3 | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | Extensible image recognition systems modelling program. | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | Rozszerzalny program modelujący systemy rozpoznawania obrazów. | |
28 | ||
29 | %prep | |
30 | %setup -q -n eithne-%{version} | |
31 | ||
32 | %build | |
33 | %{__make} | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir},%{_libdir}/eithne/Plugins} | |
38 | ||
39 | install eithne.exe $RPM_BUILD_ROOT%{_libdir}/eithne | |
40 | install *.dll $RPM_BUILD_ROOT%{_libdir}/eithne | |
41 | install *.dll.config $RPM_BUILD_ROOT%{_libdir}/eithne | |
42 | install Plugins/*.dll $RPM_BUILD_ROOT%{_libdir}/eithne/Plugins | |
43 | install Plugins/*.dll.config $RPM_BUILD_ROOT%{_libdir}/eithne/Plugins | |
44 | ||
45 | cat > $RPM_BUILD_ROOT%{_bindir}/FaRetSys << EOF | |
46 | #!/bin/sh | |
47 | exec /usr/bin/mono %{_libdir}/eithne/eithne.exe "\$@" | |
48 | EOF | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc AUTHORS NEWS | |
56 | %attr(755,root,root) %{_bindir}/* | |
57 | %{_libdir}/eithne |