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