]> git.pld-linux.org Git - SPECS.git/blob - gtkhtml1.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / gtkhtml1.spec
1 Summary:        Gtkhtml library
2 Summary(pl.UTF-8):      Biblioteka gtkhtml
3 Summary(pt_BR.UTF-8):   Biblioteca gtkhtml
4 Summary(ru.UTF-8):      GtkHTML - это библиотека рендеринга/редактирования HTML
5 Summary(uk.UTF-8):      GtkHTML - це бібліотека рендерингу/редагування HTML
6 Name:           gtkhtml1
7 %define mver    1.1
8 Version:        %{mver}.10
9 Release:        1
10 License:        LGPL
11 Group:          X11/Libraries
12 Source0:        http://ftp.gnome.org/pub/gnome/sources/gtkhtml/1.1/gtkhtml-%{version}.tar.bz2
13 # Source0-md5:  8647407560e4b61ba4a12653b9cc8869
14 Patch0:         %{name}-am15.patch
15 Patch1:         %{name}-pixmap.patch
16 Patch2:         %{name}-get_default_fonts.patch
17 BuildRequires:  GConf-devel >= 1.0.7
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  bonobo-devel >= 0.32
21 BuildRequires:  control-center1-devel >= 1.0.0
22 BuildRequires:  gal1-devel >= 0.21
23 BuildRequires:  gdk-pixbuf-gnome-devel >= 0.8.0
24 BuildRequires:  gnome-libs-devel
25 BuildRequires:  gnome-print-devel >= 0.29
26 BuildRequires:  gtk-doc
27 BuildRequires:  intltool
28 BuildRequires:  libghttp-devel >= 1.0
29 BuildRequires:  libglade-gnome-devel
30 BuildRequires:  libtool
31 BuildRequires:  sed >= 4.0
32 Obsoletes:      libgtkhtml20
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %define         _sysconfdir     /etc/X11/GNOME
36
37 %description
38 This is GtkHTML, a lightweight HTML rendering/printing/editing engine.
39 It was originally based on KHTMLW, but is now being developed
40 independently of it.
41
42 %description -l pl.UTF-8
43 GtkHTML jesrt "lekką" bibiloteką do renderingu, drukowania i edycji
44 HTML. Pierwotne źródła tej biblioteki bazują na KHTMLW ale teraz
45 GtkHTML jest rozwijana niezależnie od KHTMLW,
46
47 %description -l pt_BR.UTF-8
48 Este é o GtkHTML, uma ferramenta de renderizar/imprimir/editar HTML
49 leve e pequeno
50
51 %description -l ru.UTF-8
52 Это GtkHTML, легкий "движок" рендеринга/печати/редактирования HTML.
53 Сначала он базировался на KHTMLW, но теперь разрабатывается
54 независимо.
55
56 %description -l uk.UTF-8
57 Це GtkHTML, легке ядро рендерингу/друку/редагування HTML. Воно
58 спочатку базувалось на KHTMLW, але тепер розробляється незалежно від
59 нього.
60
61 %package devel
62 Summary:        Header files and etc neccessary to develop gtkhtml applications
63 Summary(es.UTF-8):      Bibliotecas, archivos de inclusión, e etc. para desarrollar aplicaciones gtkhtml
64 Summary(pl.UTF-8):      Pliki nagłówkowe i inne nizbędne do tworzenia aplikacji używających gtkhtml
65 Summary(pt_BR.UTF-8):   Bibliotecas, arquivos de inclusão, e etc para desenvolver aplicações gtkhtml
66 Summary(ru.UTF-8):      Файлы, необходимые для разработки программ с использованием gtkhtml
67 Summary(uk.UTF-8):      Файли, необхідні для розробки програм з використанням gtkhtml
68 Group:          X11/Libraries
69 Requires:       %{name} = %{version}-%{release}
70 Requires:       GConf-devel >= 1.0.7
71 Requires:       bonobo-devel >= 0.32
72 Requires:       gal1-devel >= 0.21
73 Requires:       gdk-pixbuf-gnome-devel >= 0.8.0
74 Requires:       gnome-print-devel >= 0.29
75 Requires:       gtk-doc-common
76 Requires:       libglade-gnome-devel
77 Obsoletes:      lubgtkhtml20-devel
78
79 %description devel
80 Header files and etc neccessary to develop gtkhtml applications.
81
82 %description devel -l es.UTF-8
83 Bibliotecas, archivos de inclusión, y etc para desarrollar
84 aplicaciones gtkhtml.
85
86 %description devel -l pl.UTF-8
87 Pliki nagłówkowe i reszta niezbędnych przy tworzeniu aplikacji
88 wykorzystujacych gtkhtml.
89
90 %description devel -l pt_BR.UTF-8
91 Bibliotecas, arquivos de inclusão, e etc para desenvolver aplicações
92 gtkhtml.
93
94 %description devel -l ru.UTF-8
95 Файлы, необходимые для разработки программ с использованием gtkhtml.
96
97 %description devel -l uk.UTF-8
98 Файли, необхідні для розробки програм з використанням gtkhtml.
99
100 %package static
101 Summary:        Static gtkhtml libraries
102 Summary(es.UTF-8):      Bibliotecas estáticas para desarrollar aplicaciones gtkhtml
103 Summary(pl.UTF-8):      Biblioteki statyczne gtkhtml
104 Summary(pt_BR.UTF-8):   Bibliotecas estáticas para desenvolver aplicações gtkhtml
105 Summary(ru.UTF-8):      Статические библиотеки для разработки программ с gtkhtml
106 Summary(uk.UTF-8):      Статичні бібліотеки для розробки програм з gtkhtml
107 Group:          X11/Libraries
108 Requires:       %{name}-devel = %{version}-%{release}
109
110 %description static
111 Static gtkhtml libraries.
112
113 %description static -l es.UTF-8
114 Bibliotecas estáticas para desarrollar aplicaciones gtkhtml.
115
116 %description static -l pl.UTF-8
117 Biblioteki statyczne gtkhtml.
118
119 %description static -l pt_BR.UTF-8
120 Bibliotecas estáticas para desenvolver aplicações gtkhtml.
121
122 %prep
123 %setup -q -n gtkhtml-%{version}
124 %patch0 -p1
125 %patch1 -p1
126 %patch2 -p1
127
128 sed -i -e 's/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/' configure.in
129 sed -i -e 's/AM_PROG_XML_I18N_TOOLS/AC_PROG_INTLTOOL/' configure.in
130 sed -i -e 's/XML_I18N_MERGE_OAF_RULE/INTLTOOL_OAF_RULE/' \
131         components/{html-editor,ebrowser}/Makefile.am
132 sed -i -e 's/nn no pl/nn nb pl/' configure.in
133
134 mv -f po/{no,nb}.po
135
136 %build
137 %{__libtoolize}
138 intltoolize --force
139 %{__aclocal} -I macros
140 %{__autoconf}
141 %{__automake}
142 export GNOME_LIBCONFIG_PATH=%{_libdir}
143 %configure \
144         --with-bonobo \
145         --with-gconf
146
147 %{__make} \
148         idldir=%{_datadir}/idl \
149         pkgconfigdir=%{_pkgconfigdir}
150
151 %install
152 rm -rf $RPM_BUILD_ROOT
153
154 %{__make} install \
155         DESTDIR=$RPM_BUILD_ROOT \
156         deskdir=%{_desktopdir} \
157         pkgconfigdir=%{_pkgconfigdir} \
158         idldir=%{_datadir}/idl \
159         HTML_DIR=%{_gtkdocdir}
160
161 rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/plugin/*.{la,a}
162
163 %find_lang gtkhtml --all-name
164
165 %clean
166 rm -rf $RPM_BUILD_ROOT
167
168 %post   -p /sbin/ldconfig
169 %postun -p /sbin/ldconfig
170
171 %files -f gtkhtml.lang
172 %defattr(644,root,root,755)
173 %doc AUTHORS ChangeLog NEWS README TODO
174 %attr(755,root,root) %{_bindir}/*
175 %attr(755,root,root) %{_libdir}/libgtkhtml-1.1.so.*.*.*
176 %attr(755,root,root) %{_libdir}/bonobo/plugin/lib*.so
177 %dir %{_datadir}/gtkhtml-%{mver}
178 %{_datadir}/gtkhtml-%{mver}/icons
179 %{_datadir}/gtkhtml-%{mver}/keybindingsrc*
180 %{_datadir}/gtkhtml-%{mver}/*.glade
181 %{_datadir}/control-center/Documents/*
182 %{_datadir}/gnome/ui/*
183 %{_datadir}/oaf/*.oaf
184 %{_datadir}/idl/*.idl
185 %{_desktopdir}/*.desktop
186 %{_pixmapsdir}/*.png
187
188 %files devel
189 %defattr(644,root,root,755)
190 %attr(755,root,root) %{_libdir}/libgtkhtml-1.1.so
191 %{_libdir}/libgtkhtml-1.1.la
192 %{_includedir}/gtkhtml-1.1
193 %{_pkgconfigdir}/gtkhtml-1.1.pc
194 %{_gtkdocdir}/gtkhtml*
195
196 %files static
197 %defattr(644,root,root,755)
198 %{_libdir}/libgtkhtml-1.1.a
This page took 1.746826 seconds and 3 git commands to generate.