source: projects/specs/trunk/lib/libc/libcapplet0/libcapplet0-vl.spec @ 521

Revision 521, 16.9 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1# Note that this is NOT a relocatable package
2%define ccsingle control-center-single-0.3
3
4%define gettext_package control-center
5
6Summary: GNOME 1 control center library compatibility package
7Summary(ja): GNOME1 コントロールセンターライブラリ互換パッケージ
8Name: libcapplet0
9Version: 1.4.0.1
10Release: 11%{?_dist_release}
11License: GPL/LGPL
12Group: System Environment/Libraries
13Source: ftp://ftp.gnome.org/pub/control-center-%{version}.tar.gz
14
15Source11: control-center-pofiles.tar.gz
16Source12: %{ccsingle}.tar.gz
17
18BuildPrereq: gdk-pixbuf
19BuildRoot: %{_tmppath}/control-center-%{version}-root
20BuildRequires: gdk-pixbuf-devel
21BuildRequires: gnome-libs-devel >= 1.4.2
22BuildRequires: libxml-devel
23BuildRequires: imlib-devel libungif-devel
24BuildRequires: automake14
25BuildRequires: libpng-devel
26BuildRequires: db4-devel
27BuildRequires: gnome-vfs-devel
28
29Obsoletes: gnome
30
31URL: http://www.gnome.org
32
33Patch: control-center-nosound.patch
34Patch1: control-center-esdrelease.patch
35Patch3: control-center-fsbgpath.patch
36#Patch4: control-center-1.0.5-dontstartesd.patch
37#Patch5: control-center-1.0.5-newsession.patch
38#Patch6: control-center-1.0.5-fixclosedlg.patch
39Patch7: control-center-1.2.0-limitedbgs.patch
40
41#Patch8: control-center-1.0.5-smfixtry.patch
42
43#Patch22: control-center-1.0.5-warning.patch
44#Patch23: control-center-1.0.7pre-cappletrace.patch
45#Patch24: control-center-fixrevert.patch
46
47Patch25: control-center-1.4.0.1-bgcolor1.patch
48#Patch26: control-center-1.2.0-switch.patch
49Patch27: control-center-1.2.0-history.patch
50#Patch28: control-center-1.2.0-themesafety.patch
51Patch29: control-center-1.2.0-wmaker.patch
52Patch30: control-center-1.2.1-bigbg.patch
53#Patch31: control-center-1.2.1-noread.patch
54#Patch32: control-center-1.2.1-solidbg.patch
55#Patch33: control-center-1.2.2-fvwm2.patch
56# Japanese patch
57#Patch40: control-center-1.2.1-jp.patch
58# Korean-related patch (?) bug #23782
59#Patch41: control-center-1.2.2-fontset.patch
60Patch50: control-center-mixer.patch
61Patch51: control-center-xscreensaver-dpms.patch
62Patch52: control-center-1.4.0.1-multifix.patch
63Patch54: control-center-1.4.0.1-correct_config.patch
64Patch55: control-center-1.4.0.1-cleanup.patch
65Patch56: control-center-1.4.0.1-cjk.patch
66Patch57: control-center-1.4.0.1-setroothint.patch
67Patch58: control-center-1.4.0.1-uipropertiesmenu.patch
68Patch59: control-center-1.4.0.1-pixbufflags.patch
69Patch60: control-center-1.4.0.1-compileflags.patch
70Patch61: control-center-1.4.0.1-noscreensaver.patch
71Patch62: control-center-1.4.0.1-bg-radio-buttons.patch
72# Make the theme switcher write fontsets, not fonts
73Patch63: control-center-1.4.0.1-fontset.patch
74
75#sources/patches for Vine
76Patch103:       control-center-1.2.4-vinesplash.patch
77Patch106:       control-center-1.4.0.1-vinedefaults.patch
78
79%description
80
81This package provides the "libcapplet.so.0" library and header files
82as found in GNOME 1, used by some packages not yet ported to GNOME 2.
83
84%description -l ja
85
86このパッケージではまだ GNOME2 に移植されていないパッケージで使用されている
87GNOME1 の "libcapplet.so.0" ライブラリとそのヘッダファイルを提供しています。
88
89%package devel
90Summary: Header files for GNOME 1 control center library compatibility package
91Group: Development/Libraries
92Requires: libcapplet0 = %{version}
93Requires: gnome-libs-devel
94
95%description devel
96The libcapplet0-devel package contains the development environment
97needed for creating the capplets used in the GNOME 1 Control
98Center. This is only for compiling old applications not yet
99ported to GNOME 2.
100
101%prep
102%setup -q -n control-center-%{version} -a 12
103
104#(cd $RPM_BUILD_DIR/control-center-%{PACKAGE_VERSION}/capplets &&
105# tar xfz %{SOURCE3})
106# our translations
107tar zxf %{SOURCE11}
108
109%patch -p1 -b .nosound
110%patch1 -p1 -b .esdrelease
111%patch3 -p1 -b .fsbgpath
112#%patch4 -p1 -b .dontstartesd
113#%patch5 -p1 -b .newsession
114#%patch6 -p1 -b .fixclosedlg
115%patch7 -p1 -b .limitedbgs
116#%patch8 -p1 -b .smfixtry
117
118#%patch22 -p1 -b .warning
119#%patch23 -p1 -b .cappletrace
120#%patch24 -p1 -b .fixrevert
121
122%patch25 -p1 -b .bgcolor1
123
124#%patch26 -p1 -b .switch
125#%patch27 -p1 -b .history
126#%patch28 -p1 -b .themesafety
127%patch29 -p1 -b .wmaker
128%patch30 -p1 -b .bigbg
129#%patch31 -p1 -b .noread
130#%patch32 -p1 -b .solidbg
131#%patch33 -p1 -b .fvwm2
132#%patch40 -p1 -b .jp
133#%patch41 -p1 -b .fontset
134%patch50 -p1 -b .mixer
135%patch51 -p1 -b .dpms
136%patch52 -p1 -b .multifix
137%patch54 -p1 -b .correct_config
138%patch55 -p1 -b .cleanup
139%patch56 -p1 -b .cjk
140%patch57 -p1 -b .setroothint
141%patch58 -p1 -b .uipropertiesmenu
142%patch59 -p1 -b .pixbufflags
143#%patch60 -p1 -b .compileflags
144#%patch61 -p1 -b .screensaver
145%patch62 -p1 -b .bg-radio-buttons
146%patch63 -p1 -b .fontset
147
148%patch103 -p1 -b .vinesplash
149%patch106 -p1 -b .vinedefaults
150
151sed -e "s,/usr/share/idl,`pwd`/idl,g" \
152  %{ccsingle}/single-capplet-shell/Makefile.am > Makefile.am.new
153mv -f Makefile.am.new %{ccsingle}/single-capplet-shell/Makefile.am
154
155automake-1.4
156(cd %{ccsingle}; automake-1.4 || exit 1)
157
158# install new desktop entry and icon
159#cp %{SOURCE1} $RPM_BUILD_DIR/control-center-%{PACKAGE_VERSION}/control-center
160#cp %{SOURCE2} $RPM_BUILD_DIR/control-center-%{PACKAGE_VERSION}/control-center
161
162%build
163%configure --sysconfdir=/etc
164export tagname=CC
165make SUBDIRS="control-center idl po" LIBTOOL=/usr/bin/libtool
166
167export GNOME_LIBCONFIG_PATH=`pwd`/control-center
168sed -e "s,CAPPLET_INCLUDEDIR=\",CAPPLET_INCLUDEDIR=\"-I`pwd`/control-center ," \
169    -e "s,CAPPLET_LIBS=\",CAPPLET_LIBS=\"-L`pwd`/control-center ," \
170        control-center/cappletConf.sh > cappletConf.sh.new
171mv -f cappletConf.sh.new control-center/cappletConf.sh
172
173cd %{ccsingle}
174%configure
175make LIBTOOL=/usr/bin/libtool
176
177%install
178rm -rf $RPM_BUILD_ROOT
179
180export tagname=CC
181%makeinstall SUBDIRS="control-center idl po" sysconfdir=$RPM_BUILD_ROOT/etc LIBTOOL=/usr/bin/libtool
182
183# clear out ui props for now
184#rm -f $RPM_BUILD_ROOT%{prefix}/bin/ui-properties
185#rm -rf $RPM_BUILD_ROOT%{prefix}/share/control-center/UIOptions
186#rm -rf $RPM_BUILD_ROOT%{prefix}/share/gnome/apps/Settings/UIOptions
187
188# get rid of this, so it won't show up in panel menu. use start here
189# instead.
190rm -f $RPM_BUILD_ROOT%{prefix}/share/gnome/apps/Settings/gnomecc.desktop
191
192# get rid of files we don't want to ship
193rm -f $RPM_BUILD_ROOT/%{_bindir}/gnomecc
194rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
195rm -f $RPM_BUILD_ROOT/%{_datadir}/pixmaps/*
196rm -f $RPM_BUILD_ROOT/%{_datadir}/gnome/apps/Settings/gnomecc.desktop
197
198cd %{ccsingle}
199export tagname=CC
200%makeinstall sysconfdir=$RPM_BUILD_ROOT/etc LIBTOOL=/usr/bin/libtool
201cd ..
202
203%find_lang %{gettext_package}
204
205%clean
206rm -rf $RPM_BUILD_ROOT
207
208%post -p /sbin/ldconfig
209
210%postun -p /sbin/ldconfig
211
212%files -f %{gettext_package}.lang
213%defattr(-, root, root)
214%doc AUTHORS COPYING ChangeLog NEWS README
215%{_libdir}/lib*.so.*
216%{_sysconfdir}/CORBA/servers/gnomecc.gnorba
217%{_bindir}/gnomecc-single-shell
218
219%files devel
220%defattr(-, root, root)
221%{_libdir}/lib*.so
222%{_libdir}/*.a
223%{_libdir}/*Conf.sh
224%{_datadir}/idl
225%{_includedir}/*
226
227%changelog
228* Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.0.1-11vl5
229- applied new versioning policy, spec in utf-8
230
231* Thu Aug 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.0.1-10vl7
232- rebuilt with new toolchain
233- changed Group to System Environment/Libraries
234
235* Sat May 21 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.0.1-10vl6
236- Rebuild for VineSeed
237
238* Sat May 21 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.0.1-10vl5
239- Rebuild for VinePlus/3.0
240- added BuildRequires: libungif-devel (for imlib), gnome-vfs-devel
241
242* Thu Oct 21 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.0.1-10vl4
243- fixed spec file encoding
244- add Japanese description
245
246* Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.4.0.1-10vl3
247- rebuilt with db4-4.2.52
248
249* Wed May 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0.1-10vl2
250- rebuild with db4
251
252* Sat Jan 18 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0.1-10vl1
253- build for Vine Linux
254- add Vine patches from control-center-1.4.0.1-0vl8
255
256* Thu Nov  7 2002 Jeremy Katz <katzj@redhat.com> 1.4.0.1-10
257- rebuild for libdir changes, remove unpackaged files from buildroot
258
259* Wed Jul 31 2002 Havoc Pennington <hp@redhat.com>
260- require libpng-devel 70182
261
262* Wed Jul 31 2002 Elliot Lee <sopwith@redhat.com> 1.4.0.1-8
263- Make it work without libcapplet0-devel being already installed (#70342)
264
265* Thu Jul 25 2002 Havoc Pennington <hp@redhat.com>
266- fix gettext package name so we get translations and rebuild OK
267
268* Mon Jun 17 2002 Jeremy Katz <katzj@redhat.com>
269- add gnomecc-single-shell back so that gnome1 capplets can continue working
270
271* Sun May 26 2002 Tim Powers <timp@redhat.com>
272- automated rebuild
273
274* Thu May 16 2002 Bill Nottingham <notting@redhat.com>
275- remove some extraneous Requires:
276
277* Mon May 13 2002 Jeremy Katz <katzj@redhat.com>
278- rebuild in new environment
279
280* Thu Apr 25 2002 Havoc Pennington <hp@redhat.com>
281- rebuild in different environment
282- fix up automake stuff
283
284* Wed Apr 17 2002 Havoc Pennington <hp@redhat.com>
285- convert to compat package containing only libcapplet
286
287* Mon Apr 15 2002 Havoc Pennington <hp@redhat.com>
288- merge in translations
289
290* Fri Apr 12 2002 Owen Taylor <otaylor@redhat.com>
291- Make the theme selector write fontsets, not fonts (#62413)
292
293* Mon Apr  1 2002 Havoc Pennington <hp@redhat.com>
294- really put screensaver capplet back (I think)
295
296* Wed Mar 27 2002 Bill Nottingham <notting@redhat.com>
297- revert xscreensaver change
298
299* Wed Mar 27 2002 Havoc Pennington <hp@redhat.com>
300- init "Scaled" radio button correctly #61913
301
302* Mon Mar 25 2002 Havoc Pennington <hp@redhat.com>
303- change path to windowmaker config tool again, #61824
304
305* Thu Mar 14 2002 Bill Nottingham <notting@redhat.com>
306- rather than keep patching and patching it, use xscreensaver's own
307  capplet
308
309* Wed Feb 27 2002 Havoc Pennington <hp@redhat.com>
310- rebuild in Hampton
311
312* Wed Jan 30 2002 Jonathan Blandford <jrb@redhat.com>
313- Rebuild package.
314
315* Thu Jan 24 2002 Tim Powers <timp@redhat.com>
316- rebuilt against new openssl
317
318* Fri Jan 18 2002 Havoc Pennington <hp@redhat.com>
319- automake14
320- don't run auto* again in ccsingle subdir, not sure why we did that
321
322* Sun Oct 28 2001 Havoc Pennington <hp@redhat.com>
323- rebuild with new gnome-libs so that libcapplet has right cflags/libs
324- pixbufflags patch to make the rebuild work
325- compileflags patch to make control-center-single work
326
327* Wed Aug 29 2001 Havoc Pennington <hp@redhat.com>
328- fix #52831 (UI properties in Programs menu)
329
330* Mon Aug 27 2001 Havoc Pennington <hp@redhat.com>
331- Add po files from sources.redhat.com
332
333* Thu Aug 23 2001 Havoc Pennington <hp@redhat.com>
334- set the _XROOTCOLOR_PIXEL property, should fix
335  bug #52141
336
337* Wed Aug 22 2001 Yukihiro Nakai <ynakai@redhat.com>
338- Update translation.
339- Add CJK fontset patch
340
341* Thu Aug 16 2001 Jonathan Blandford <jrb@redhat.com>
342- New control-center-single to handle exiting, #51665
343
344* Wed Aug 01 2001 Havoc Pennington <hp@redhat.com>
345- remove .desktop file for gnomecc, so it won't appear
346  in panel menu, #49653
347
348* Mon Jul 30 2001 Jonathan Blandford <jrb@redhat.com>
349- allow to build without depending on control-center-devel
350
351* Mon Jul 23 2001 Jonathan Blandford <jrb@redhat.com>
352- Add BuildRequires
353
354* Mon Jul 16 2001 Jonathan Blandford <jrb@redhat.com>
355- New version of control-center-single
356
357* Thu Jul 12 2001 Alexander Larsson <alexl@redhat.com>
358- Change default background to the same as the nautilus one
359
360* Mon Jul 09 2001 Havoc Pennington <hp@redhat.com>
361- add hack to default to standalone control panels
362
363* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
364- Bump release + rebuild.
365
366* Tue May 22 2001 Havoc Pennington <hp@redhat.com>
367- putting in tree for David
368
369* Tue May 22 2001 David Sainty <dsainty@redhat.com>
370- improve DPMS patch for the try case, and enable patch
371
372* Wed May  2 2001 Bill Nottingham <notting@redhat.com>
373- add patch to use xscreensaver's DPMS stuff, require that version
374
375* Fri Apr 20 2001  <jrb@redhat.com>
376- New Version (1.4.0.1)
377
378* Wed Apr  4 2001 Bill Nottingham <notting@redhat.com>
379- kick the mixer once on startup if we aren't running esd
380
381* Thu Mar 15 2001 Havoc Pennington <hp@redhat.com>
382- translations
383
384* Thu Mar 01 2001 Owen Taylor <otaylor@redhat.com>
385- Rebuild for GTK+-1.2.9 include paths
386
387* Fri Feb 23 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
388- langify
389- don't define and use "ver" at the top of the file
390- move changelog to sane location
391
392* Thu Feb 08 2001 Elliot Lee <sopwith@redhat.com> 1.2.2-4
393- Apply patch from bug #23782 to see how it works
394
395* Fri Feb 02 2001 Elliot Lee <sopwith@redhat.com> 1.2.2-3
396- Include fvwm2.desktop in WM's
397
398* Sat Jan 27 2001 Akira TAGOH <tagoh@redhat.com>
399- Added Japanese patch.
400
401* Mon Dec 04 2000 Jonathan Blandford <jrb@redhat.com>
402- Update release.
403
404* Sun Aug 13 2000 Owen Taylor <otaylor@redhat.com>
405- Again, fix problem with solid backgrounds in bg-properties capplet
406  (patch got lost somewhere)
407
408* Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com>
409- Up Epoch and release
410
411* Thu Aug 10 2000 Owen Taylor <otaylor@redhat.com>
412- Handle unreadable desktop files without crashing
413
414* Mon Aug 07 2000 Owen Taylor <otaylor@redhat.com>
415- Fix problem with backgrounds bigger than screen.
416
417* Tue Aug 01 2000 Owen Taylor <otaylor@redhat.com>
418- Fix problem when ~/.gtkrc does not already exist.
419- Fix problem with solid backgrounds in bg-properties capplet
420
421* Tue Jul 18 2000 Owen Taylor <otaylor@redhat.com>
422- Sort of fix problem with people hitting OK while the
423  "Save Session" dialog is still up. (Session won't be saved,
424  but at least the selected entry will be correctly kept.)
425- Fix history list in background properties capplet
426- Fix problems with temporary files in theme-selector capplet
427
428* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
429- automatic rebuild
430
431* Mon Jun 19 2000 Owen Taylor <otaylor@redhat.com>
432- Require redhat-logos
433- Some spec file and FHS fixes
434- reposition embedded logo a bit
435
436* Mon Jun 19 2000 Owen Taylor <otaylor@redhat.com>
437- Add big change to use gdk-pixbuf for backgrounds and add
438  the ability to emboss the background with a logo
439
440* Mon Feb 28 2000 Preston Brown <pbrown@redhat.com>
441- revert .so strip
442
443* Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
444- strip .so lib
445- use configure macro
446
447* Mon Sep 20 1999 Jonathan Blandford <jrb@redhat.com>
448- changed to work with 1.0.40
449
450* Fri Sep 17 1999 Jonathan Blandford <jrb@redhat.com>
451- Added fixrevert bug to fix bug in theme selector.
452
453* Sun Jun 13 1999 Jonathan Blandford <jrb@redhat.com>
454- updated RPM to use new control-center.
455
456* Wed Apr 07 1999 Michael Fulbright <drmike@redhat.com>
457- fixed sound-properties to only disable sound when run with --init-settings-..
458- removed debugging output from several capplets, fixed try behaviour of sm and
459  gnome-edit capplets
460- fixed bug in screensaver and background props
461- added new icons
462
463* Mon Apr 05 1999 Jonathan Blandford <jrb@redhat.com>
464- added a patch to fix the close dialog
465- added a patch to limit the number of bg's in the history.
466
467* Fri Apr 02 1999 Jonathan Blandford <jrb@redhat.com>
468- vesion 1.0.5
469- removed all patches >10 other then dontstartesd.
470
471* Thu Apr 01 1999 Michael Fulbright <drmike@redhat.com>
472- removed UI props till it works better
473
474* Wed Mar 31 1999 Michael Fulbright <drmike@redhat.com>
475- make sure we DONT inadvertantly start esd by calling esd_open_...
476
477* Tue Mar 30 1999 Michael Fulbright <drmike@redhat.com>
478- changed default bg color to '#356390'
479
480* Thu Mar 25 1999 Michael Fulbright <drmike@redhat.com>
481- prime file selector path for browse in background-props if
482  "/usr/share/pixmaps/backgrounds/" exists.
483- fix behavior of file selector when you delete/cancel/ok it
484
485* Wed Mar 24 1999 Michael Fulbright <drmike@redhat.com>
486- added patch to fix trying in theme selector
487- disabled crystal screensaver, it does evil things to preview in capplet
488
489* Mon Mar 22 1999 Michael Fulbright <drmike@redhat.com>
490- version 1.0.4, fixes problems with sndprops and theme props among
491  other things.
492
493* Thu Mar 18 1999 Michael Fulbright <drmike@redhat.com>
494- fix sound-properties capplet so Try/Revert doesnt come on unless user
495  changes something
496- fixed theme-selector to not leave processes behind on Linux 2.2 kernels
497- strip binaries
498
499* Sun Mar 14 1999 Michael Fulbright <drmike@redhat.com>
500- version 1.0.3
501- added patch to make esd release after 30 sec of inactivity
502
503* Wed Mar 10 1999 Michael Fulbright <drmike@redhat.com>
504- version 1.0.2
505- turned off sound by default
506
507* Thu Mar 04 1999 Michael Fulbright <drmike@redhat.com>
508- version 1.0.1
509
510* Mon Feb 15 1999 Michael Fulbright <drmike@redhat.com>
511- version 0.99.8.1
512- added etc/CORBA/servers/* to file list
513
514* Fri Feb 12 1999 Michael Fulbright <drmike@redhat.com>
515- update to 0.99.8
516- added /usr/lib/cappletConf.sh
517
518* Mon Feb 08 1999 The Rasterman <raster@redhat.com>
519- update to 0.99.5.1
520
521* Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com>
522- update to 0.99.5
523
524* Mon Jan 20 1999 Michael Fulbright <drmike@redhat.com>
525- update to 0.99.3.1
526
527* Mon Jan 18 1999 Michael Fulbright <drmike@redhat.com>
528- update to 0.99.3
529- seems like patch for non-standard xscreensaver placement was already in
530  prestine sources(?)
531
532* Wed Jan 06 1999 Jonathan Blandford <jrb@redhat.com>
533- updated to 0.99.1
534- temporary hack patch to get path to work to non-standard placement
535  of xscreensaver binaries in RH 5.2
536
537* Wed Dec 16 1998 Jonathan Blandford <jrb@redhat.com>
538- Created for the new control-center branch
539
Note: See TracBrowser for help on using the repository browser.