]>
Commit | Line | Data |
---|---|---|
dd3f3032 | 1 | Summary: An alternative themeable window decorator |
b27641c2 | 2 | Summary(pl.UTF-8): Alternatywny dekorator okien z obsługą motywów |
0206e08c | 3 | Name: emerald |
3b36efc0 | 4 | Version: 0.7.2 |
09900b6b | 5 | Release: 1 |
382e826a | 6 | Epoch: 1 |
33acd642 | 7 | License: GPL v2+ |
dd3f3032 | 8 | Group: X11/Applications |
3b36efc0 | 9 | Source0: http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.tar.bz2 |
10 | # Source0-md5: c0cf8304a633985a438b2aea102ff4dd | |
e01b5f28 | 11 | Patch0: %{name}-desktop.patch |
dd3f3032 | 12 | URL: http://forum.compiz-fusion.org/ |
0206e08c | 13 | BuildRequires: autoconf >= 2.57 |
33acd642 | 14 | BuildRequires: automake >= 1:1.9 |
dd3f3032 | 15 | BuildRequires: compiz-devel >= %{version} |
35ff338b | 16 | BuildRequires: dbus-glib-devel >= 0.50 |
0206e08c | 17 | BuildRequires: gtk+2-devel >= 2:2.8.0 |
35ff338b | 18 | BuildRequires: intltool >= 0.35.0 |
32e0a9d7 | 19 | # 2.19.4 (ffu) |
0206e08c | 20 | BuildRequires: libwnck-devel >= 2.14.1-2 |
35ff338b JB |
21 | BuildRequires: pango-devel >= 1.10.0 |
22 | BuildRequires: pkgconfig | |
4f301f4b | 23 | BuildRequires: rpmbuild(macros) >= 1.311 |
35ff338b | 24 | BuildRequires: xorg-lib-libXrender-devel >= 0.8.4 |
e01b5f28 | 25 | Requires(post,postun): desktop-file-utils |
4f301f4b MB |
26 | Requires(post,postun): gtk+2 |
27 | Requires(post,postun): hicolor-icon-theme | |
28 | Requires(post,postun): shared-mime-info | |
dd3f3032 | 29 | Requires: compiz >= %{version} |
33acd642 | 30 | Obsoletes: cgwd |
0206e08c RT |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %description | |
34 | emerald is window manager and tool to configure window decorations in | |
dd3f3032 | 35 | compiz, it use themes for windows' decorations. |
0206e08c | 36 | |
7b85d938 JR |
37 | %description -l pl.UTF-8 |
38 | emerald to zarządca okien oraz narzędzie GTK+ do konfiguracji | |
dd3f3032 | 39 | dekoracji okien w compizie. |
0206e08c RT |
40 | |
41 | %package devel | |
33acd642 | 42 | Summary: Header files for Emerald Engines library |
469ba4b5 | 43 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Emerald Engines |
33acd642 | 44 | Group: X11/Development/Libraries |
382e826a | 45 | Requires: %{name} = %{epoch}:%{version}-%{release} |
dd3f3032 | 46 | Requires: compiz-devel >= %{version} |
35ff338b JB |
47 | Requires: dbus-glib-devel >= 0.50 |
48 | Requires: gtk+2-devel >= 2:2.8.0 | |
49 | Requires: libwnck-devel >= 2.14.1-2 | |
50 | Requires: pango-devel >= 1.10.0 | |
51 | Requires: xorg-lib-libXrender-devel >= 0.8.4 | |
0206e08c RT |
52 | |
53 | %description devel | |
33acd642 | 54 | Header files for Emerald Engines library. |
0206e08c | 55 | |
7b85d938 JR |
56 | %description devel -l pl.UTF-8 |
57 | Pliki nagłówkowe biblioteki Emerald Engines. | |
0206e08c RT |
58 | |
59 | %package static | |
33acd642 | 60 | Summary: Static Emerald Engines library |
469ba4b5 | 61 | Summary(pl.UTF-8): Statyczna biblioteka Emerald Engines |
33acd642 | 62 | Group: X11/Development/Libraries |
382e826a | 63 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
0206e08c RT |
64 | |
65 | %description static | |
33acd642 | 66 | Static Emerald Engines library. |
0206e08c | 67 | |
7b85d938 | 68 | %description static -l pl.UTF-8 |
33acd642 | 69 | Statyczna biblioteka Emerald Engines. |
0206e08c RT |
70 | |
71 | %prep | |
5c55863f | 72 | %setup -q |
e01b5f28 | 73 | %patch0 -p1 |
0206e08c RT |
74 | |
75 | %build | |
33acd642 | 76 | %{__glib_gettextize} |
f9d78064 | 77 | %{__intltoolize} |
33acd642 JB |
78 | %{__libtoolize} |
79 | %{__aclocal} | |
80 | %{__autoconf} | |
81 | %{__autoheader} | |
82 | %{__automake} | |
0206e08c RT |
83 | %configure \ |
84 | --disable-mime-update | |
85 | %{__make} | |
86 | ||
87 | %install | |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | ||
90 | %{__make} install \ | |
91 | DESTDIR=$RPM_BUILD_ROOT | |
92 | ||
93 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/engines/*.{la,a} | |
4f301f4b MB |
94 | # obsoleted GNOME mime-info stuff |
95 | rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info | |
0206e08c | 96 | |
f9d78064 JB |
97 | %find_lang %{name} |
98 | ||
0206e08c RT |
99 | %clean |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
4f301f4b MB |
102 | %post |
103 | /sbin/ldconfig | |
e01b5f28 | 104 | %update_desktop_database_post |
4f301f4b MB |
105 | %update_mime_database |
106 | %update_icon_cache hicolor | |
107 | ||
108 | %postun | |
109 | /sbin/ldconfig | |
e01b5f28 | 110 | %update_desktop_database_postun |
4f301f4b MB |
111 | %update_mime_database |
112 | %update_icon_cache hicolor | |
0206e08c | 113 | |
f9d78064 | 114 | %files -f %{name}.lang |
0206e08c | 115 | %defattr(644,root,root,755) |
33acd642 | 116 | %doc README TODO |
0206e08c RT |
117 | %attr(755,root,root) %{_bindir}/* |
118 | %attr(755,root,root) %{_libdir}/libemeraldengine.so.*.*.* | |
0206e08c RT |
119 | %dir %{_libdir}/%{name} |
120 | %dir %{_libdir}/%{name}/engines | |
121 | %attr(755,root,root) %{_libdir}/%{name}/engines/*.so | |
33acd642 | 122 | %{_datadir}/%{name} |
0206e08c | 123 | %{_datadir}/mime/packages/emerald.xml |
33acd642 | 124 | %{_desktopdir}/emerald-theme-manager.desktop |
0206e08c RT |
125 | %{_pixmapsdir}/emerald-theme-manager-icon.png |
126 | %{_iconsdir}/hicolor/*/*/*.png | |
9476358b | 127 | %{_mandir}/man1/*.1* |
0206e08c RT |
128 | |
129 | %files devel | |
130 | %defattr(644,root,root,755) | |
35ff338b | 131 | %attr(755,root,root) %{_libdir}/libemeraldengine.so |
0206e08c RT |
132 | %{_libdir}/libemeraldengine.la |
133 | %dir %{_includedir}/%{name} | |
134 | %{_includedir}/%{name}/*.h | |
33acd642 | 135 | %{_pkgconfigdir}/emeraldengine.pc |
0206e08c RT |
136 | |
137 | %files static | |
138 | %defattr(644,root,root,755) | |
139 | %{_libdir}/libemeraldengine.a |