]>
Commit | Line | Data |
---|---|---|
a841695d | 1 | # TODO: |
b342c735 | 2 | # - use external wv library |
a611d325 | 3 | Summary: Multi-platform word processor |
4 | Summary(pl): Wieloplatformowy procesor tekstu | |
c3f4081b | 5 | Name: abiword |
484eb327 | 6 | Version: 1.99.1 |
a611d325 | 7 | Release: 0.1 |
b28f7fb4 | 8 | Epoch: 1 |
c3f4081b | 9 | License: GPL |
10 | Group: X11/Applications | |
484eb327 | 11 | Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
12 | # Source0-md5: e96b50aea36ebf935d001b436b2bc582 | |
c3f4081b | 13 | URL: http://www.abisource.com/ |
a611d325 | 14 | BuildRequires: bzip2-devel |
15 | BuildRequires: fontconfig-devel | |
19dec3f5 | 16 | BuildRequires: fribidi-devel >= 0.10.4 |
a611d325 | 17 | BuildRequires: gal-devel >= 1.99 |
18 | BuildRequires: glib2-devel >= 2.0.0 | |
19 | BuildRequires: gtk+2-devel >= 2.0.0 | |
20 | BuildRequires: libbonobo-devel >= 2.2.0 | |
21 | BuildRequires: libgnomeui-devel >= 2.2.0 | |
22 | BuildRequires: libgnomeprint-devel >= 2.2.0 | |
23 | BuildRequires: libgnomeprintui-devel >= 2.2.0 | |
24 | BuildRequires: libgsf-devel | |
25 | BuildRequires: libjpeg-devel | |
26 | BuildRequires: librsvg-devel | |
c779533f | 27 | BuildRequires: libwmf-devel |
a611d325 | 28 | BuildRequires: libxml2-devel >= 2.4.2 |
29 | BuildRequires: pspell-devel >= 0.11.1 | |
484eb327 | 30 | BuildRequires: gucharmap-devel >= 0.7 |
c3f4081b | 31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
c3f4081b | 33 | %description |
a611d325 | 34 | AbiWord is a multi-platform word processor with a GTK+ interface on |
35 | the UNIX platform. | |
c3f4081b | 36 | |
37 | %description -l pl | |
a611d325 | 38 | AbiWord jest wieloplatformowym procesorem tekstu z interfejsem GTK+ na platformie UNIX. |
39 | ||
a611d325 | 40 | %package clipart |
41 | Summary: AbiWord Clipart | |
42 | Group: Applications/Productivity | |
43 | ||
44 | %description clipart | |
45 | This is the clipart portfolio used by AbiWord. | |
b28f7fb4 | 46 | |
c3f4081b | 47 | %prep |
a611d325 | 48 | %setup -q |
c3f4081b | 49 | |
50 | %build | |
51 | cd abi | |
53a18383 | 52 | ./autogen.sh |
a611d325 | 53 | %configure \ |
53a18383 | 54 | --enable-gnome \ |
a611d325 | 55 | --enable-xft \ |
56 | --with-pspell | |
57 | %{__make} | |
58 | ||
c3f4081b | 59 | %install |
60 | rm -rf $RPM_BUILD_ROOT | |
513846f5 | 61 | |
484eb327 | 62 | cd abi |
a611d325 | 63 | %{__make} install \ |
c3f4081b | 64 | DESTDIR=$RPM_BUILD_ROOT |
65 | ||
a611d325 | 66 | # Manual fixes to Abi package |
67 | #Desktop file and icon | |
68 | install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} | |
69 | install $RPM_BUILD_ROOT%{_datadir}/AbiSuite-2.0/icons/abiword_48.png $RPM_BUILD_ROOT%{_pixmapsdir} | |
70 | install src/pkg/linux/rpm/data/abiword.desktop $RPM_BUILD_ROOT%{_desktopdir} | |
71 | perl -p -i -e "s|Exec=abiword|Exec=AbiWord-2.0|" $RPM_BUILD_ROOT%{_desktopdir}/abiword.desktop | |
a841695d | 72 | |
a611d325 | 73 | #Bonobo stuff |
74 | install -d $RPM_BUILD_ROOT%{_libdir}/bonobo/servers | |
75 | mv $RPM_BUILD_ROOT%{_datadir}/AbiSuite-2.0/GNOME_AbiWord_Control_2_0.server $RPM_BUILD_ROOT%{_libdir}/bonobo/servers | |
76 | ||
c3f4081b | 77 | %clean |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
9e2ecadc | 80 | %files |
c3f4081b | 81 | %defattr(644,root,root,755) |
a611d325 | 82 | #%doc abi/docs/*.abw abi/CREDITS.TXT |
a841695d | 83 | %attr(755,root,root) %{_bindir}/* |
a611d325 | 84 | %dir %{_datadir}/AbiSuite-2.0 |
85 | %dir %{_datadir}/AbiSuite-2.0/AbiWord | |
86 | %dir %{_datadir}/AbiSuite-2.0/AbiWord/scripts | |
a611d325 | 87 | %{_datadir}/AbiSuite-2.0/AbiWord/glade |
88 | %{_datadir}/AbiSuite-2.0/AbiWord/scripts/* | |
89 | %{_datadir}/AbiSuite-2.0/AbiWord/strings | |
90 | %{_datadir}/AbiSuite-2.0/AbiWord/system.profile* | |
91 | %{_datadir}/AbiSuite-2.0/icons | |
92 | %{_datadir}/AbiSuite-2.0/templates | |
93 | %{_datadir}/AbiSuite-2.0/abi-nautilus-view-file.xml | |
94 | %{_libdir}/bonobo/servers/* | |
95 | %{_desktopdir}/* | |
513846f5 | 96 | %{_pixmapsdir}/*.png |
a611d325 | 97 | %{_datadir}/AbiSuite-2.0/AbiWord.exe.MANIFEST |
98 | %{_datadir}/AbiSuite-2.0/AbiWord/readme.txt | |
99 | %{_datadir}/AbiSuite-2.0/README | |
100 | ||
a611d325 | 101 | %files clipart |
102 | %defattr(644,root,root,755) | |
103 | %{_datadir}/AbiSuite-2.0/clipart |