summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/other/kdmtheme/kde3-kdmtheme.spec
blob: 15c51d1d6b3cd3864248ac127a2b3b652713ebc6 (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
%define __libtoolize    /bin/true
%define oname kdmtheme
%define name kde3-%{oname}

Name:           %{name}
Summary:        Kdmtheme allow to change kdm theme
Version:        1.2.2
Release:        %mkrel 4
Source:         http://beta.smileaf.org/files/kdmtheme/%{oname}-%{version}.tar.bz2
URL:           	http://smileaf.org/
Group:		Graphical desktop/KDE3
BuildRoot:      %_tmppath/%oname-buildroot
License:	GPLv2+
BuildRequires:	kde3-macros
BuildRequires:	kdelibs-devel
BuildRequires:	desktop-file-utils
Requires:       kdebase-session-plugins
Patch0:		kdmtheme-0.8.2-use-kdesu.patch
Patch1:		kde-3.5.10-acinclude.patch
Patch2:		kdmtheme-1.2.2-new-autotools.patch

%description
Kdmtheme allow to change theme in kdm when we used gdm theme

%prep
%setup -q -n %{oname}-%{version}
%patch0 -p1 -b .fix_use_kdmtheme
%patch1 -p1
%patch2 -p1 -b .autotools

%build
make -f Makefile.cvs
%configure_kde3

%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

desktop-file-install --vendor='' \
	--dir %buildroot%_kde3_datadir/applications/kde/ \
	--remove-key='Encoding' \
	--add-category='DesktopSettings;Settings' \
	%buildroot%_kde3_datadir/applications/kde/*.desktop

%find_lang %oname --with-html

%clean
rm -rf $RPM_BUILD_ROOT

%if %mdkversion < 200900
%post
%{update_menus}

%postun
%{clean_menus}
%endif

%files -f %oname.lang
%defattr(-,root,root,0755)
%_kde3_libdir/kde3/kcm_kdmtheme.la
%_kde3_libdir/kde3/kcm_kdmtheme.so
%_kde3_datadir/applications/kde/*


%changelog
* Wed Jul 18 2011 Tim Williams <[email protected]> 1.2.2-3mvt2010.2
+ Rebuild for Trinity

* Wed Jul 21 2010 Tim Williams <[email protected]> 1.2.2-3mvt2010.0
+ Repackage for MDV 2010.1

* Tue Feb 09 2010 Atilla ÖNTAŞ <[email protected]> 1.2.2-2mvt2010.0
- Fix built with autoconf 2.65 and automake 1.11
- Fix SPEC according to filetriggers policy
- Change package group

* Fri Nov 20 2009 Atilla ÖNTAŞ <[email protected]> 1.2.2-1mvt2010.0
+ Rebuild for 2010.0

* Fri Feb 08 2008 Funda Wang <[email protected]> 1.2.2-1mdv2008.1
+ Revision: 163969
- add more categories for desktop entry
- New version 1.2.

  + Thierry Vignaud <[email protected]>
    - rebuild
    - kill re-definition of %%buildroot on Pixel's request
    - buildrequires X11-devel instead of XFree86-devel

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

* Mon May 07 2007 Laurent Montel <[email protected]> 1.1.3-1mdv2008.0
+ Revision: 23970
- 1.1.3


* Wed Jan 17 2007 Laurent Montel <[email protected]> 1.1.2-2mdv2007.0
+ Revision: 109749
- Fix autoconf detect
- Fix requires
- Import kdmtheme

* Sat Jun 24 2006 Laurent MONTEL <[email protected]> 1.1.2-1mdk
- 1.1.2

* Tue May 09 2006 Laurent MONTEL <[email protected]> 1.1-2mdk
- Rebuild to generate category

* Fri Mar 24 2006 Laurent MONTEL <[email protected]> 1.1-1mdk
- 1.1

* Tue Jan 31 2006 Laurent MONTEL <[email protected]> 1.0.1-1mdk
- 1.0.1

* Fri Dec 30 2005 Laurent MONTEL <[email protected]> 0.9.2-1mdk
- 0.9.2

* Thu Jul 21 2005 Laurent MONTEL <[email protected]> 0.9.1-1mdk
- 0.9.1

* Sat Jul 09 2005 Laurent MONTEL <[email protected]> 0.9-4mdk
- Rebuild

* Fri Apr 08 2005 Laurent MONTEL <[email protected]> 0.9-3mdk
- Fix compile on x86_64 (copy/paste is bad !!!)

* Thu Apr 07 2005 Laurent MONTEL <[email protected]> 0.9-2mdk
- Add patch2: fix disable widget

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

* Tue Apr 05 2005 Laurent MONTEL <[email protected]> 0.8.2-3mdk
- Patch1: Fix use kdesu

* Fri Mar 25 2005 Laurent MONTEL <[email protected]> 0.8.2-2mdk
- Fix build on x86_64

* Fri Mar 25 2005 Laurent MONTEL <[email protected]> 0.8.2-1mdk
- 0.8.2

* Thu Mar 24 2005 Laurent MONTEL <[email protected]> 0.6-1mdk
- 0.6
- Integrate my other patchs

* Wed Mar 23 2005 Laurent MONTEL <[email protected]> 0.5-1mdk
- 0.5
- Remove all my patch (all was add into release 0.5)

* Wed Mar 23 2005 Laurent MONTEL <[email protected]> 0.3-7mdk
- Add patch7: disable action when is not root

* Wed Mar 23 2005 Laurent MONTEL <[email protected]> 0.3-6mdk
- Add patch6: fix rootonly

* Wed Mar 23 2005 Laurent MONTEL <[email protected]> 0.3-5mdk
- Fix menu entry

* Wed Mar 23 2005 Laurent MONTEL <[email protected]> 0.3-4mdk
- Add patch5: fix reference

* Wed Mar 23 2005 Laurent MONTEL <[email protected]> 0.3-3mdk
- Add patch4: fix crash when "themes" doesn't exist

* Wed Mar 23 2005 Laurent MONTEL <[email protected]> 0.3-2mdk
- Add patch3: fix mem leak
- Fix url

* Wed Mar 23 2005 Laurent MONTEL <[email protected]> 0.3-1mdk
- First package