]>
Commit | Line | Data |
---|---|---|
e1f2a429 JB |
1 | Summary: Apertium Visual Rule Editor |
2 | Summary(pl.UTF-8): Graficzny edytor reguł Apertium | |
3 | Name: apertium-visruled | |
4 | Version: 0.0.2 | |
5 | Release: 1 | |
6 | License: GPL v3+ | |
7 | Group: Applications/Text | |
8 | Source0: http://downloads.sourceforge.net/apertium/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: e92631a8a2292b20005433af75d9f108 | |
10 | Patch0: %{name}-paths.patch | |
11 | URL: http://apertium.sourceforge.net/ | |
12 | BuildRequires: QtCore-devel >= 4 | |
13 | BuildRequires: QtGui-devel >= 4 | |
14 | BuildRequires: QtXml-devel >= 4 | |
15 | BuildRequires: libstdc++-devel | |
16 | BuildRequires: qt4-build >= 4 | |
17 | BuildRequires: qt4-qmake >= 4 | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | Apertium Visual Rule Editor. | |
22 | ||
23 | %description -l pl.UTF-8 | |
24 | Graficzny edytor reguł Apertium. | |
25 | ||
26 | %prep | |
27 | %setup -q | |
28 | %patch0 -p1 | |
29 | ||
30 | %build | |
31 | qmake-qt4 \ | |
32 | BINDIR=%{_bindir} \ | |
33 | DATADIR=%{_datadir} \ | |
34 | QMAKE_CXX="%{__cxx}" \ | |
35 | QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}" \ | |
36 | QMAKE_LFLAGS_RELEASE="%{rpmldflags}" | |
37 | %{__make} | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %{__make} install \ | |
43 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %doc Changelog | |
51 | %attr(755,root,root) %{_bindir}/apertium-visruled | |
52 | %{_datadir}/apertium-visruled | |
53 | %{_desktopdir}/apertium-visruled.desktop | |
54 | %{_pixmapsdir}/apertium-visruled.png |