source: projects/specs/branches/6/g/gnome-libs/gnome-libs-vl.spec @ 1981

Revision 1981, 13.3 KB checked in by owa, 14 years ago (diff)

modified and rebuilt with rpm-4.8.1

Line 
1# Note that this is NOT a relocatable package
2%define name    gnome-libs
3%define ver     1.4.2
4%define rel     5%{?_dist_release}
5
6Summary:        The libraries needed to run the GNOME GUI desktop environment.
7Summary(ja):    GNOME GUI デスクトップ環境に必要なライブラリ集
8
9Name:           %name
10Version:        %ver
11Release:        %rel
12License:        LGPL
13Group:          System Environment/Libraries
14Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.4/%{name}-%{ver}.tar.bz2
15Source2:        gnome-libs-pofiles.tar.gz
16
17URL:            http://www.gnome.org/
18BuildRoot:      %{_tmppath}/%{name}-%{version}-root
19BuildRequires:  libutempter-devel
20BuildRequires:  zlib-devel
21BuildRequires:  db4-devel
22BuildRequires:  imlib-devel
23BuildRequires:  esound-devel
24BuildRequires:  ORBit-devel
25BuildRequires:  glib-devel
26BuildRequires:  gtk+-devel >= 1.2.5
27BuildRequires:  libpng-devel >= 1.2.5
28BuildRequires:  libXt-devel
29BuildRequires:  libXpm-devel
30BuildRequires:  automake14
31BuildRequires:  autoconf213
32
33Requires:       gtk+ >= 1.2.5
34Requires:       libpng >= 1.2.5
35Requires:       gnome-audio
36#Requires:      utempter
37Requires:       ORBit
38Requires:       imlib
39
40Obsoletes:      gnome
41
42# Red Hat-specific patches are prefaced with RH, please.
43Patch5:         gnome-libs-gtkrc.patch
44
45Patch25:        http://www.kr.freebsd.org/~hwang/patch/gnome-icon-item.c-preedit-diff
46# Enable setting canvas into a "bghack" mode with gtk_object_set_data
47Patch34:        gnome-libs-1.2.13-bghack.patch
48Patch40:        gnome-libs-1.4.1.2.90-png10.patch
49Patch41:        gnome-libs-1.4.1.2.90-db1.patch
50Patch42:        gnome-libs-1.4.1.2.90-ac25.patch
51Patch44:        gnome-libs-1.4.1.2.90-alpha_size_t.patch
52Patch45:        gnome-libs-1.4.1.2.90-moz-remote-fix.patch
53Patch46:        gnome-libs-1.4.1.2.90-ghelp.patch
54Patch50:        gnome-libs-1.2.13-config-dir-variable.patch
55Patch52:        gnome-libs-1.4.1.2.90-htmlview.patch
56Patch53:        gnome-libs-1.4.1.2.90-remove-duplicate-definition.patch
57
58# Fedora patches
59Patch80:        gnome-libs-1.4.2-multilib.patch
60Patch81:        gnome-libs-1.4.2-dateedit-fix1.patch
61
62# source/patch for vine
63Source100:      gnome-libs-gtkrc.ja
64Patch100:       gnome-libs-1.0.61-fontset.patch
65Patch101:       gnome-libs-1.2.8-vine-font.patch
66Patch107:       gnome-libs-1.2.4-zvt-fontsize.patch
67Patch108:       gnome-libs-1.2.12-config.patch
68Patch109:       gnome-libs-1.4.2-db48.patch
69Patch110:       gnome-libs-1.4.2-noxalf.patch
70Patch111:       gnome-libs-1.4.2-dentry.patch
71Patch112:       gnome-libs-1.4.2-html_escape.patch
72Patch113:       gnome-libs-1.4.2-vine-font.patch
73Patch120:       gnome-libs-1.4.2-iconfont.patch
74
75# patch from kondara
76Patch200:       gnome-libs-1.0.55-i18nfix.patch
77
78Packager:       inagaki
79
80%description
81GNOME (GNU Network Object Model Environment) is a user-friendly set of
82GUI applications and desktop tools to be used in conjunction with a
83window manager for the X Window System.  The gnome-libs package
84includes libraries that are needed to run GNOME.
85
86%description -l ja
87GNOME (GNU Network Object Model Environment) は、
88Xウィンドウ・システム用ウィンドウマネージャと結合して利用される、
89ユーザ・フレンドリなGUIアプリケーションとデスクトップ・ツールの
90セットです。gnome-libsパッケージはGNOMEの実行に必要なライブラリ
91郡を含んでいます。
92
93%package devel
94Summary:        Libraries and include files for developing GNOME applications.
95Summary(ja):    GNOMEアプリケーション開発用のライブラリとインクルードファイル郡
96Group:          Development/Libraries
97Requires:       %{name} = %{version}-%{release}
98Requires:       imlib-devel
99Requires:       ORBit-devel
100Requires:       esound-devel
101Requires:       gtk+-devel
102Obsoletes:      gnome-devel
103Provides:       pkgconfig(gnomeui) = %{version}
104
105%description devel
106GNOME (GNU Network Object Model Environment) is a user-friendly set of
107GUI applications and desktop tools to be used in conjunction with a
108window manager for the X Window System. The gnome-libs-devel package
109includes the libraries and include files that you will need to develop
110GNOME applications.
111
112You should install the gnome-libs-devel package if you would like to
113develop GNOME applications.  You don't need to install gnome-libs-devel
114if you just want to use the GNOME desktop environment.
115
116%description -l ja
117GNOME (GNU Network Object Model Environment) は、
118Xウィンドウ・システム用ウィンドウマネージャと結合して利用される、
119ユーザ・フレンドリなGUIアプリケーションとデスクトップ・ツールの
120セットです。gnome-libs-develパッケージはGNOMEアプリケーションの
121開発に必要なライブラリ郡を含んでいます。
122
123GNOMEアプリケーションを開発したい場合、gnome-libs-develパッケージ
124をインストールする必要があります。単にGNOMEデスクトップ環境を利用
125するだけなら、gnome-libs-develパッケージは必要ありません。
126
127%prep
128%setup -q
129
130cp %{SOURCE100} libgnomeui/gtkrc.ja
131
132%patch5 -p1 -b .gtkrc
133
134%patch25 -p0 -b .iconedit
135%patch34 -p1 -b .bghack
136
137## using a perl munge instead to avoid rerunning autoconf
138# %patch40 -p1 -b .png10
139# %patch41 -p1 -b .db1
140%patch42 -p1 -b .ac25
141%patch44 -p1 -b .alpha_size_t
142
143%patch45 -p1 -b .moz-remote-fix
144%patch46 -p1 -b .ghelp
145%patch50 -p1 -b .config-dir-variable
146%patch52 -p1 -b .htmlview
147%patch53 -p1 -b .remove-duplicate-definition
148
149%patch80 -p1 -b .multilib
150%patch81 -p1 -b .dateedit-fix1
151
152%patch100 -p1 -b .fontset
153#%patch101 -p1 -b .vine-font
154%patch107 -p1 -b .zvt-fontsize
155%patch108 -p1 -b .config
156%patch109 -p1 -b .db46
157
158%patch110 -p1 -b .noxalf
159%patch111 -p1 -b .dentry
160%patch112 -p1 -b .html_escape
161%patch113 -p1 -b .vine-font
162%patch120 -p0 -b .iconfont
163
164%patch200 -p1 -b .i18nfix
165
166# translations
167tar zxf %{SOURCE2}
168
169
170%build
171#libtoolize --copy --force
172## the gtkrc patch changes a Makefile.am
173automake-1.4
174autoconf-2.13
175%configure --disable-static \
176    --enable-prefer-db1 \
177    --with-kde-datadir=/usr/share \
178    --disable-gtk-doc
179make %{?_smp_mflags}
180
181%install
182[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
183
184%makeinstall
185mv $RPM_BUILD_ROOT%{_datadir}/doc/gnome-doc $RPM_BUILD_ROOT%{_bindir}
186chmod a+x $RPM_BUILD_ROOT%{_bindir}/gnome-doc
187mv $RPM_BUILD_ROOT%{_datadir}/doc/mkstub $RPM_BUILD_ROOT%{_bindir}
188chmod a+x $RPM_BUILD_ROOT%{_bindir}/mkstub
189%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
190mv $RPM_BUILD_ROOT%{_datadir}/doc/gnome-doc.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
191
192%find_lang %{name}
193
194## remove unused files
195rm -f $RPM_BUILD_ROOT%{_prefix}/doc/*
196rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
197rm -f $RPM_BUILD_ROOT%{_datadir}/doc/*
198rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc/*
199
200
201%clean
202[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
203
204%post -p /sbin/ldconfig
205%postun -p /sbin/ldconfig
206
207%files -f %{name}.lang
208%defattr(-, root, root)
209%doc AUTHORS COPYING ChangeLog NEWS README
210%{_bindir}/dns-helper
211%{_bindir}/gconfigger
212%{_bindir}/gnome-bug
213%{_bindir}/gnome-dump-metadata
214%{_bindir}/gnome-gen-mimedb
215%{_bindir}/gnome-moz-remote
216%{_bindir}/gnome-name-service
217%{_bindir}/gnome_segv
218%{_bindir}/goad-browser
219%{_bindir}/loadshlib
220%{_bindir}/new-object
221%attr(2755, root, utmp) %{_sbindir}/gnome-pty-helper
222%{_libdir}/lib*.so.*
223%{_datadir}/idl/*
224%{_datadir}/pixmaps/*
225%{_datadir}/mime-info/gnome.mime
226%{_datadir}/type-convert/*
227%{_mandir}/man1/*
228%{_mandir}/man5/*
229%config %{_sysconfdir}/*
230
231%files devel
232%defattr(-, root, root)
233%doc devel-docs
234%{_bindir}/gnome-config
235%{_bindir}/libart-config
236%{_bindir}/gnome-doc
237%{_bindir}/mkstub
238%{_libdir}/lib*.so
239#{_libdir}/*.a
240#{_libdir}/*.la
241%{_libdir}/*.sh
242%{_libdir}/gnome-libs
243%{_includedir}/*
244%{_datadir}/aclocal/*
245%{_datadir}/gnome
246%{_datadir}/emacs/site-lisp/*
247
248%changelog
249* Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.4.2-5
250- added Provides: pkgconfig(gnomeui) in %%package %{name}-devel
251  from fedora:
252    * Thu Mar  5 2009 Paul Howarth <paul@city-fan.org> 1:1.4.2-13
253    - Provide pkgconfig(gnomeui) needed to satisfy autogenerated dependency in
254    libglade and possibly other packages built on gnome-libs; an actual .pc file
255    isn't needed because pkg-config knows to use gnome-config for this
256
257* Fri Oct 01 2010 Shu KONNO <owa@bg.wakwak.com> 1.4.2-4
258- rebuilt with rpm-4.8.1 for pkg-config
259
260* Fri Feb 12 2010 NAKAMURA Kenta <kenta@vinelinux.org> 1.4.2-3
261- rebuilt with db4-4.8
262- updated Patch109: gnome-libs-1.4.2-db48.patch
263
264* Sat May  2 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-2
265- updated Patch109 for using db-4.6.21
266- BuildRequires: libutempter-devel instead of utempter
267- removed lib*.a
268
269* Sat Jul 26 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.2-1vl5
270- removed lib*.la
271- removed unused files
272- applied new versioning policy and spec in utf-8
273
274* Sat Jun 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-0vl8
275- rebuilt for fixing libgnorba.la
276
277* Sun May 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-0vl7
278- rebuilt with new toolchains/environment
279- updated Patch109 for using db-4.3.29
280- added patches from Fedora
281  * Fri Mar  9 2007 Paul Howarth <paul@city-fan.org> 1:1.4.2-5
282  - Fix GnomeDateEdit time format regression (#230186)
283  * Tue Feb 13 2007 Paul Howarth <paul@city-fan.org> 1:1.4.2-4
284  - Fix multilib conflict in /etc/mime-magic.dat (#228361)
285
286* Tue Feb 28 2006 Shu KONNO <owa@bg.wakwak.com> 1.4.2-0vl6
287- dropt libtoolize
288- rebuilt for x86_64 architecture
289
290* Mon Oct 11 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.4.2-0vl5
291- rebuilt with db4-4.2.25
292- --disable-gtk-doc
293
294* Tue Dec 23 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-0vl4
295- rebuilt with new toolchains
296- added Patch120 from Vine Linux 2.6r3 release
297- s/Copyright/License/
298
299* Wed Jan 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.4.2-0vl3
300- rebuilt against libpng >= 1.2.5
301
302* Wed Jan 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.4.2-0vl2
303- rebuilt against db4 (disabled Patch41, added Patch109)
304
305* Fri Oct 25 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-0vl1
306- new upstream release.
307- cleaned patch files (several was merged source)
308- noxalf.pactch was renewal   (Patch110)
309- vine-font.patch was renewal (Patch113)
310
311* Tue Dec 18 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.4.1.2-0vl1
312- New upstream release.
313- Merged several RH patches.
314
315* Wed Mar 21 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.2.13-0vl1
316- New upstream release.
317- Use rpmmacros.
318
319* Sat Dec  9 2000 Jun Nishii <jun@vinelinux.org>
320- 1.2.8-0vl1
321
322* Mon Oct 16 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-0vl3
323- zvt default font size changed
324
325* Mon Oct 16 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-0vl2
326- XmHTML default font size changed
327
328* Wed Jul 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
329- updated to 1.2.4
330- added dialog_default patch to focus a specfied button for keybord.
331
332* Fri Jun 21 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
333- updated to 1.2.3
334
335* Mon Jun 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
336- added vine's gtkrc.ja.
337
338* Fri Jun  2 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
339- updated to 1.2.1
340
341* Wed May 31 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
342- modified zvt_mb pach to fix threshold value of MB_CUR_MAX for glibc 2.1.3.
343
344* Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
345- updated 1.2.0
346
347* Tue May 16 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
348- updated 1.0.61
349
350* Mon May  8 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
351- updated 1.0.60
352- removed some RH patch (RH-snd*) merged.
353- add japo_fix patch to fix a bug that make popt to segfault.
354
355* Wed Mar 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
356- updated 1.0.57
357- remake SPEC from RH6.2 for vine
358
359* Mon Feb 21 2000 Preston Brown <pbrown@redhat.com>
360- keyboard mapping follows debian policy, xterm
361
362* Tue Feb 15 2000 Owen Taylor <otaylor@redhat.com>
363- Add checks to make sure gnome-terminal survives if the
364  bg pixmap vanishes.
365
366* Fri Feb 11 2000 Owen Taylor <otaylor@redhat.com>
367- Install gtkrc files in /etc/gnome
368
369* Fri Feb 11 2000 Owen Taylor <otaylor@redhat.com>
370- Remove broken alpha timeval fix, fix bug in configure.in
371  that was misdetecting ut_tv field of utmpx
372
373* Thu Feb 10 2000 Bernhard Rosenkraenzer <bero@redhat.com>
374- Fix up escape sequences in zvt (Bug #9143)
375
376* Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com>
377- Accept true/yes/non-zero as TRUE for gnome-config boolean values.
378
379* Wed Feb 03 2000 Havoc Pennington <hp@redhat.com>
380- set ECHOK for terminal widget, bug 8823
381
382* Wed Feb 02 2000 Havoc Pennington <hp@redhat.com>
383- include man pages in the file list, also bug 8017
384
385* Wed Feb 02 2000 Havoc Pennington <hp@redhat.com>
386- Fix an alpha warning bugzilla #8017
387
388* Tue Feb 01 2000 Elliot Lee <sopwith@redhat.com>
389- Update to 1.0.55
390
391* Tue Aug 31 1999 Elliot Lee <sopwith@redhat.com>
392- Update to 1.0.15
393
394* Mon Aug 30 1999 Elliot Lee <sopwith@redhat.com>
395- Merge in various minor things from RHL
396
397* Mon Jun 14 1999 Gregory McLean <gregm@comstar.net>
398
399- Added the -q option to the setup stage, quiet please!
400
401* Tue Mar 2  1999 Gregory McLean <gregm@comstar.net>
402
403- Added some hackage in for the brain dead libtool on the alpha
404- Cleaned up the spec file abit to be more consistant.
405
406* Wed Feb 17 1999 Elliot Lee <sopwith@redhat.com>
407
408- Add debugging disabling flags to $CFLAGS
409
410* Fri Nov 20 1998 Pablo Saratxaga <srtxg@chanae.alphanet.ch>
411
412- use --localstatedir=/var/lib in config state (score files for games
413  for exemple will go there).
414- added several more files to %files section, in particular language
415  files and corba IDLs
416
417* Wed Sep 23 1998 Michael Fulbright <msf@redhat.com>
418
419- Updated to version 0.30
420
421* Mon Apr 13 1998 Marc Ewing <marc@redhat.com>
422- Added %{prefix}/lib/gnome-libs
423
424* Fri Mar 13 1998 Marc Ewing <marc@redhat.com>
425
426- Integrate into gnome-libs source tree
Note: See TracBrowser for help on using the repository browser.