]> git.pld-linux.org Git - packages/abiword.git/blame - abiword.spec
- version 1.99.1
[packages/abiword.git] / abiword.spec
CommitLineData
a841695d 1# TODO:
b342c735 2# - use external wv library
a611d325 3Summary: Multi-platform word processor
4Summary(pl): Wieloplatformowy procesor tekstu
c3f4081b 5Name: abiword
484eb327 6Version: 1.99.1
a611d325 7Release: 0.1
b28f7fb4 8Epoch: 1
c3f4081b 9License: GPL
10Group: X11/Applications
484eb327 11Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
12# Source0-md5: e96b50aea36ebf935d001b436b2bc582
c3f4081b 13URL: http://www.abisource.com/
a611d325 14BuildRequires: bzip2-devel
15BuildRequires: fontconfig-devel
19dec3f5 16BuildRequires: fribidi-devel >= 0.10.4
a611d325 17BuildRequires: gal-devel >= 1.99
18BuildRequires: glib2-devel >= 2.0.0
19BuildRequires: gtk+2-devel >= 2.0.0
20BuildRequires: libbonobo-devel >= 2.2.0
21BuildRequires: libgnomeui-devel >= 2.2.0
22BuildRequires: libgnomeprint-devel >= 2.2.0
23BuildRequires: libgnomeprintui-devel >= 2.2.0
24BuildRequires: libgsf-devel
25BuildRequires: libjpeg-devel
26BuildRequires: librsvg-devel
c779533f 27BuildRequires: libwmf-devel
a611d325 28BuildRequires: libxml2-devel >= 2.4.2
29BuildRequires: pspell-devel >= 0.11.1
484eb327 30BuildRequires: gucharmap-devel >= 0.7
c3f4081b 31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
c3f4081b 33%description
a611d325 34AbiWord is a multi-platform word processor with a GTK+ interface on
35the UNIX platform.
c3f4081b 36
37%description -l pl
a611d325 38AbiWord jest wieloplatformowym procesorem tekstu z interfejsem GTK+ na platformie UNIX.
39
a611d325 40%package clipart
41Summary: AbiWord Clipart
42Group: Applications/Productivity
43
44%description clipart
45This is the clipart portfolio used by AbiWord.
b28f7fb4 46
c3f4081b 47%prep
a611d325 48%setup -q
c3f4081b 49
50%build
51cd 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
60rm -rf $RPM_BUILD_ROOT
513846f5 61
484eb327 62cd abi
a611d325 63%{__make} install \
c3f4081b 64 DESTDIR=$RPM_BUILD_ROOT
65
a611d325 66# Manual fixes to Abi package
67#Desktop file and icon
68install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
69install $RPM_BUILD_ROOT%{_datadir}/AbiSuite-2.0/icons/abiword_48.png $RPM_BUILD_ROOT%{_pixmapsdir}
70install src/pkg/linux/rpm/data/abiword.desktop $RPM_BUILD_ROOT%{_desktopdir}
71perl -p -i -e "s|Exec=abiword|Exec=AbiWord-2.0|" $RPM_BUILD_ROOT%{_desktopdir}/abiword.desktop
a841695d 72
a611d325 73#Bonobo stuff
74install -d $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
75mv $RPM_BUILD_ROOT%{_datadir}/AbiSuite-2.0/GNOME_AbiWord_Control_2_0.server $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
76
c3f4081b 77%clean
78rm -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
This page took 0.038908 seconds and 4 git commands to generate.