]>
Commit | Line | Data |
---|---|---|
c3f4081b | 1 | Summary: AbiWord |
2 | Summary(pl): AbiWord | |
3 | Name: abiword | |
4 | Version: 0.9.6.1 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: X11/Applications | |
8 | Group(de): X11/Applikationen | |
9 | Group(pl): X11/Aplikacje | |
10 | Source0: http://prodownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz | |
6f16faf8 | 11 | Source1: %{name}.desktop |
c3f4081b | 12 | URL: http://www.abisource.com/ |
13 | BuildRequires: gettext-devel | |
14 | BuildRequires: gnome-libs-devel | |
15 | BuildRequires: ORBit-devel | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %define _prefix /usr/X11R6 | |
19 | ||
20 | %description | |
21 | ||
22 | %description -l pl | |
23 | ||
24 | %prep | |
25 | %setup -q | |
26 | ||
27 | %build | |
28 | cd abi | |
29 | gettextize --copy --force | |
30 | ||
31 | %configure \ | |
32 | --enable-gnome | |
33 | ||
34 | %{__make} -f GNUmakefile | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
6f16faf8 | 38 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_applnkdir}/Office/Wordprocessors} |
39 | install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Office/Wordprocessors | |
c3f4081b | 40 | cd abi |
c3f4081b | 41 | %{__make} -f GNUmakefile install \ |
42 | DESTDIR=$RPM_BUILD_ROOT | |
43 | ||
44 | gzip -9nf CREDITS.TXT | |
45 | ||
9e2ecadc | 46 | #%find_lang %{name} |
c3f4081b | 47 | |
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
9e2ecadc | 51 | #%files -f %{name}.lang |
52 | %files | |
c3f4081b | 53 | %defattr(644,root,root,755) |
54 | %doc abi/docs/*.abw abi/*.gz | |
2321255d | 55 | %attr(755,root,root) %{_bindir}/* |
9e2ecadc | 56 | %{_datadir}/AbiSuite |
6f16faf8 | 57 | %{_applnkdir}/Office/Wordprocessors/* |