source: projects/specs/trunk/g/gnome-core/gnome-core-vl.spec @ 521

Revision 521, 11.4 KB checked in by daisuke, 12 years ago (diff)

import VineSeed package specs

Line 
1# Note that this is NOT a relocatable package
2%define ver     1.4.0.4
3%define rel     0vl7
4
5Summary:        The core programs for the GNOME GUI desktop environment.
6Summary(ja):    GNOME GUI ¥Ç¥¹¥¯¥È¥Ã¥×´Ä¶­¤Î¥³¥¢¡¦¥×¥í¥°¥é¥à
7Name:           gnome-core
8Version:        %{ver}
9Release:        %{rel}
10Copyright:      LGPL
11Group:          System Environment/Base
12Buildroot:      %{_tmppath}/%{name}-%{PACKAGE_VERSION}-root
13URL:            http://www.gnome.org
14Obsoletes:      gnome
15Prereq:         /sbin/install-info
16
17BuildPreReq:    xml-i18n-tools
18BuildPreReq:    gnome-libs-devel
19BuildPreReq:    glib-devel
20BuildPreReq:    gtk+-devel
21BuildPreReq:    ORBit-devel
22BuildPreReq:    gdk-pixbuf-devel
23BuildPreReq:    bzip2-devel
24BuildPreReq:    scrollkeeper
25BuildPreReq:    gtk-doc
26BuildPreReq:    autoconf213
27BuildPreReq:    automake14
28
29Requires:       %{name}-libs = %{version}-%{release}
30Requires:       gnome-libs >= 1.2.0
31Requires:       ORBit >= 0.5.0
32Requires:       gdk-pixbuf >= 0.7.0
33Requires:       xscreensaver >= 3.17-4
34Requires:       magicdev
35Requires:       gdk-pixbuf >= 0.7.0
36Requires:       vine-logos >= 1.2.1
37
38Source:         ftp://ftp.gnome.org/pub/GNOME/stable/sources/%{name}/%{name}-%{ver}.tar.bz2
39
40# for Kterm and misc by Vine
41Source1:        pofuzclr.awk
42Source2:        pohack.awk
43Source10:       gnome-term-kterm.png
44Source11:       Kterm.desktop
45Source12:       System.order
46Source14:       Development.directory
47Source15:       gnome-panel-properties.desktop
48Source16:       gnome-core-1.2.0-ja.po
49Source21:       gnome-core-vine_panel.hints
50
51# Red Hat
52Source50:       gnome-ccdesktop.png
53Source51:       gnome-devel.png
54Source52:       gnome-gnomoku.png
55Source53:       gnome-multimedia.png
56Source54:       gnome-panel.png
57Source55:       gnome-util.png
58
59# Red Hat patches
60Patch2:         gnome-core-1.0.54-smallfont.patch
61Patch5:         gnome-core-1.2.1-nodesktops.patch
62Patch9:         gnome-core-1.2.1-rectfix.patch
63Patch11:        gnome-core-1.4.0.3-terminal_mb-0.4.patch
64Patch12:        gnome-core-1.2.1-japanese-default-page.patch
65Patch14:        gnome-core-1.4.0.3-defaultapplets.patch
66Patch23:        gnome-core-nohttp.patch
67Patch25:        gnome-core-1.2.4-newinfopath.patch
68Patch30:        gnome-core-1.4.0.3-multibyteoption.patch
69
70Patch55:        gnome-core-1.3.1-magicdev.patch
71
72# for Vine Linux
73Patch71:        gnome-core-1.4.0.4-vine_default_session.patch
74Patch72:        gnome-core-1.3.1-vine_fontset.patch
75Patch73:        gnome-core-1.4.0.3-mailcheck.patch
76Patch74:        gnome-core-1.4.0.3-foobar-vl.patch
77Patch75:        gnome-core-1.4.0.4-splash-vl.patch
78Patch76:        gnome-core-1.4.0-config.patch
79Patch77:        gnome-core-1.4.0.4-panelsegvfix.patch
80Patch78:        gnome-core-1.4.0.4-vine_default_session2.patch
81Patch79:        gnome-core-1.4.0.4-console-lock.patch
82
83# FIXME: Ad-Hoc patch to add gdk_pixbuf cflags in gnome-about
84Patch100:       gnome-core-1.4.0.4-adhoc-gdkpixbuf.patch
85
86
87%description
88GNOME (GNU Network Object Model Environment) is a user-friendly
89set of applications and desktop tools to be used in conjunction with a
90window manager for the X Window System.  GNOME is similar in purpose and
91scope to CDE and KDE, but GNOME is based completely on free
92software.  The gnome-core package includes the basic programs and
93libraries that are needed to install GNOME.
94
95You should install the gnome-core package if you would like to use the
96GNOME desktop environment.  You'll also need to install the gnome-libs
97package.  If you would like to develop GNOME applications, you'll also
98need to install gnome-libs-devel.  If you want to use linuxconf with a
99GNOME front end, you'll also need to install the gnome-linuxconf package.
100
101%description -l ja
102GNOME (GNU Network Object Model Environment)¤Ï¡¢
103X¥¦¥£¥ó¥É¥¦¥·¥¹¥Æ¥àÍѤΡ¢¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤ÈÏ¢·ë¤·¤¿
104GUI¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ª¤è¤Ó¥Ç¥¹¥¯¥È¥Ã¥×¥Ä¡¼¥ë¤Î¥æ¡¼¥¶¥Õ¥ì
105¥ó¥É¥ê¡¼¡¦¥»¥Ã¥È¤Ç¤¹¡£ GNOME¤ÏÌÜŪ¤«¤é¤¹¤ë¤ÈCDE¤äKDE¤È
106Ʊ¤¸»ëÌî¤ËΩ¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢GNOME¤Ï´°Á´¤Ë¥Õ¥ê¡¼¤Ê¥½¥Õ¥È¥¦¥§
107¥¢¤Ë´ð¤Å¤¤¤Æ¤¤¤Þ¤¹¡£gnome-core¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¢GNOME¤Î¥¤¥ó
108¥¹¥È¡¼¥ë¤ËɬÍפʴðËÜ¥×¥í¥°¥é¥à¤È¥é¥¤¥Ö¥é¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤
109¤Þ¤¹¡£
110
111GNOME¥Ç¥¹¥¯¥È¥Ã¥×´Ä¶­¤ò»ÈÍѤ·¤¿¤¤¤Ê¤é¡¢gnome-core¥Ñ¥Ã¥±
112¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£ gnome-libs¥Ñ¥Ã¥±¡¼¥¸¤â
113Ʊ»þ¤ËɬÍפǤ¹¡£GNOME¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î³«È¯¤ò¹Ô¤¤¤¿¤¤
114¾ì¹ç, ¤µ¤é¤Ëgnome-libs-devel¤âɬÍפˤʤê¤Þ¤¹¡£linuxconf
115¤òGNOME¥Õ¥í¥ó¥È¥¨¥ó¥É¤Ç»È¤¤¤¿¤¤¾ì¹ç¡¢gnome-linuxconf¥Ñ¥Ã
116¥±¡¼¥¸¤òÄɲäǥ¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£
117
118%package devel
119Summary:        GNOME core libraries, includes and more.
120Summary(ja):    GNOME¥Ñ¥Í¥ë³«È¯¤¿¤á¤Î¥³¥¢¡¦¥é¥¤¥Ö¥é¥ê¤È¥Ø¥Ã¥À¥Õ¥¡¥¤¥ë
121Group:          Development/Libraries
122Requires:       %{name} = %{PACKAGE_VERSION}
123Requires:       %{name}-libs = %{PACKAGE_VERSION}
124Requires:       gnome-libs-devel
125PreReq:         /sbin/install-info
126
127%description devel
128Panel libraries and header files for creating GNOME panels.
129
130%description devel -l ja
131GNOME¥Ñ¥Í¥ë¤òºîÀ®¤¹¤ë¤¿¤á¤Î¥Ñ¥Í¥ë¥é¥¤¥Ö¥é¥ê¤ª¤è¤Ó¥Ø¥Ã¥À¥Õ¥¡¥¤¥ë¤Ç¤¹¡£
132
133%package libs
134Summary:        GNOME core libraries
135Summary(ja):    GNOME¥Ñ¥Í¥ë³«È¯¤¿¤á¤Î¥³¥¢¡¦¥é¥¤¥Ö¥é¥ê
136Group:          Development/Libraries
137
138%description libs
139Panel libraries
140
141%description libs -l ja
142GNOME¥Ñ¥Í¥ë¤òºîÀ®¤¹¤ë¤¿¤á¤Î¥Ñ¥Í¥ë¥é¥¤¥Ö¥é¥ê¤Ç¤¹¡£
143
144%prep
145%setup -q
146cp %{SOURCE21} panel/panel.hints
147
148cp %{SOURCE50} pixmaps/
149cp %{SOURCE51} pixmaps/
150cp %{SOURCE52} pixmaps/
151cp %{SOURCE53} pixmaps/
152cp %{SOURCE54} pixmaps/
153cp %{SOURCE55} pixmaps/
154
155%patch2 -p1 -b .smallfont
156%patch5 -p1 -b .nodesktops
157%patch9 -p1 -b .rectfix
158%patch11 -p1 -b .jpterm
159%patch12 -p1 -b .nbsp
160%patch14 -p1 -b .defaultapplets
161%patch23 -p1 -b .nohttp
162%patch25 -p1 -b .newinfopatch
163%patch30 -p1 -b .multibyteoption
164
165%patch55 -p1 -b .magicdev
166
167# for Vine
168%patch71 -p1 -b .vine_default
169%patch72 -p1 -b .vine_fontset
170%patch73 -p1 -b .mailcheck
171%patch74 -p1 -b .foobar
172%patch75 -p1 -b .splash
173%patch76 -p1 -b .config
174%patch77 -p1 -b .panelfix
175%patch78 -p1 -b .vine_default2
176%patch79 -p1 -b .console
177
178# FIXME: Ad-Hoc patch to add gdk_pixbuf cflags in gnome-about
179%patch100 -p1 -b .adhoc-gdkpixbuf
180
181%build
182
183autoheader-2.13
184automake-1.4
185autoconf-2.13
186%configure --with-kde-datadir=/usr/kde/share --with-window-manager=sawfish
187
188pushd po
189make update-po
190# po
191awk -f %{SOURCE1} ja.po > new-ja.po && mv new-ja.po ja.po
192awk -f %{SOURCE2} -v key='\"-adobe-helvetica-bold-r-normal-\\\*-\\\*-240-\\\*-\\\*-p-\\\*-\\\*-\\\*\"' -v val="-alias-fixed-bold-r-normal-*-*-240-*-*-*-*-*-*" -v overwrite=1 ja.po > new-ja.po && mv new-ja.po ja.po
193awk -f %{SOURCE2} -v key='\"-adobe-helvetica-medium-r-normal-\\\*-8-\\\*-\\\*-\\\*-p-\\\*-\\\*-\\\*\"' -v val="-alias-fixed-medium-r-normal-*-10-*-*-*-*-*-*-*" -v overwrite=1 ja.po > new-ja.po && mv new-ja.po ja.po
194awk -f %{SOURCE2} -v key='\"fixed\"' -v val="-alias-fixed-medium-r-normal--16-*-*-*-*-*-*-*" -v overwrite=1 ja.po > new-ja.po && mv new-ja.po ja.po
195awk -f %{SOURCE2} -v key='\"-\\\*-helvetica-bold-r-normal-\\\*-\\\*-180-\\\*-\\\*-p-\\\*-\\\*-\\\*\"' -v val="-alias-fixed-bold-r-normal-*-*-180-*-*-*-*-*-*" -v overwrite=1 ja.po > new-ja.po && mv new-ja.po ja.po
196awk -f %{SOURCE2} -v key='\"Open IM \\(input method\\)\"' -v val="IM (¥¤¥ó¥×¥Ã¥È¥á¥½¥Ã¥É)¤ò»È¤¦" ja.po > new-ja.po && mv new-ja.po ja.po
197awk -f %{SOURCE2} -v key='\"Enable multibyte support\"' -v val="¥Þ¥ë¥Á¥Ð¥¤¥Èʸ»ú¥µ¥Ý¡¼¥È¤òÍ­¸ú" ja.po > new-ja.po && mv new-ja.po ja.po
198awk -f %{SOURCE2} -v key='\"Remote APOP-server\"' -v val="¥ê¥â¡¼¥È¤ÎAPOP¥µ¡¼¥Ð" ja.po > new-ja.po && mv new-ja.po ja.po
199popd
200
201if [ "$SMP" != "" ]; then
202  CFLAGS="$RPM_OPT_FLAGS" make -j$SMP "MAKE=make -j$SMP"
203else
204  CFLAGS="$RPM_OPT_FLAGS" make
205fi
206
207%install
208[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
209
210%makeinstall
211
212if [ -d $RPM_BUILD_ROOT/usr/man ]; then
213  find $RPM_BUILD_ROOT/usr/man -type f -exec gzip -9f {} \;
214fi
215
216%find_lang %{name}
217
218#
219# remove the unnecessary desktop entries for RedHat/Vine
220#
221rm -f $RPM_BUILD_ROOT%{_datadir}/gnome/apps/*/Netscape.desktop
222rm -f $RPM_BUILD_ROOT%{_datadir}/gnome/apps/*/Emacs.desktop
223rm -f $RPM_BUILD_ROOT%{_datadir}/gnome/apps/*/GIMP.desktop
224
225#
226# install Kterm and some misc files. (for Vine)
227#
228install -m 755 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/pixmaps/
229cp %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/gnome/apps/System/
230cp %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/gnome/apps/System/.order
231cp %{SOURCE14} $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Development/.directory
232cp %{SOURCE15} $RPM_BUILD_ROOT%{_datadir}/control-center/Desktop/gnome-panel-properties.desktop
233#tar zxvf %{SOURCE16} -C $RPM_BUILD_ROOT%{_datadir}/gnome/apps
234
235%clean
236[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
237
238%post -p /sbin/ldconfig
239
240%postun -p /sbin/ldconfig
241
242%files -f %{name}.lang
243%defattr(-, root, root)
244%doc AUTHORS COPYING ChangeLog NEWS README
245%{_bindir}/*
246%{_datadir}/applets
247%{_datadir}/gnome/apps/*
248%{_datadir}/gnome/help/*
249%{_datadir}/gnome/hints/*
250%{_datadir}/gnome-about/*
251%{_datadir}/gnome-terminal/*
252%{_datadir}/idl/*
253%{_datadir}/control-center/*
254%{_datadir}/pixmaps/*
255%config %{_sysconfdir}/*
256%config %{_datadir}/gnome/default.session
257%config %{_datadir}/gnome/default.wm
258
259%files devel
260%defattr(-, root, root)
261%{_libdir}/*.sh
262%{_libdir}/*a
263%{_libdir}/lib*.so
264%{_includedir}/*
265
266%files libs
267%defattr(-, root, root)
268%{_libdir}/lib*.so.*
269
270
271%changelog
272* Sat Jan 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0.4-0vl7
273- split libraries to gnome-core-libs subpackage
274
275* Sun Apr 13 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.4.0.4-0vl6
276- rebuild
277
278* Mon Aug 12 2002 NISHIMURA Daisuke <nishi@graco.c.u-tokyo.ac.jp> 1.4.0.4-0vl5
279- Patch79: pam_console lock directory changed.
280- fix Summary(ja)
281
282* Wed Mar 27 2002 Daisuke SUZUKI <daisuke@linux.or.jp>  1.4.0.4-0vl4
283- add gedit/emacs on default panel
284
285* Sun Mar 03 2002 Daisuke SUZUKI <daisuke@linux.or.jp>  1.4.0.4-0vl3
286- change default panel
287- FIXME: adhoc Patch100
288  gnome-about,applets/gen_util needs gdk_pixbuf,
289  but its cflags does not appear in Makefile.am.
290
291* Mon May 14 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.4.0.4-0vl1
292- New upstream release.
293
294* Mon May  7 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.4.0.3-0vl1
295- New upstream release.
296
297* Fri Apr 13 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.4.0.2-0vl1
298- New upstream release.
299- Added some build depends.
300
301* Tue Apr  3 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.4.0.1-0vl1
302- New upstream release.
303
304* Sat Mar 24 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.4.0-0vl3
305- Fixed defattr macro.
306
307* Fri Mar 23 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.4.0-0vl2
308- Fixed load the panel icon after restart GNOME.
309
310* Fri Mar 16 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.4.0-0vl1
311- New upstream release.
312- Use rpmmacros.
313- Added some RH bug fix patch.
314
315* Sat Dec  9 2000 Jun Nishii <jun@vinelinux.org>
316- 1.2.1-0vl4
317- change startup pic as vine-gnome-splash2.png by lain
318- move vine-gnome-splash.png by Mr.Furukawa is moved to vine-logos.
319
320* Tue Oct 10 2000 Jun Nishii <jun@vinelinux.org>
321- fix %defattr
322
323* Sun Oct  1 2000 Jun Nishii <jun@vinelinux.org>
324- 1.2.1-0vl2
325- change menu (vmail->sylpheed)
326
327* Wed Jun  7 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
328- updated to 1.2.1
329
330* Mon May 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
331- updated to 1.2.0
332
333* Tue May 09 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
334- updated to 1.1.9
335- remove tasklist_fix patch merged
336- added new gnome-hints included japanese.
337
338* Tue Apr 14 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
339- updated to 1.1.8
340
341* Thu Apr  4 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
342- updated to 1.1.7
343- renew spec file from the file attached with gnome-core source.
344
345* Sat Feb 26 2000 Gregory McLean <gregm@comstar.net>
346- Updated to 1.1.4
347- Autogenerate the %files section.
348
349* Sat Oct 16 1999 Gregory McLean <gregm@comstar.net>
350- Updated to 1.0.50
351- Sorted the language specific stuff out.
352
353* Sun Oct 03 1999 Gregory McLean <gregm@comstar.net>
354- updated to 1.0.50
355- Overhauled the %files section.
356
357* Sat Nov 21 1998 Pablo Saratxaga <srtxg@chanae.alphanet.ch>
358
359- Cleaned %files section
360- added spanish and french translations for rpm
361
362* Wed Sep 23 1998 Michael Fulbright <msf@redhat.com>
363
364- Built 0.30 release
365
366* Fri Mar 13 1998 Marc Ewing <marc@redhat.com>
367
368- Integrate into gnome-core CVS source tree
369
Note: See TracBrowser for help on using the repository browser.