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