summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/kdeartwork/kde3-kdeartwork.spec
blob: b1268a297655cdf5fe486b70b7331693ac888531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
%define oname kdeartwork

Name: kde3-%{oname}
Version: 3.5.12
Release: %mkrel 1
Group: Graphical desktop/KDE3
Summary: Kdeartwork
URL: http://www.kde.org
License: GPL
Source: ftp://ftp.kde.org/pub/kde/stable/%version/src/%oname-%version.tar.bz2
Patch1:	kdeartwork-3.5.4-fix-screensaver-only-showin-kde.patch
Patch2:	kdeartwork-3.5.5-fix-default-inherits-theme.patch
#Patch3:	kdeartwork-3.5.6-fix-screensaver-nodisplay.patch
Patch4: kde-3.5.10-acinclude.patch
#Patch5: fix_autotools.patch

BuildRoot: %_tmppath/%name-%version-%release-root

BuildRequires: kde3-macros
%if %mdkversion < 201000
BuildRequires: autoconf <= 1:2.63
%endif
BuildRequires: autoconf >= 1:2.65
BuildRequires: automake > 1.5
BuildRequires: X11-devel 
BuildRequires: freetype2-devel
BuildRequires: kdebase3-devel 
BuildRequires: kdelibs-devel >= 3.2-13mdk 
BuildRequires: bzip2-devel 
BuildRequires: libintl 
BuildRequires: jpeg-devel 
BuildRequires: lcms-devel 
BuildRequires: mng-devel
BuildRequires: png-devel 
BuildRequires: qt3-devel
BuildRequires: libz-devel 
BuildRequires:	xscreensaver
BuildRequires:	xscreensaver-gl
BuildRequires: mesaglut-devel
BuildRequires: mesaglu-devel
BuildRequires: GL-devel
Requires: kdebase-progs >= 1:3.2
Requires: kdeartwork-screensavers
Provides: kdeartwork3 = %version-%release
Provides: %{oname} = %version-%release
Provides: kde-style-phase 
Provides: kde-theme-phase
Provides: kwin-style-smoothblend
Obsoletes: kdemoreartwork-plastik < 3.5.3
Obsoletes: kde-style-phase kde-theme-phase
Obsoletes: kwin-style-smoothblend
Obsoletes: kdeartwork3
Obsoletes: %{oname}
Conflicts: kdebase <= 2.2.2-93mdk
Conflicts: libkdebase4 <= 1:3.4.2-56mdk 
Conflicts: kdebase-common <= 1:3.4.2-56mdk

%description
Additional artwork (themes, sound themes, icons,etc...) for KDE.

