]> git.pld-linux.org Git - packages/emerald.git/blame - emerald.spec
- po fix
[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
dd3f3032 4Version: 0.5.2
7e872804 5Release: 2
382e826a 6Epoch: 1
33acd642 7License: GPL v2+
dd3f3032 8Group: X11/Applications
9Source0: http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.tar.bz2
10# Source0-md5: 149c17b0a1bddf29e1cd66d29777d96e
e01b5f28 11Patch0: %{name}-desktop.patch
7e872804 12Patch1: %{name}-linguas.patch
dd3f3032 13URL: http://forum.compiz-fusion.org/
0206e08c 14BuildRequires: autoconf >= 2.57
33acd642 15BuildRequires: automake >= 1:1.9
dd3f3032 16BuildRequires: compiz-devel >= %{version}
35ff338b 17BuildRequires: dbus-glib-devel >= 0.50
0206e08c 18BuildRequires: gtk+2-devel >= 2:2.8.0
35ff338b 19BuildRequires: intltool >= 0.35.0
0206e08c 20BuildRequires: libwnck-devel >= 2.14.1-2
35ff338b
JB
21BuildRequires: pango-devel >= 1.10.0
22BuildRequires: pkgconfig
4f301f4b 23BuildRequires: rpmbuild(macros) >= 1.311
35ff338b 24BuildRequires: xorg-lib-libXrender-devel >= 0.8.4
d985fca0 25BuildRequires: xorg-lib-libXres-devel >= 1.0
e01b5f28 26Requires(post,postun): desktop-file-utils
4f301f4b
MB
27Requires(post,postun): gtk+2
28Requires(post,postun): hicolor-icon-theme
29Requires(post,postun): shared-mime-info
dd3f3032 30Requires: compiz >= %{version}
33acd642 31Obsoletes: cgwd
0206e08c
RT
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35emerald is window manager and tool to configure window decorations in
dd3f3032 36compiz, it use themes for windows' decorations.
0206e08c 37
7b85d938
JR
38%description -l pl.UTF-8
39emerald to zarządca okien oraz narzędzie GTK+ do konfiguracji
dd3f3032 40dekoracji okien w compizie.
0206e08c
RT
41
42%package devel
33acd642 43Summary: Header files for Emerald Engines library
469ba4b5 44Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Emerald Engines
33acd642 45Group: X11/Development/Libraries
382e826a 46Requires: %{name} = %{epoch}:%{version}-%{release}
dd3f3032 47Requires: compiz-devel >= %{version}
35ff338b
JB
48Requires: dbus-glib-devel >= 0.50
49Requires: gtk+2-devel >= 2:2.8.0
50Requires: libwnck-devel >= 2.14.1-2
51Requires: pango-devel >= 1.10.0
52Requires: xorg-lib-libXrender-devel >= 0.8.4
0206e08c
RT
53
54%description devel
33acd642 55Header files for Emerald Engines library.
0206e08c 56
7b85d938
JR
57%description devel -l pl.UTF-8
58Pliki nagłówkowe biblioteki Emerald Engines.
0206e08c
RT
59
60%package static
33acd642 61Summary: Static Emerald Engines library
469ba4b5 62Summary(pl.UTF-8): Statyczna biblioteka Emerald Engines
33acd642 63Group: X11/Development/Libraries
382e826a 64Requires: %{name}-devel = %{epoch}:%{version}-%{release}
0206e08c
RT
65
66%description static
33acd642 67Static Emerald Engines library.
0206e08c 68
7b85d938 69%description static -l pl.UTF-8
33acd642 70Statyczna 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/
78mv po/de{_DE,}.po
79mv po/gu{_IN,}.po
80mv po/hu{_HU,}.po
81mv po/it{_IT,}.po
82mv po/nb{_NO,}.po
83mv po/sv{_SE,}.po
84mv 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
99rm -rf $RPM_BUILD_ROOT
100
101%{__make} install \
102 DESTDIR=$RPM_BUILD_ROOT
103
104rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/engines/*.{la,a}
4f301f4b
MB
105# obsoleted GNOME mime-info stuff
106rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
0206e08c 107
f9d78064
JB
108%find_lang %{name}
109
0206e08c
RT
110%clean
111rm -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
This page took 0.542798 seconds and 4 git commands to generate.