Lines 1-12
Link Here
|
1 |
%define git 20060901 |
1 |
%define git 20060901 |
2 |
|
2 |
|
3 |
%def_enable gnome |
3 |
%def_enable gnome |
|
|
4 |
%def_enable kde |
4 |
%def_enable gconf |
5 |
%def_enable gconf |
5 |
%def_disable librsvg |
6 |
%def_disable librsvg |
6 |
|
7 |
|
7 |
Name: compiz |
8 |
Name: compiz |
8 |
Version: 0.0.13 |
9 |
Version: 0.0.13 |
9 |
Release: alt1.git%{git} |
10 |
Release: alt1.git%{git}.1 |
10 |
|
11 |
|
11 |
Summary: OpenGL window and compositing manager |
12 |
Summary: OpenGL window and compositing manager |
12 |
License: MIT/X11 GPL |
13 |
License: MIT/X11 GPL |
Lines 34-43
BuildRequires: glib2-devel libSM-devel l
Link Here
|
34 |
BuildRequires: libXrandr-devel libcairo-devel libjpeg-devel libmesa-devel |
35 |
BuildRequires: libXrandr-devel libcairo-devel libjpeg-devel libmesa-devel |
35 |
BuildRequires: libpng-devel libstartup-notification-devel libsvg-cairo-devel |
36 |
BuildRequires: libpng-devel libstartup-notification-devel libsvg-cairo-devel |
36 |
BuildRequires: libsvg-devel libxml2-devel pkg-config libGConf-devel |
37 |
BuildRequires: libsvg-devel libxml2-devel pkg-config libGConf-devel |
|
|
38 |
BuildRequires: libdbus-devel |
37 |
%if_enabled gnome |
39 |
%if_enabled gnome |
38 |
BuildRequires: GConf libgtk+2-devel libwnck-devel libpango-devel libpopt-devel |
40 |
BuildRequires: GConf libgtk+2-devel libwnck-devel libpango-devel libpopt-devel |
39 |
BuildRequires: gnome-control-center-devel libgnome-desktop-devel |
41 |
BuildRequires: gnome-control-center-devel libgnome-desktop-devel |
40 |
%endif |
42 |
%endif |
|
|
43 |
%if_enabled kde |
44 |
BuildRequires: libqt4-devel |
45 |
%endif |
41 |
%if_enabled librsvg |
46 |
%if_enabled librsvg |
42 |
BuildRequires: librsvg-devel |
47 |
BuildRequires: librsvg-devel |
43 |
%endif |
48 |
%endif |
Lines 55-60
Requires: %name = %version-%release
Link Here
|
55 |
%description gnome |
60 |
%description gnome |
56 |
Compiz window decorator for GNOME |
61 |
Compiz window decorator for GNOME |
57 |
|
62 |
|
|
|
63 |
%package kde |
64 |
Summary: KDE Compiz window decorator |
65 |
Group: Graphical desktop/KDE |
66 |
Requires: %name = %version-%release |
67 |
|
68 |
%description kde |
69 |
Compiz window decorator for KDE |
70 |
|
71 |
%package devel |
72 |
Summary: Development file for Compiz |
73 |
Group: Development/C |
74 |
Requires: %name = %version-%release |
75 |
|
76 |
%description devel |
77 |
Development file for Compiz |
78 |
|
79 |
|
58 |
%prep |
80 |
%prep |
59 |
%setup -q |
81 |
%setup -q |
60 |
|
82 |
|
Lines 69-80
Compiz window decorator for GNOME
Link Here
|
69 |
%patch105 -p0 |
91 |
%patch105 -p0 |
70 |
|
92 |
|
71 |
%__install -m644 %SOURCE1 images/ |
93 |
%__install -m644 %SOURCE1 images/ |
|
|
94 |
%__autoreconf |
72 |
|
95 |
|
73 |
%build |
96 |
%build |
74 |
%__autoreconf |
|
|
75 |
%configure \ |
97 |
%configure \ |
76 |
--disable-kde \ |
|
|
77 |
--disable-dbus \ |
78 |
%{subst_enable gnome} \ |
98 |
%{subst_enable gnome} \ |
79 |
%{subst_enable gconf} \ |
99 |
%{subst_enable gconf} \ |
80 |
%{subst_enable librsvg} \ |
100 |
%{subst_enable librsvg} \ |
Lines 119-127
fi
Link Here
|
119 |
%_datadir/gnome/wm-properties/%name.desktop |
139 |
%_datadir/gnome/wm-properties/%name.desktop |
120 |
%endif |
140 |
%endif |
121 |
|
141 |
|
122 |
#files devel |
142 |
%if_enabled kde |
123 |
#_includedir/compiz/compiz.h |
143 |
%files kde |
124 |
#_pkgconfigdir/compiz.pc |
144 |
%_bindir/kde-window-decorator |
|
|
145 |
%endif |
146 |
|
147 |
%files devel |
148 |
%_includedir/compiz/compiz.h |
149 |
%_pkgconfigdir/compiz.pc |
125 |
|
150 |
|
126 |
%changelog |
151 |
%changelog |
127 |
* Sat Sep 09 2006 Valery Inozemtsev <shrek@altlinux.ru> 0.0.13-alt1.git20060901 |
152 |
* Sat Sep 09 2006 Valery Inozemtsev <shrek@altlinux.ru> 0.0.13-alt1.git20060901 |