|
@@ -1,15 +1,15 @@
|
|
|
Name: gnome-compiz-manager
|
|
|
Version: 0.10.4
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Release: 3%{?_dist_release}
|
|
|
Summary: Compiz configuration utility
|
|
|
-Summary(ja): Compiz ÀßÄê¥æ¡¼¥Æ¥£¥ê¥Æ¥£
|
|
|
+Summary(ja): Compiz è¨å®šãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£
|
|
|
|
|
|
Group: User Interface/Desktops
|
|
|
-License: GPL
|
|
|
+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
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
BuildRequires: intltool
|
|
|
BuildRequires: GConf2
|
|
@@ -20,7 +20,7 @@ BuildRequires: libgnomeui-devel
|
|
|
BuildRequires: libgnome-devel
|
|
|
BuildRequires: gnome-desktop-devel
|
|
|
BuildRequires: librsvg2-devel
|
|
|
-BuildRequires: gob2
|
|
|
+BuildRequires: gob2 >= 2.0.14
|
|
|
BuildRequires: gettext
|
|
|
BuildRequires: desktop-file-utils
|
|
|
BuildRequires: libSM-devel
|
|
@@ -42,11 +42,12 @@ 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
|
|
|
+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
|
|
|
|
|
@@ -56,7 +57,7 @@ Development files for gnome-compiz-manager
|
|
|
cp %{SOURCE1} data
|
|
|
|
|
|
%build
|
|
|
-%configure --disable-rpath
|
|
|
+%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}
|
|
@@ -70,13 +71,12 @@ desktop-file-install --vendor="fedora" \
|
|
|
--delete-original \
|
|
|
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
|
|
|
$RPM_BUILD_ROOT%{_datadir}/applications/gnome-compiz-preferences.desktop
|
|
|
-rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
-rm $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la
|
|
|
-# kill static libs
|
|
|
-rm $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.a
|
|
|
-rm $RPM_BUILD_ROOT/%{_libdir}/*.a
|
|
|
-# empty
|
|
|
-rm $RPM_BUILD_ROOT/%{_docdir}/%{name}/README
|
|
|
+
|
|
|
+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}
|
|
|
|
|
@@ -85,35 +85,35 @@ 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 || :
|
|
|
+ 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 || :
|
|
|
+ %{_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 || :
|
|
|
+ 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 %{_docdir}/*
|
|
|
+%doc AUTHORS COPYING* ChangeLog INSTALL NEWS
|
|
|
%{_bindir}/*
|
|
|
%{_mandir}/*/*
|
|
|
%{_sysconfdir}/gconf/schemas/*
|
|
@@ -131,6 +131,10 @@ fi
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Feb 3 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.10.4-3
|
|
|
+- rebuilt on current VineSeed
|
|
|
+- fixed spec encoding to UTF-8 (BTS #2784)
|
|
|
+
|
|
|
* Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.4-2
|
|
|
- rebuild with rpm-4.8.1 for pkg-config file
|
|
|
- add BuildRequires: libSM-devel
|