1 Summary: An alternative themeable window decorator
2 Summary(pl.UTF-8): Alternatywny dekorator okien z obsługą motywów
8 Group: X11/Applications
9 Source0: http://releases.compiz.org/%{version}/%{name}-%{version}.tar.bz2
10 # Source0-md5: e92fbe8252ea393206d98ed6ae9af4ec
11 Patch0: %{name}-desktop.patch
12 Patch1: %{name}-gtk+2_2_20.patch
13 Patch2: %{name}-no-gdk_display.patch
14 URL: http://www.compiz.org/
15 BuildRequires: autoconf >= 2.57
16 BuildRequires: automake >= 1:1.9
17 BuildRequires: compiz-devel >= %{version}
18 BuildRequires: dbus-glib-devel >= 0.50
19 BuildRequires: gettext-tools
20 BuildRequires: gtk+2-devel >= 2:2.8.0
21 BuildRequires: intltool >= 0.35.0
22 BuildRequires: libtool
23 BuildRequires: libwnck-devel >= 2.20.0
24 BuildRequires: pango-devel >= 1.10.0
25 BuildRequires: pkgconfig
26 BuildRequires: rpmbuild(macros) >= 1.311
27 BuildRequires: xorg-lib-libXrender-devel >= 0.8.4
28 Requires(post,postun): desktop-file-utils
29 Requires(post,postun): gtk-update-icon-cache
30 Requires(post,postun): hicolor-icon-theme
31 Requires(post,postun): shared-mime-info
32 Requires: compiz >= %{version}
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 emerald is window manager and tool to configure window decorations in
38 compiz, it use themes for windows' decorations.
40 %description -l pl.UTF-8
41 emerald to zarządca okien oraz narzędzie GTK+ do konfiguracji
42 dekoracji okien w compizie.
45 Summary: Header files for Emerald Engines library
46 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Emerald Engines
47 Group: X11/Development/Libraries
48 Requires: %{name} = %{epoch}:%{version}-%{release}
49 Requires: compiz-devel >= %{version}
50 Requires: dbus-glib-devel >= 0.50
51 Requires: gtk+2-devel >= 2:2.8.0
52 Requires: libwnck-devel >= 2.20.0
53 Requires: xorg-lib-libXrender-devel >= 0.8.4
56 Header files for Emerald Engines library.
58 %description devel -l pl.UTF-8
59 Pliki nagłówkowe biblioteki Emerald Engines.
62 Summary: Static Emerald Engines library
63 Summary(pl.UTF-8): Statyczna biblioteka Emerald Engines
64 Group: X11/Development/Libraries
65 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
68 Static Emerald Engines library.
70 %description static -l pl.UTF-8
71 Statyczna biblioteka Emerald Engines.
92 rm -rf $RPM_BUILD_ROOT
95 DESTDIR=$RPM_BUILD_ROOT
97 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/engines/*.{la,a}
98 # obsoleted GNOME mime-info stuff
99 rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
104 rm -rf $RPM_BUILD_ROOT
108 %update_desktop_database_post
109 %update_mime_database
110 %update_icon_cache hicolor
114 %update_desktop_database_postun
115 %update_mime_database
116 %update_icon_cache hicolor
118 %files -f %{name}.lang
119 %defattr(644,root,root,755)
120 %doc AUTHORS README TODO
121 %attr(755,root,root) %{_bindir}/emerald
122 %attr(755,root,root) %{_bindir}/emerald-theme-manager
123 %attr(755,root,root) %{_libdir}/libemeraldengine.so.*.*.*
124 %attr(755,root,root) %ghost %{_libdir}/libemeraldengine.so.0
125 %dir %{_libdir}/%{name}
126 %dir %{_libdir}/%{name}/engines
127 %attr(755,root,root) %{_libdir}/%{name}/engines/*.so
129 %{_datadir}/mime/packages/emerald.xml
130 %{_desktopdir}/emerald-theme-manager.desktop
131 %{_pixmapsdir}/emerald-theme-manager-icon.png
132 %{_iconsdir}/hicolor/*/*/*.png
133 %{_mandir}/man1/emerald.1*
134 %{_mandir}/man1/emerald-theme-manager.1*
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_libdir}/libemeraldengine.so
139 %{_libdir}/libemeraldengine.la
140 %{_includedir}/%{name}
141 %{_pkgconfigdir}/emeraldengine.pc
144 %defattr(644,root,root,755)
145 %{_libdir}/libemeraldengine.a