]> git.pld-linux.org Git - packages/emerald.git/blobdiff - emerald.spec
- update to 0.7.4 (patch by Lukasz Kies in pld-devel-en@ list)
[packages/emerald.git] / emerald.spec
index 5596d60f4550f887ba4add6cdc192073feeea720..589079a5e530a1a1269be43185772812e0e79601 100644 (file)
@@ -1,42 +1,51 @@
-Summary:       A GTK+ tool to configure window decorations in beryl
-Summary(pl):   Narzêdzie GTK+ do konfiguracji dekoracji okien w berylu
+Summary:       An alternative themeable window decorator
+Summary(pl.UTF-8):     Alternatywny dekorator okien z obsługą motywów
 Name:          emerald
-Version:       0.1.3
+Version:       0.7.4
 Release:       1
 Epoch:         1
 License:       GPL v2+
-Group:         X11
-Source0:       http://releases.beryl-project.org/%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5: 27655582912eed701eef07083d445699
-URL:           http://beryl-project.org/
+Group:         X11/Applications
+Source0:       http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5: e87486acfc8a7af1aef1353b2dd05aa7
+Patch0:                %{name}-desktop.patch
+URL:           http://forum.compiz-fusion.org/
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake >= 1:1.9
-BuildRequires: beryl-core-devel >= 1:0.1.3
+BuildRequires: compiz-devel >= %{version}
 BuildRequires: dbus-glib-devel >= 0.50
+BuildRequires: gettext-devel
 BuildRequires: gtk+2-devel >= 2:2.8.0
 BuildRequires: intltool >= 0.35.0
+BuildRequires: libselinux-devel
+# 2.19.4 (ffu)
 BuildRequires: libwnck-devel >= 2.14.1-2
 BuildRequires: pango-devel >= 1.10.0
 BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.311
 BuildRequires: xorg-lib-libXrender-devel >= 0.8.4
-Requires:      beryl-core >= 1:0.1.3
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk+2
+Requires(post,postun): hicolor-icon-theme
+Requires(post,postun): shared-mime-info
+Requires:      compiz >= %{version}
 Obsoletes:     cgwd
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 emerald is window manager and tool to configure window decorations in
-beryl, it use themes for windows' decorations.
+compiz, it use themes for windows' decorations.
 
-%description -l pl
-emerald to zarz±dca okien oraz narzêdzie GTK+ do konfiguracji
-dekoracji okien w berylu.
+%description -l pl.UTF-8
+emerald to zarządca okien oraz narzędzie GTK+ do konfiguracji
+dekoracji okien w compizie.
 
 %package devel
 Summary:       Header files for Emerald Engines library
-Summary(pl):   Pliki nag³ówkowe biblioteki Emerald Engines
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki Emerald Engines
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{epoch}:%{version}-%{release}
-Requires:      beryl-core-devel >= 1:0.1.3
+Requires:      compiz-devel >= %{version}
 Requires:      dbus-glib-devel >= 0.50
 Requires:      gtk+2-devel >= 2:2.8.0
 Requires:      libwnck-devel >= 2.14.1-2
@@ -46,61 +55,28 @@ Requires:   xorg-lib-libXrender-devel >= 0.8.4
 %description devel
 Header files for Emerald Engines library.
 
-%description devel -l pl
-Pliki nag³ówkowe biblioteki Emerald Engines.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki Emerald Engines.
 
 %package static
 Summary:       Static Emerald Engines library
-Summary(pl):   Statyczna biblioteka Emerald Engines
+Summary(pl.UTF-8):     Statyczna biblioteka Emerald Engines
 Group:         X11/Development/Libraries
 Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
 
 %description static
 Static Emerald Engines library.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Statyczna biblioteka Emerald Engines.
 
 %prep
 %setup -q
-
-mv -f po/{ca_ES,ca}.po
-mv -f po/{es_ES,es}.po
-mv -f po/{fr_FR,fr}.po
-mv -f po/{gu_IN,gu}.po
-mv -f po/{hu_HU,hu}.po
-mv -f po/{it_IT,it}.po
-mv -f po/{ja_JP,ja}.po
-mv -f po/{ko_KR,ko}.po
-mv -f po/{pt_PT,pt}.po
-mv -f po/{sv_SE,sv}.po
-mv -f po/{tr_TR,tr}.po
-# sv_FI is identical to sv_SE
-
-# NOTE: check the list after any upgrade!
-cat > po/LINGUAS <<EOF
-ca
-en_GB
-es
-es_AR
-fr
-gu
-hu
-it
-ja
-ko
-pt
-PT_BR
-sv
-tr
-zh_CN
-zh_HK
-zh_TW
-EOF
+%patch0 -p1
 
 %build
-%{__intltoolize}
 %{__glib_gettextize}
+%{__intltoolize}
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
@@ -117,28 +93,43 @@ rm -rf $RPM_BUILD_ROOT
         DESTDIR=$RPM_BUILD_ROOT
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/engines/*.{la,a}
+# obsoleted GNOME mime-info stuff
+rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
+
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post  -p /sbin/ldconfig
-%postun        -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+%update_desktop_database_post
+%update_mime_database
+%update_icon_cache hicolor
+
+%postun
+/sbin/ldconfig
+%update_desktop_database_postun
+%update_mime_database
+%update_icon_cache hicolor
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc README TODO
-%attr(755,root,root) %{_bindir}/*
+%doc AUTHORS README TODO
+%attr(755,root,root) %{_bindir}/emerald
+%attr(755,root,root) %{_bindir}/emerald-theme-manager
 %attr(755,root,root) %{_libdir}/libemeraldengine.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libemeraldengine.so.0
 %dir %{_libdir}/%{name}
 %dir %{_libdir}/%{name}/engines
 %attr(755,root,root) %{_libdir}/%{name}/engines/*.so
 %{_datadir}/%{name}
-%{_datadir}/mime-info/emerald.mime
 %{_datadir}/mime/packages/emerald.xml
 %{_desktopdir}/emerald-theme-manager.desktop
 %{_pixmapsdir}/emerald-theme-manager-icon.png
 %{_iconsdir}/hicolor/*/*/*.png
-%{_mandir}/man1/*.1*
+%{_mandir}/man1/emerald.1*
+%{_mandir}/man1/emerald-theme-manager.1*
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.085212 seconds and 4 git commands to generate.