]> git.pld-linux.org Git - packages/emerald.git/blame - emerald.spec
- BR: libtool
[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
1f673b25 4Version: 0.7.6
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
1f673b25 10# Source0-md5: 340f4dafde5d6c55bd05c0033aa7d6fe
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
76d5738e 21BuildRequires: libtool
32e0a9d7 22# 2.19.4 (ffu)
0206e08c 23BuildRequires: libwnck-devel >= 2.14.1-2
35ff338b
JB
24BuildRequires: pango-devel >= 1.10.0
25BuildRequires: pkgconfig
4f301f4b 26BuildRequires: rpmbuild(macros) >= 1.311
35ff338b 27BuildRequires: xorg-lib-libXrender-devel >= 0.8.4
e01b5f28 28Requires(post,postun): desktop-file-utils
4f301f4b
MB
29Requires(post,postun): gtk+2
30Requires(post,postun): hicolor-icon-theme
31Requires(post,postun): shared-mime-info
dd3f3032 32Requires: compiz >= %{version}
33acd642 33Obsoletes: cgwd
0206e08c
RT
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
37emerald is window manager and tool to configure window decorations in
dd3f3032 38compiz, it use themes for windows' decorations.
0206e08c 39
7b85d938
JR
40%description -l pl.UTF-8
41emerald to zarządca okien oraz narzędzie GTK+ do konfiguracji
dd3f3032 42dekoracji okien w compizie.
0206e08c
RT
43
44%package devel
33acd642 45Summary: Header files for Emerald Engines library
469ba4b5 46Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Emerald Engines
33acd642 47Group: X11/Development/Libraries
382e826a 48Requires: %{name} = %{epoch}:%{version}-%{release}
dd3f3032 49Requires: compiz-devel >= %{version}
35ff338b
JB
50Requires: dbus-glib-devel >= 0.50
51Requires: gtk+2-devel >= 2:2.8.0
52Requires: libwnck-devel >= 2.14.1-2
53Requires: pango-devel >= 1.10.0
54Requires: xorg-lib-libXrender-devel >= 0.8.4
0206e08c
RT
55
56%description devel
33acd642 57Header files for Emerald Engines library.
0206e08c 58
7b85d938
JR
59%description devel -l pl.UTF-8
60Pliki nagłówkowe biblioteki Emerald Engines.
0206e08c
RT
61
62%package static
33acd642 63Summary: Static Emerald Engines library
469ba4b5 64Summary(pl.UTF-8): Statyczna biblioteka Emerald Engines
33acd642 65Group: X11/Development/Libraries
382e826a 66Requires: %{name}-devel = %{epoch}:%{version}-%{release}
0206e08c
RT
67
68%description static
33acd642 69Static Emerald Engines library.
0206e08c 70
7b85d938 71%description static -l pl.UTF-8
33acd642 72Statyczna 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
91rm -rf $RPM_BUILD_ROOT
92
93%{__make} install \
94 DESTDIR=$RPM_BUILD_ROOT
95
96rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/engines/*.{la,a}
4f301f4b
MB
97# obsoleted GNOME mime-info stuff
98rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
0206e08c 99
f9d78064
JB
100%find_lang %{name}
101
0206e08c
RT
102%clean
103rm -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
This page took 0.136104 seconds and 4 git commands to generate.