]> git.pld-linux.org Git - packages/metacity.git/blame - metacity.spec
- updated gettext BR
[packages/metacity.git] / metacity.spec
CommitLineData
64890753 1#
2e3ea8a6
JB
2# TODO:
3# - something with %{_datadir}/themes/Theme dirs (some belong to gnome-themes,
4# some don't belong anywhere...)
64890753 5# - metacity requires itself (links with installed libmetacity-private
6# instead of linking with built one?)
7#
f5f16985
JR
8#
9# Conditional build:
10%bcond_with gnome2 # build with support for GNOME2 wm-properties
11#
87da567d 12Summary: Metacity window manager
b07a4285 13Summary(pl.UTF-8): Zarządca okien Metacity
87da567d 14Name: metacity
1e123a24 15Version: 2.34.13
f96d82cd 16Release: 2
6d305f97 17Epoch: 2
bc1fce32 18License: GPL v2+
87da567d 19Group: X11/Window Managers
dd045fe8 20Source0: http://ftp.gnome.org/pub/GNOME/sources/metacity/2.34/%{name}-%{version}.tar.xz
1e123a24 21# Source0-md5: 6d89b71672d4fa49fc87f83d610d0ef6
b2d7ea4e 22BuildRequires: autoconf >= 2.50
770322ba 23BuildRequires: automake >= 1.11.1
7ae0160e 24BuildRequires: gettext-tools
770322ba 25BuildRequires: glib2-devel >= 2.6.0
2661a933 26BuildRequires: gnome-doc-utils >= 0.9.0
9412d5db 27BuildRequires: gtk+2-devel >= 2:2.20.0
a08f3266 28BuildRequires: intltool >= 0.40.0
2661a933
MB
29BuildRequires: libcanberra-gtk-devel
30BuildRequires: libgtop-devel
e45b6961 31BuildRequires: libtool
770322ba 32BuildRequires: pango-devel >= 1.2.0
bc1fce32 33BuildRequires: pkgconfig
4f26cd94 34BuildRequires: rpmbuild(macros) >= 1.197
b2d7ea4e 35BuildRequires: startup-notification-devel >= 0.8
dd045fe8 36BuildRequires: tar >= 1:1.22
921fc781 37BuildRequires: xorg-lib-libSM-devel
85844305
PZ
38# do we want to patch it?
39BuildRequires: zenity
dd045fe8 40BuildRequires: xz >= 1:4.999.7
1e123a24 41Requires(post,postun): glib2 >= 1:2.26.0
c648154c
MK
42Requires: %{name}-libs = %{epoch}:%{version}-%{release}
43Requires: metacity-theme-base = %{epoch}:%{version}-%{release}
85844305 44Requires: zenity
0106e2c1 45Provides: gnome-wm
a2f9ad66 46Provides: gdm-wm = 3.2.1-1
d88b4f9b 47# sr@Latn vs. sr@latin
6c041752 48Conflicts: filesystem < 3.0-20
d88b4f9b 49Conflicts: glibc-misc < 6:2.7
87da567d 50BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51
3e775fb8 52%description
7b917c18
AM
53Metacity is a simple window manager that integrates nicely with
54GNOME2.
3e775fb8 55
20cdb13d
JR
56%description -l pl.UTF-8
57Metacity jest prostym zarządcą okien ładnie integrującym się z GNOME2.
f5c269f2 58
64890753 59%package libs
60Summary: Metacity - libraries
b07a4285 61Summary(pl.UTF-8): Metacity - biblioteki
64890753 62Group: X11/Libraries
7b7119a3 63Conflicts: metacity <= 2.6.3-4
64890753 64
65%description libs
66This package contains libraries for Metacity window manager.
67
20cdb13d
JR
68%description libs -l pl.UTF-8
69Pakiet zawierający biblioteki zarządcy okien Metacity.
64890753 70
ec0e4853 71%package devel
64890753 72Summary: Metacity - header files
b07a4285 73Summary(pl.UTF-8): Metacity - pliki nagłówkowe
ec0e4853 74Group: X11/Development/Libraries
c648154c 75Requires: %{name}-libs = %{epoch}:%{version}-%{release}
da5ed010 76Requires: gtk+2-devel >= 2:2.20.0
ec0e4853 77
78%description devel
64890753 79This package contains header files for Metacity window manager.
ec0e4853 80
20cdb13d
JR
81%description devel -l pl.UTF-8
82Pakiet zawierający pliki nagłówkowe zarządcy okien Metacity.
ec0e4853 83
6268e2de 84%package static
64890753 85Summary: Static Metacity library
b07a4285 86Summary(pl.UTF-8): Statyczna biblioteka Metacity
daa3cd9f 87Group: X11/Development/Libraries
c648154c 88Requires: %{name}-devel = %{epoch}:%{version}-%{release}
27b6a9a0 89
6268e2de 90%description static
64890753 91Static version of Metacity library.
27b6a9a0 92
20cdb13d 93%description static -l pl.UTF-8
64890753 94Statyczna wersja biblioteki Metacity.
6268e2de 95
2e3ea8a6 96%package themes-AgingGorilla
64890753 97Summary: AgingGorilla theme for Metacity
b07a4285 98Summary(pl.UTF-8): Motyw AgingGorilla dla Metacity
eba44d1d 99Group: Themes/GTK+
c648154c
MK
100Requires: %{name} = %{epoch}:%{version}-%{release}
101Provides: metacity-theme-base = %{epoch}:%{version}-%{release}
bc1c51e3 102
103%description themes-AgingGorilla
64890753 104AgingGorilla theme for Metacity.
bc1c51e3 105
20cdb13d 106%description themes-AgingGorilla -l pl.UTF-8
64890753 107Motyw AgingGorilla dla Metacity.
bc1c51e3 108
2e3ea8a6 109%package themes-Atlanta
64890753 110Summary: Atlanta theme for Metacity
b07a4285 111Summary(pl.UTF-8): Motyw Atlanta dla Metacity
eba44d1d 112Group: Themes/GTK+
c648154c
MK
113Requires: %{name} = %{epoch}:%{version}-%{release}
114Provides: metacity-theme-base = %{epoch}:%{version}-%{release}
bc1c51e3 115
116%description themes-Atlanta
64890753 117Atlanta theme for Metacity.
bc1c51e3 118
20cdb13d 119%description themes-Atlanta -l pl.UTF-8
64890753 120Motyw Atlanta dla Metacity.
bc1c51e3 121
2e3ea8a6 122%package themes-Bright
64890753 123Summary: Bright theme for Metacity
b07a4285 124Summary(pl.UTF-8): Motyw Bright dla Metacity
eba44d1d 125Group: Themes/GTK+
c648154c
MK
126Requires: %{name} = %{epoch}:%{version}-%{release}
127Provides: metacity-theme-base = %{epoch}:%{version}-%{release}
bc1c51e3 128
129%description themes-Bright
64890753 130Bright theme for Metacity.
bc1c51e3 131
20cdb13d 132%description themes-Bright -l pl.UTF-8
64890753 133Motyw Bright dla Metacity.
bc1c51e3 134
2e3ea8a6 135%package themes-Crux
64890753 136Summary: Crux theme for Metacity
b07a4285 137Summary(pl.UTF-8): Motyw Crux dla Metacity
eba44d1d 138Group: Themes/GTK+
c648154c
MK
139Requires: %{name} = %{epoch}:%{version}-%{release}
140Provides: metacity-theme-base = %{epoch}:%{version}-%{release}
bc1c51e3 141
142%description themes-Crux
64890753 143Crux theme for Metacity.
bc1c51e3 144
20cdb13d 145%description themes-Crux -l pl.UTF-8
64890753 146Motyw Crux dla Metacity.
bc1c51e3 147
2e3ea8a6 148%package themes-Esco
64890753 149Summary: Esco theme for Metacity
b07a4285 150Summary(pl.UTF-8): Motyw Esco dla Metacity
eba44d1d 151Group: Themes/GTK+
c648154c
MK
152Requires: %{name} = %{epoch}:%{version}-%{release}
153Provides: metacity-theme-base = %{epoch}:%{version}-%{release}
bc1c51e3 154
155%description themes-Esco
64890753 156Esco theme for Metacity.
bc1c51e3 157
20cdb13d 158%description themes-Esco -l pl.UTF-8
64890753 159Motyw Esco dla Metacity.
bc1c51e3 160
2e3ea8a6 161%package themes-Metabox
64890753 162Summary: Metabox theme for Metacity
b07a4285 163Summary(pl.UTF-8): Motyw Metabox dla Metacity
eba44d1d 164Group: Themes/GTK+
c648154c
MK
165Requires: %{name} = %{epoch}:%{version}-%{release}
166Provides: metacity-theme-base = %{epoch}:%{version}-%{release}
bc1c51e3 167
168%description themes-Metabox
64890753 169Metabox theme for Metacity.
bc1c51e3 170
20cdb13d 171%description themes-Metabox -l pl.UTF-8
64890753 172Motyw Metabox dla Metacity.
bc1c51e3 173
2e3ea8a6 174%package themes-Simple
64890753 175Summary: Simple theme for Metacity
b07a4285 176Summary(pl.UTF-8): Motyw Simple dla Metacity
eba44d1d 177Group: Themes/GTK+
c648154c
MK
178Requires: %{name} = %{epoch}:%{version}-%{release}
179Provides: metacity-theme-base = %{epoch}:%{version}-%{release}
bc1c51e3 180
181%description themes-Simple
64890753 182Simple theme for Metacity.
bc1c51e3 183
20cdb13d 184%description themes-Simple -l pl.UTF-8
64890753 185Motyw Simple dla Metacity.
bc1c51e3 186
3e775fb8 187%prep
188%setup -q
d88b4f9b 189
3e775fb8 190%build
5605282c 191%{__intltoolize}
adac94c5 192%{__libtoolize}
d6208c57 193%{__aclocal}
efd80e8f 194%{__autoconf}
921fc781 195%{__autoheader}
efd80e8f 196%{__automake}
f6995a4b 197%configure \
f3b23e2c 198 --disable-schemas-install \
199 --enable-compositor
f5c269f2 200%{__make}
3e775fb8 201
202%install
203rm -rf $RPM_BUILD_ROOT
0cae1353 204install -d $RPM_BUILD_ROOT%{_datadir}/xml/metacity
3e775fb8 205
87da567d 206%{__make} install \
bcd55d18 207 DESTDIR=$RPM_BUILD_ROOT \
84ce6ed8 208 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
3e775fb8 209
e1b6c80d 210install doc/metacity-theme.dtd $RPM_BUILD_ROOT%{_datadir}/xml/metacity
3e775fb8 211
03f5fb27 212%{!?with_gnome2:%{__rm} $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties/metacity-wm.desktop}
f5f16985 213
a24b0d49
AF
214%{__rm} $RPM_BUILD_ROOT%{_libdir}/libmetacity-private.la
215
a08f3266 216%find_lang %{name} --with-gnome --all-name
3e775fb8 217
d6f8f681
JB
218%clean
219rm -rf $RPM_BUILD_ROOT
220
7b917c18 221%post
1e123a24 222%glib_compile_schemas
7b917c18 223
1e123a24
JR
224%postun
225%glib_compile_schemas
4f26cd94 226
1b588999 227%post libs -p /sbin/ldconfig
228%postun libs -p /sbin/ldconfig
bb127988 229
87da567d 230%files -f %{name}.lang
231%defattr(644,root,root,755)
2dc874c7 232%doc AUTHORS NEWS README rationales.txt doc/theme-format.txt
f0d2ab67
MB
233%attr(755,root,root) %{_bindir}/metacity
234%attr(755,root,root) %{_bindir}/metacity-message
235%attr(755,root,root) %{_bindir}/metacity-theme-viewer
236%attr(755,root,root) %{_bindir}/metacity-window-demo
1e123a24
JR
237%{_datadir}/GConf/gsettings/metacity-schemas.convert
238%{_datadir}/glib-2.0/schemas/org.gnome.metacity.gschema.xml
7b917c18 239%{_datadir}/%{name}
6c041752 240%{_desktopdir}/metacity.desktop
07f8b94d 241%{_datadir}/gnome-control-center/keybindings/*.xml
f5f16985 242%{?with_gnome2:%{_datadir}/gnome/wm-properties/metacity-wm.desktop}
2e3ea8a6 243%{_datadir}/xml/metacity
b2d7ea4e 244%{_mandir}/man1/metacity*.1*
bc1c51e3 245
246%files themes-AgingGorilla
247%defattr(644,root,root,755)
880d7399 248%{_datadir}/themes/AgingGorilla
bc1c51e3 249
250%files themes-Atlanta
251%defattr(644,root,root,755)
880d7399 252%{_datadir}/themes/Atlanta
bc1c51e3 253
254%files themes-Bright
255%defattr(644,root,root,755)
880d7399 256%{_datadir}/themes/Bright
bc1c51e3 257
258%files themes-Crux
259%defattr(644,root,root,755)
880d7399 260%{_datadir}/themes/Crux
bc1c51e3 261
262%files themes-Esco
263%defattr(644,root,root,755)
880d7399 264%{_datadir}/themes/Esco
bc1c51e3 265
266%files themes-Metabox
267%defattr(644,root,root,755)
880d7399 268%{_datadir}/themes/Metabox
bc1c51e3 269
270%files themes-Simple
271%defattr(644,root,root,755)
880d7399 272%{_datadir}/themes/Simple
ec0e4853 273
64890753 274%files libs
275%defattr(644,root,root,755)
f0d2ab67 276%attr(755,root,root) %{_libdir}/libmetacity-private.so.*.*.*
921fc781 277%attr(755,root,root) %ghost %{_libdir}/libmetacity-private.so.0
64890753 278
ec0e4853 279%files devel
280%defattr(644,root,root,755)
2dc874c7 281%doc ChangeLog HACKING doc/dialogs.txt
f0d2ab67 282%attr(755,root,root) %{_libdir}/libmetacity-private.so
f0d2ab67
MB
283%{_includedir}/metacity-1
284%{_pkgconfigdir}/libmetacity-private.pc
6268e2de 285
286%files static
287%defattr(644,root,root,755)
f0d2ab67 288%{_libdir}/libmetacity-private.a
This page took 0.196672 seconds and 4 git commands to generate.