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