Name: gnome-compiz-manager Version: 0.10.4 Release: 3%{?_dist_release} Summary: Compiz configuration utility Summary(ja): Compiz 設定ユーティリティ Group: User Interface/Desktops License: GPLv2 and LGPLv2 URL: http://gandalfn.wordpress.com/gnome-compiz-manager/ Source0: http://download.gna.org/gcm/gnome-compiz-manager/gnome-compiz-manager-%{version}.tar.gz Source1: desktop.png BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: intltool BuildRequires: GConf2 BuildRequires: pkgconfig BuildRequires: libglade2-devel BuildRequires: libwnck-devel BuildRequires: libgnomeui-devel BuildRequires: libgnome-devel BuildRequires: gnome-desktop-devel BuildRequires: librsvg2-devel BuildRequires: gob2 >= 2.0.14 BuildRequires: gettext BuildRequires: desktop-file-utils BuildRequires: libSM-devel Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires(pre): GConf2 Requires(post): GConf2 Requires(preun): GConf2 %description Gnome compiz manager is small utility, which manages GL Desktop configurations on XGL/AiGLX. It is composed of two applications : - compiz-tray-icon : which launches and stops compiz - gnome-compiz-preferences : which adjusts GL effects The goal is not to expose all compiz options but allow a simple configuration of compiz. %package devel Summary: Development files for gnome-compiz-manager Summary(ja): gnome-compiz-manager の開発ファイル Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel Development files for gnome-compiz-manager %prep %setup -q cp %{SOURCE1} data %build %configure --disable-rpath --disable-static sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=$RPM_BUILD_ROOT desktop-file-install --vendor="fedora" \ --delete-original \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ $RPM_BUILD_ROOT%{_datadir}/applications/gnome-compiz-preferences.desktop rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la # documents will be gathered manually at %files section rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name} %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %pre if [ "$1" -gt 1 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/gnome-compiz-preferences.schemas >/dev/null || : # If the schema file has ever been renamed:: #gconftool-2 --makefile-uninstall-rule \ # %{_sysconfdir}/gconf/schemas/[OLDNAME].schemas > /dev/null || : killall -HUP gconfd-2 &> /dev/null || : fi %post /sbin/ldconfig export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule \ %{_sysconfdir}/gconf/schemas/gnome-compiz-preferences.schemas > /dev/null || : killall -HUP gconfd-2 &> /dev/null || : %preun if [ "$1" -eq 0 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/gnome-compiz-preferences.schemas > /dev/null || : killall -HUP gconfd-2 &> /dev/null || : fi %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING* ChangeLog INSTALL NEWS %{_bindir}/* %{_mandir}/*/* %{_sysconfdir}/gconf/schemas/* %{_libdir}/*.so.* %dir %{_libdir}/%{name}/ %{_libdir}/%{name}/*.so %{_libdir}/%{name}/*.plugin %{_datadir}/%{name} %{_datadir}/applications/* %files devel %defattr(-,root,root,-) %{_includedir}/%{name}/ %{_libdir}/*.so %{_libdir}/pkgconfig/* %changelog * Tue Feb 3 2015 Ryoichi INAGAKI 0.10.4-3 - rebuilt on current VineSeed - fixed spec encoding to UTF-8 (BTS #2784) * Sat Sep 25 2010 Yoji TOYODA 0.10.4-2 - rebuild with rpm-4.8.1 for pkg-config file - add BuildRequires: libSM-devel * Sat May 10 2008 Daisuke SUZUKI 0.10.4-1 - initial build for Vine Linux * Tue Feb 19 2008 Fedora Release Engineering - 0.10.4-4 - Autorebuild for GCC 4.3 * Sun Dec 9 2007 Denis Leroy - 0.10.4-3 - Fix duplicate desktop entries - Made gconf killall silent * Fri Oct 12 2007 Matthias Clasen - 0.10.4-2 - Don't ship Ubuntu branding * Sat Jul 14 2007 John Mahowald - 0.10.4-1 - 0.10.4 * Wed May 23 2007 John Mahowald - 0.9.14-1 - 0.9.14 * Tue Nov 28 2006 John Mahowald - 0.9.13.1-1 - 0.9.13.1 - dropped upstreamed libdir patch * Thu Nov 16 2006 John Mahowald - 0.9.10-1 - initial rpm