]> git.pld-linux.org Git - packages/emerald.git/blame - emerald.spec
- update to 0.7.4 (patch by Lukasz Kies in pld-devel-en@ list)
[packages/emerald.git] / emerald.spec
CommitLineData
dd3f3032 1Summary: An alternative themeable window decorator
b27641c2 2Summary(pl.UTF-8): Alternatywny dekorator okien z obsługą motywów
0206e08c 3Name: emerald
62560cdd 4Version: 0.7.4
09900b6b 5Release: 1
382e826a 6Epoch: 1
33acd642 7License: GPL v2+
dd3f3032 8Group: X11/Applications
3b36efc0 9Source0: http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.tar.bz2
62560cdd 10# Source0-md5: e87486acfc8a7af1aef1353b2dd05aa7
e01b5f28 11Patch0: %{name}-desktop.patch
dd3f3032 12URL: http://forum.compiz-fusion.org/
0206e08c 13BuildRequires: autoconf >= 2.57
33acd642 14BuildRequires: automake >= 1:1.9
dd3f3032 15BuildRequires: compiz-devel >= %{version}
35ff338b 16BuildRequires: dbus-glib-devel >= 0.50
62560cdd 17BuildRequires: gettext-devel
0206e08c 18BuildRequires: gtk+2-devel >= 2:2.8.0
35ff338b 19BuildRequires: intltool >= 0.35.0
62560cdd 20BuildRequires: libselinux-devel
32e0a9d7 21# 2.19.4 (ffu)
0206e08c 22BuildRequires: libwnck-devel >= 2.14.1-2
35ff338b
JB
23BuildRequires: pango-devel >= 1.10.0
24BuildRequires: pkgconfig
4f301f4b 25BuildRequires: rpmbuild(macros) >= 1.311
35ff338b 26BuildRequires: xorg-lib-libXrender-devel >= 0.8.4
e01b5f28 27Requires(post,postun): desktop-file-utils
4f301f4b
MB
28Requires(post,postun): gtk+2
29Requires(post,postun): hicolor-icon-theme
30Requires(post,postun): shared-mime-info
dd3f3032 31Requires: compiz >= %{version}
33acd642 32Obsoletes: cgwd
0206e08c
RT
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
36emerald is window manager and tool to configure window decorations in
dd3f3032 37compiz, it use themes for windows' decorations.
0206e08c 38
7b85d938
JR
39%description -l pl.UTF-8
40emerald to zarządca okien oraz narzędzie GTK+ do konfiguracji
dd3f3032 41dekoracji okien w compizie.
0206e08c
RT
42
43%package devel
33acd642 44Summary: Header files for Emerald Engines library
469ba4b5 45Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Emerald Engines
33acd642 46Group: X11/Development/Libraries
382e826a 47Requires: %{name} = %{epoch}:%{version}-%{release}
dd3f3032 48Requires: compiz-devel >= %{version}
35ff338b
JB
49Requires: dbus-glib-devel >= 0.50
50Requires: gtk+2-devel >= 2:2.8.0
51Requires: libwnck-devel >= 2.14.1-2
52Requires: pango-devel >= 1.10.0
53Requires: xorg-lib-libXrender-devel >= 0.8.4
0206e08c
RT
54
55%description devel
33acd642 56Header files for Emerald Engines library.
0206e08c 57
7b85d938
JR
58%description devel -l pl.UTF-8
59Pliki nagłówkowe biblioteki Emerald Engines.
0206e08c
RT
60
61%package static
33acd642 62Summary: Static Emerald Engines library
469ba4b5 63Summary(pl.UTF-8): Statyczna biblioteka Emerald Engines
33acd642 64Group: X11/Development/Libraries
382e826a 65Requires: %{name}-devel = %{epoch}:%{version}-%{release}
0206e08c
RT
66
67%description static
33acd642 68Static Emerald Engines library.
0206e08c 69
7b85d938 70%description static -l pl.UTF-8
33acd642 71Statyczna 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
90rm -rf $RPM_BUILD_ROOT
91
92%{__make} install \
93 DESTDIR=$RPM_BUILD_ROOT
94
95rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/engines/*.{la,a}
4f301f4b
MB
96# obsoleted GNOME mime-info stuff
97rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
0206e08c 98
f9d78064
JB
99%find_lang %{name}
100
0206e08c
RT
101%clean
102rm -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
This page took 0.070029 seconds and 4 git commands to generate.