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