]> git.pld-linux.org Git - packages/abiword.git/blob - abiword.spec
- adding es/pt/pt_BR Group translations
[packages/abiword.git] / abiword.spec
1 Summary:        AbiWord - advanced wordprocessor
2 Summary(pl):    AbiWord - zaawanoswany procesor tekstu
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(es):      X11/Aplicaciones
10 Group(pl):      X11/Aplikacje
11 Group(pt_BR):   X11/Aplicações
12 Group(pt):      X11/Aplicações
13 Source0:        http://prodownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
14 Source1:        %{name}.desktop
15 URL:            http://www.abisource.com/
16 BuildRequires:  gettext-devel
17 BuildRequires:  gnome-libs-devel
18 BuildRequires:  ORBit-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _prefix         /usr/X11R6
22
23 %description
24 AbiWord is a free word processing program similar to Microsoft Word. 
25 It is suitable for typing papers, letters, reports, memos, and so forth.
26
27 %description -l pl
28 AbiWord jest darmowym procesorem tekstu podobnym do Microsoft Word.
29 Jest idealnym narzêdziem do pisania dokumentów, listów, raportów itp.
30
31 %prep
32 %setup -q
33
34 %build
35 cd abi
36 gettextize --copy --force
37
38 %configure \
39         --enable-gnome
40         
41 %{__make} -f GNUmakefile
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_bindir},%{_applnkdir}/Office/Wordprocessors,%{_pixmapsdir}}
46
47 cd abi
48 %{__make} -f GNUmakefile install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Office/Wordprocessors
52 install $RPM_BUILD_ROOT%{_datadir}/AbiSuite/icons/abiword_48.png $RPM_BUILD_ROOT%{_pixmapsdir}
53
54 gzip -9nf CREDITS.TXT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc abi/docs/*.abw abi/*.gz
62 %attr(755,root,root) %{_bindir}/[At]*
63 %{_datadir}/AbiSuite
64 %{_applnkdir}/Office/Wordprocessors/*
65 %{_pixmapsdir}/*.png
This page took 0.071634 seconds and 3 git commands to generate.