]> git.pld-linux.org Git - packages/abiword.git/blob - abiword.spec
- version 1.99.1
[packages/abiword.git] / abiword.spec
1 # TODO:
2 #       - use external wv library
3 Summary:        Multi-platform word processor
4 Summary(pl):    Wieloplatformowy procesor tekstu
5 Name:           abiword
6 Version:        1.99.1
7 Release:        0.1
8 Epoch:          1
9 License:        GPL
10 Group:          X11/Applications
11 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
12 # Source0-md5:  e96b50aea36ebf935d001b436b2bc582
13 URL:            http://www.abisource.com/
14 BuildRequires:  bzip2-devel
15 BuildRequires:  fontconfig-devel
16 BuildRequires:  fribidi-devel >= 0.10.4
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
27 BuildRequires:  libwmf-devel
28 BuildRequires:  libxml2-devel >= 2.4.2
29 BuildRequires:  pspell-devel >= 0.11.1
30 BuildRequires:  gucharmap-devel >= 0.7
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 AbiWord is a multi-platform word processor with a GTK+ interface on
35 the UNIX platform.
36
37 %description -l pl
38 AbiWord jest wieloplatformowym procesorem tekstu z interfejsem GTK+ na platformie UNIX.
39
40 %package clipart
41 Summary:        AbiWord Clipart
42 Group:          Applications/Productivity
43                                                                                                                                                     
44 %description clipart
45 This is the clipart portfolio used by AbiWord.
46
47 %prep
48 %setup -q
49
50 %build
51 cd abi
52 ./autogen.sh
53 %configure \
54         --enable-gnome \
55         --enable-xft \
56         --with-pspell
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 cd abi
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
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
72
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
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files
81 %defattr(644,root,root,755)
82 #%doc abi/docs/*.abw abi/CREDITS.TXT
83 %attr(755,root,root) %{_bindir}/*
84 %dir %{_datadir}/AbiSuite-2.0
85 %dir %{_datadir}/AbiSuite-2.0/AbiWord
86 %dir %{_datadir}/AbiSuite-2.0/AbiWord/scripts
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}/*
96 %{_pixmapsdir}/*.png
97 %{_datadir}/AbiSuite-2.0/AbiWord.exe.MANIFEST
98 %{_datadir}/AbiSuite-2.0/AbiWord/readme.txt
99 %{_datadir}/AbiSuite-2.0/README
100
101 %files clipart
102 %defattr(644,root,root,755)
103 %{_datadir}/AbiSuite-2.0/clipart
This page took 0.030225 seconds and 4 git commands to generate.