%files
%defattr(-,root,root,-)
%_kde3_libdir/kde3/*
%_kde3_appsdir/kstyle
%_kde3_appsdir/kwin
%_kde3_appsdir/kworldclock
%_kde3_datadir/emoticons/*
%_kde3_datadir/wallpapers/*
%_kde3_datadir/sounds/*

#-------------------------------------------------------------------------

%package icons-theme-kdeclassic
Summary:  Default Icons from kde3.0 
Group: Graphical desktop/KDE3
Obsoletes: kdeartwork-kde-classic
Provides: %{oname}-icons-theme-kdeclassic = %version-%release
Obsoletes: %{oname}-icons-theme-kdeclassic

%description icons-theme-kdeclassic
Default Icons from kde3.0.

%files icons-theme-kdeclassic
%defattr(-,root,root,-)
%dir %_kde3_iconsdir/kdeclassic/
%_kde3_iconsdir/kdeclassic/*

#-------------------------------------------------------------------------

%package icons-theme-Locolor
Summary:  Default Icons from kde3.0 
Group: Graphical desktop/KDE3
Provides: %{oname}-icons-theme-Locolor = %version-%release
Obsoletes: %{oname}-icons-theme-Locolor

%description icons-theme-Locolor
Locolor icons theme

%files icons-theme-Locolor
%defattr(-,root,root,-)
%dir %_kde3_iconsdir/Locolor/
%_kde3_iconsdir/Locolor/*

#-------------------------------------------------------------------------

%package icons-theme-ikons
Summary:  Default Icons from kde3.0 
Group: Graphical desktop/KDE3
Provides: %{oname}-icons-theme-ikons = %version-%release
Obsoletes: %{oname}-icons-theme-ikons

%description icons-theme-ikons
ikons icons theme

%files icons-theme-ikons
%defattr(-,root,root,-)
%dir %_kde3_iconsdir/ikons/
%_kde3_iconsdir/ikons/*

#-------------------------------------------------------------------------

%package icons-theme-kids
Summary:  Default Icons from kde3.0 
Group: Graphical desktop/KDE3
Provides: %{oname}-icons-theme-kids = %version-%release
Obsoletes: %{oname}-icons-theme-kids

%description icons-theme-kids
kids icons theme

%files icons-theme-kids
%defattr(-,root,root,-)
%dir %_kde3_iconsdir/kids/
%_kde3_iconsdir/kids/*

#-------------------------------------------------------------------------

%package icons-theme-slick
Summary:  Default Icons from kde3.0 
Group: Graphical desktop/KDE3
Provides: %{oname}-icons-theme-slick = %version-%release
Obsoletes: %{oname}-icons-theme-slick

%description icons-theme-slick
Slick icons theme

%files icons-theme-slick
%defattr(-,root,root,-)
%dir %_kde3_iconsdir/slick/
%_kde3_iconsdir/slick/*

#-------------------------------------------------------------------------

%package screensavers
Summary: Screensaver using OpenGL 
Group: Graphical desktop/KDE3
Requires: kdebase-progs >= 3.2
Obsoletes: kdeartwork <= 3.5.7-%mkrel 2
Provides: %{oname}-screensavers = %version-%release
Obsoletes: %{oname}-screensavers

%description screensavers
Screensaver using OpenGL.

%files screensavers -f savers.files
%defattr(-,root,root,-)
%_kde3_appsdir/kfiresaver
%_kde3_appsdir/kscreensaver

#-------------------------------------------------------------------------

%package screensavers-gl
Summary: Screensaver using OpenGL 
Group: Graphical desktop/KDE3
Requires: kdebase-progs >= 3.2
Requires: %name-screensavers
Requires: xscreensaver-gl
Obsoletes: kdeartwork <= 3.5.7-%mkrel 2
Obsoletes: kdeartwork-screensaver-gl
Provides: %{oname}-screensavers-gl = %version-%release
Obsoletes: %{oname}-screensavers-gl

%description screensavers-gl
Screensaver using OpenGL.

%files screensavers-gl -f glsavers.files
%defattr(-,root,root,-)

#-------------------------------------------------------------------------

%prep
%setup  -q -n %{oname}-%{version}
%patch1 -p1 -b .fix_screensaver_onlyshowinkde
%patch2 -p1 -b .fix_inherit_theme
#%patch3 -p1 -b .fix_screensaver_nodisplay
%if %mdkversion >= 201000
%patch4 -p1
#%patch5 -p1
%endif

%build
make -f admin/Makefile.common cvs

PATH=%{qt3dir}/bin:%{_kde3_bindir}:$PATH; export PATH;
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/kde3/lib/

%configure_kde3

%make


%install
rm -fr %buildroot

make install DESTDIR=%buildroot

install -d %buildroot/%_menudir/

export PATH=%_kde3_bindir:$PATH

# Legal issues ?
rm -f %buildroot/%_kde3_bindir/kmatrix.kss
rm -f %buildroot/%_kde3_datadir/applnk/System/ScreenSavers/KMatrix.desktop
rm -f %buildroot/%_kde3_datadir/applnk/System/ScreenSavers/glmatrix.desktop
rm -f %buildroot/%_kde3_datadir/applnk/System/ScreenSavers/xmatrix.desktop

# Screensaver list
rm -f glsavers.files savers.files
for name in `find %buildroot -type f |grep ScreenSaver`; do
     if grep -qs "Type=OpenGL" $name; then 
        echo $name | sed -e "s,%buildroot%_kde3_datadir,%_kde3_datadir,g" >> glsavers.files
        if ! grep -qs "TryExec=xscreensaver" $name; then
            grep Exec= $name | grep -v TryExec | head -1 | sed -e "s,Exec=,%_kde3_bindir/,g" -e "s, .*,,g" >> glsavers.files
        fi
     else
        echo $name | sed -e "s,%buildroot%_kde3_datadir,%_kde3_datadir,g" >> savers.files
        if ! grep -qs "TryExec=xscreensaver" $name; then
            if ! grep -qs "fiberlamp" $name; then
            grep Exec= $name | grep -v TryExec | head -1 | sed -e "s,Exec=,%_kde3_bindir/,g" -e "s, .*,,g" >> savers.files
            fi
        fi
    fi 
done

%clean
rm -fr %buildroot



%changelog

* Mon Jul 19 2010 Tim Williams <[email protected]> 3.5.12-1mvf2010.2
+ Rebuild for MDV 2010.2/Trinity
+ Added KDE/Trinity 3.5.12 sources
- Remove fix_autotools.patch, kdeartwork-3.5.6-fix-screensaver-nodisplay.patch

* Mon Jul 19 2010 Tim Williams <[email protected]> 3.5.10-4mvt2010.1
+ Rebuild for MDV 2010.1

* Sun Jan 17 2010 Atilla ÖNTAŞ <[email protected]> 3.5.10-3mvt2010.0
+ KDE builds with autoconf 2.65, add patch for this and
  set autoconf to version 2.65:patch4
+ Fix automake 1.11 issue:patch5
+ Rename package to avoid KDE4 conflicts

* Mon Nov 16 2009 Tim Williams <[email protected]> 3.5.10-1mdv2010.0
+ Add kde 3.5.10 sources package
+ Fix kdeartwork-3.5.4-fix-screensaver-only-showin-kde.patch
+ Fix kdeartwork-3.5.6-fix-screensaver-nodisplay.patch

* Fri Aug 08 2008 Thierry Vignaud <[email protected]> 3.5.9-6mdv2009.0
+ Revision: 267768
- rebuild early 2009.0 package (before pixel changes)

* Wed Jun 11 2008 Funda Wang <[email protected]> 3.5.9-5mdv2009.0
+ Revision: 217839
- rebuid for new rpm binary payload

* Sun Jun 08 2008 Funda Wang <[email protected]> 3.5.9-4mdv2009.0
+ Revision: 216918
- rebuild for new ldflags

* Wed May 07 2008 Helio Chissini de Castro <[email protected]> 3.5.9-3mdv2009.0
+ Revision: 203697
- Move to /opt

  + Nicolas Lécureuil <[email protected]>
    - Rebuild for backports

* Fri Feb 15 2008 Helio Chissini de Castro <[email protected]> 3.5.9-1mdv2008.1
+ Revision: 169159
- Get away from branches. Last KDE 3 arriving !!
- Removed post-3.5.8 patches integrated

  + Thierry Vignaud <[email protected]>
    - fix summary-not-capitalized

  + Olivier Blin <[email protected]>
    - restore BuildRoot

* Mon Dec 31 2007 Oden Eriksson <[email protected]> 3.5.8-2mdv2008.1
+ Revision: 139862
- rebuilt against openldap-2.4.7 libs

  + Thierry Vignaud <[email protected]>
    - kill re-definition of %%buildroot on Pixel's request

  + Nicolas Lécureuil <[email protected]>
    - Add usptream 3.5.9 branch patches
      	- Be more random with the slideshow screensaver.
      	- Handle properly display height/width ratio.

* Sun Oct 28 2007 Nicolas Lécureuil <[email protected]> 3.5.8-1mdv2008.1
+ Revision: 102776
- Kde 3.5.8

* Sat Jun 09 2007 Helio Chissini de Castro <[email protected]> 3.5.7-3mdv2008.0
+ Revision: 37629
- Split packages
- Remove broken changelog on spec
- Separate screensaver and icon packages properly

  + Nicolas Lécureuil <[email protected]>
    - Add a Obsoletes for kwin-style-smoothblend (bug #25452)

* Wed May 16 2007 Helio Chissini de Castro <[email protected]> 3.5.7-1mdv2008.0
+ Revision: 27459
- 3.5.7 release


* Sat Mar 31 2007 Laurent Montel <[email protected]> 3.5.6-2mdv2007.1
+ Revision: 149988
- don't display screensaver
- 3.5.6
- Use iconsdir macro
- Fix inherite theme

* Wed Oct 18 2006 Laurent Montel <[email protected]> 3.5.5-1mdv2007.1
+ Revision: 65948
- 3.5.5

* Sat Sep 16 2006 Laurent Montel <[email protected]> 3.5.4-3mdv2007.0
+ Revision: 61557
- New package(2006-09-15 3mdv)
  Fix only show screensaver into kde

* Fri Sep 01 2006 Laurent Montel <[email protected]> 3.5.4-2mdv2007.0
+ Revision: 58952
- Fix upgrade
- New package (2006/08/04 3.5.4-1mdv)
- don't requires on metapackage
- Fix compile on mdk2006
- 3.5.3
- Rebuild against new xorg
- Rebuild to generate category
- Fix spec file
- 3.5.2
- Fix spec file
- Fix spec file
- 3.5.1
- Enable debug for cooker
  MDK9.2 is obsolete now
- Fix conflict with mdk2006
- Fix compile on mdk <2006
- Fix file list for mdk 2006
- Fix spec file
- real 3.5.0
- 3.5.0
- Rebuild with new qt3.3.5
- Add conflict with kdebase
- 3.4.92
- Fix build on x86_64
- Rebuild
- Obsolete/provides kde-style-phase kde-theme-phase
  Patch from neoclust
- 3.4.2

  + Helio Chissini de Castro <[email protected]>
    - Cleaned spec
    - Added tarball from kde branch as discussed on meeting in 28/06
    - Removed rpath and added configure macro invalidating libtoolize
    - We are Mandriva now
    - Uploading package ./kdeartwork

  + Andreas Hasenack <[email protected]>
    - renamed mdv to packages because mdv is too generic and it's hosting only packages anyway

* Thu May 05 2005 Laurent MONTEL <[email protected]> 3.4.0-4mdk
- Rebuild

* Wed Apr 20 2005 Laurent MONTEL <[email protected]> 3.4.0-3mdk
- Add BuildREquires on xscreensaver-gl (reported by Arnaud de Lorbeau )

* Sat Apr 16 2005 Laurent MONTEL <[email protected]> 3.4.0-2mdk
- Change email
- Activate debug
- Active -fvisibility same as for ppc
- Use --enable-new-ldflags

* Thu Apr 07 2005 Laurent MONTEL <[email protected]> 3.4.0-1mdk
- 3.4.0

* Mon Mar 07 2005 Laurent MONTEL <[email protected]> 3.3.2-14mdk
- Rebuild

* Mon Feb 28 2005 Laurent MONTEL <[email protected]> 3.3.2-13mdk
- Add patch10: fix other plastik ininitialise variable

* Fri Feb 25 2005 Laurent MONTEL <[email protected]> 3.3.2-12mdk
- Add patch9: fix plastik initial variable

* Thu Feb 10 2005 Laurent MONTEL <[email protected]> 3.3.2-11mdk
- Disable debug

* Thu Jan 27 2005 Laurent MONTEL <[email protected]> 3.3.2-10mdk
- Fix screensaver (use directly screensaver into applnk, it's hidden by default and it fixed all bug with new xdg menu (for screensaver))

* Mon Jan 24 2005 Laurent MONTEL <[email protected]> 3.3.2-9mdk
- Fix plastik kde bug #97681
- Don't use -fvisibility for ppc

* Sat Jan 15 2005 Laurent MONTEL <[email protected]> 3.3.2-8mdk
- Add patch7: allow to disable visibility

* Sat Jan 15 2005 Laurent MONTEL <[email protected]> 3.3.2-7mdk
- Add patch6: fix plastik kde bug #73873

* Mon Jan 10 2005 Laurent MONTEL <[email protected]> 3.3.2-6mdk
- Now plastik style

* Mon Jan 10 2005 Laurent MONTEL <[email protected]> 3.3.2-5mdk
- Fix other kde_export

* Sat Jan 08 2005 Laurent MONTEL <[email protected]> 3.3.2-4mdk
- Fix export into plastik style

* Fri Jan 07 2005 Laurent MONTEL <[email protected]> 3.3.2-3mdk
- Use -fvisibility

* Wed Dec 08 2004 Laurent MONTEL <[email protected]> 3.3.2-2mdk
- Fix menu

* Thu Dec 02 2004 Laurent MONTEL <[email protected]> 3.3.2-1mdk
- 3.3.2

* Thu Oct 28 2004 Laurent MONTEL <[email protected]> 3.3.1-3mdk
- Bye-bye %%buildfor

* Wed Oct 13 2004 Laurent MONTEL <[email protected]> 3.3.1-2mdk
- Deprecated mdk < 9.2

* Sat Oct 09 2004 Laurent MONTEL <[email protected]> 3.3.1-1mdk
- 3.3.1

* Sat Oct 02 2004 Laurent MONTEL <[email protected]> 3.3.0-5mdk
- Sync with CVS

* Fri Oct 01 2004 Laurent MONTEL <[email protected]> 3.3.0-4mdk
- Fix menu entry

* Sat Sep 11 2004 Laurent MONTEL <[email protected]> 3.3.0-3mdk
- Remove dependance on xscreensaver

* Thu Sep 09 2004 Laurent MONTEL <[email protected]> 3.3.0-2mdk
- Sync with CVS

* Fri Sep 03 2004 Laurent MONTEL <[email protected]> 3.3.0-1mdk
- 3.3.0

* Wed Sep 01 2004 Laurent MONTEL <[email protected]> 3.2.3-10mdk
- Add patch7: fix kde bug #83406 "kslideshow screensaver does not start nor
					configure when images directory does not exist anymore"

* Fri Aug 13 2004 Laurent MONTEL <[email protected]> 3.2.3-9mdk
- Remove explicite requires just for icons

* Tue Aug 10 2004 Laurent MONTEL <[email protected]> 3.2.3-8mdk
- Disable debug

* Thu Aug 05 2004 Laurent MONTEL <[email protected]> 3.2.3-7mdk
- Add patch6: fix kde1 style kde bug #73592

* Fri Jul 30 2004 Laurent MONTEL <[email protected]> 3.2.3-6mdk
- fix spec file

* Thu Jul 22 2004 Laurent MONTEL <[email protected]> 3.2.3-5mdk
- Remove rpath

* Thu Jul 08 2004 Laurent MONTEL <[email protected]> 3.2.3-4mdk
- Create package for opengl screensaver

* Wed Jul 07 2004 Laurent MONTEL <[email protected]> 3.2.3-3mdk
- Rebuild with new kdedesktop2mdkmenu.pl

* Tue Jul 06 2004 Laurent MONTEL <[email protected]> 3.2.3-2mdk
- Create screensaver from xscreensaver

* Tue Jun 15 2004 Laurent MONTEL <[email protected]> 3.2.3-1mdk
- 3.2.3

* Sat Jun 05 2004 Montel Laurent <[email protected]> 3.2.2-5mdk
- Rebuild

* Wed Jun 02 2004 Laurent MONTEL <[email protected]> 3.2.2-4mdk
- Rebuild with debug

* Fri May 07 2004 Laurent MONTEL <[email protected]> 3.2.2-3mdk
- Rebuild against qt 3.3.2

* Thu Apr 22 2004 Laurent MONTEL <[email protected]> 3.2.2-2mdk
- Fix twice 64x64 directory bug reported by Pascal BILLERY-SCHNEIDER <[email protected]>

* Tue Apr 20 2004 Laurent MONTEL <[email protected]> 3.2.2-1mdk
- 3.2.2

* Wed Apr 07 2004 Laurent MONTEL <[email protected]> 3.2.1-2mdk
- Fix spec file to using rpmbuildupdate

* Sat Apr 03 2004 Laurent MONTEL <[email protected]> 3.2.1-1mdk
- 3.2.1