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-fusion.org/%{version}/%{name}-%{version}.tar.bz2
10 # Source0-md5: e87486acfc8a7af1aef1353b2dd05aa7
11 Patch0: %{name}-desktop.patch
12 URL: http://forum.compiz-fusion.org/
13 BuildRequires: autoconf >= 2.57
14 BuildRequires: automake >= 1:1.9
15 BuildRequires: compiz-devel >= %{version}
16 BuildRequires: dbus-glib-devel >= 0.50
17 BuildRequires: gettext-devel
18 BuildRequires: gtk+2-devel >= 2:2.8.0
19 BuildRequires: intltool >= 0.35.0
20 BuildRequires: libselinux-devel
22 BuildRequires: libwnck-devel >= 2.14.1-2
23 BuildRequires: pango-devel >= 1.10.0
24 BuildRequires: pkgconfig
25 BuildRequires: rpmbuild(macros) >= 1.311
26 BuildRequires: xorg-lib-libXrender-devel >= 0.8.4
27 Requires(post,postun): desktop-file-utils
28 Requires(post,postun): gtk+2
29 Requires(post,postun): hicolor-icon-theme
30 Requires(post,postun): shared-mime-info
31 Requires: compiz >= %{version}
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 emerald is window manager and tool to configure window decorations in
37 compiz, it use themes for windows' decorations.
39 %description -l pl.UTF-8
40 emerald to zarządca okien oraz narzędzie GTK+ do konfiguracji
41 dekoracji okien w compizie.
44 Summary: Header files for Emerald Engines library
45 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Emerald Engines
46 Group: X11/Development/Libraries
47 Requires: %{name} = %{epoch}:%{version}-%{release}
48 Requires: compiz-devel >= %{version}
49 Requires: dbus-glib-devel >= 0.50
50 Requires: gtk+2-devel >= 2:2.8.0
51 Requires: libwnck-devel >= 2.14.1-2
52 Requires: pango-devel >= 1.10.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.
90 rm -rf $RPM_BUILD_ROOT
93 DESTDIR=$RPM_BUILD_ROOT
95 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/engines/*.{la,a}
96 # obsoleted GNOME mime-info stuff
97 rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
102 rm -rf $RPM_BUILD_ROOT
106 %update_desktop_database_post
107 %update_mime_database
108 %update_icon_cache hicolor
112 %update_desktop_database_postun
113 %update_mime_database
114 %update_icon_cache hicolor
116 %files -f %{name}.lang
117 %defattr(644,root,root,755)
118 %doc AUTHORS README TODO
119 %attr(755,root,root) %{_bindir}/emerald
120 %attr(755,root,root) %{_bindir}/emerald-theme-manager
121 %attr(755,root,root) %{_libdir}/libemeraldengine.so.*.*.*
122 %attr(755,root,root) %ghost %{_libdir}/libemeraldengine.so.0
123 %dir %{_libdir}/%{name}
124 %dir %{_libdir}/%{name}/engines
125 %attr(755,root,root) %{_libdir}/%{name}/engines/*.so
127 %{_datadir}/mime/packages/emerald.xml
128 %{_desktopdir}/emerald-theme-manager.desktop
129 %{_pixmapsdir}/emerald-theme-manager-icon.png
130 %{_iconsdir}/hicolor/*/*/*.png
131 %{_mandir}/man1/emerald.1*
132 %{_mandir}/man1/emerald-theme-manager.1*
135 %defattr(644,root,root,755)
136 %attr(755,root,root) %{_libdir}/libemeraldengine.so
137 %{_libdir}/libemeraldengine.la
138 %dir %{_includedir}/%{name}
139 %{_includedir}/%{name}/*.h
140 %{_pkgconfigdir}/emeraldengine.pc
143 %defattr(644,root,root,755)
144 %{_libdir}/libemeraldengine.a