|
@@ -4,33 +4,36 @@
|
|
Summary: A GNOME panel applet to control CDEmu daemon
|
|
Summary: A GNOME panel applet to control CDEmu daemon
|
|
Summary: CDEmu daemon を制御するための GNOME パネルアプレット
|
|
Summary: CDEmu daemon を制御するための GNOME パネルアプレット
|
|
Name: gcdemu
|
|
Name: gcdemu
|
|
-Version: 1.4.0
|
|
+Version: 1.5.0
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
License: GPLv2+
|
|
License: GPLv2+
|
|
Group: Applications/Accessories
|
|
Group: Applications/Accessories
|
|
URL: http://cdemu.sourceforge.net
|
|
URL: http://cdemu.sourceforge.net
|
|
-Source: http://downloads.sourceforge.net/cdemu/%{name}-%{version}.tar.gz
|
|
+Source: http://downloads.sourceforge.net/cdemu/%{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
|
|
|
|
BuildRequires: dbus-python-devel
|
|
BuildRequires: dbus-python-devel
|
|
BuildRequires: gettext
|
|
BuildRequires: gettext
|
|
|
|
+BuildRequires: glib2-devel
|
|
BuildRequires: intltool >= 0.21
|
|
BuildRequires: intltool >= 0.21
|
|
-BuildRequires: gnome-panel-devel
|
|
+#BuildRequires: gnome-panel-devel
|
|
-BuildRequires: gnome-python-devel
|
|
+#BuildRequires: gnome-python-devel
|
|
BuildRequires: perl-XML-Parser
|
|
BuildRequires: perl-XML-Parser
|
|
-BuildRequires: pygtk2-devel >= 2.6
|
|
+#BuildRequires: pygtk2-devel >= 2.6
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-devel
|
|
-BuildRequires: gnome-doc-utils >= 0.3.2
|
|
+#BuildRequires: gnome-doc-utils >= 0.3.2
|
|
|
|
|
|
Requires: dbus-python >= 0.80
|
|
Requires: dbus-python >= 0.80
|
|
-Requires: gnome-python-applet
|
|
+Requires: pygobject3
|
|
-Requires: hicolor-icon-theme
|
|
+Requires: cdemu-daemon
|
|
-Requires: pygtk2 >= 2.6
|
|
+#Requires: gnome-python-applet
|
|
|
|
+#Requires: hicolor-icon-theme
|
|
|
|
+#Requires: pygtk2 >= 2.6
|
|
|
|
|
|
-Requires(pre): GConf2
|
|
+#Requires(pre): GConf2
|
|
-Requires(post): GConf2
|
|
+#Requires(post): GConf2
|
|
-Requires(preun): GConf2
|
|
+#Requires(preun): GConf2
|
|
|
|
|
|
Requires(post): scrollkeeper
|
|
Requires(post): scrollkeeper
|
|
Requires(postun): scrollkeeper
|
|
Requires(postun): scrollkeeper
|
|
@@ -51,38 +54,42 @@ are installed).
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%build
|
|
-%{configure} --disable-schemas-install
|
|
+%{configure}
|
|
%{__make} %{?_smp_mflags}
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
-export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
+#export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
|
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
|
-unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
+#unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
%find_lang gcdemu --with-gnome
|
|
%find_lang gcdemu --with-gnome
|
|
|
|
|
|
%clean
|
|
%clean
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%pre
|
|
%pre
|
|
-if [ "$1" -gt 1 ]; then
|
|
+#if [ "$1" -gt 1 ]; then
|
|
- export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source)
|
|
+# export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source)
|
|
- gconftool-2 --makefile-uninstall-rule \
|
|
+# gconftool-2 --makefile-uninstall-rule \
|
|
- %{_sysconfdir}/gconf/schemas/gcdemu.schemas >/dev/null ||:
|
|
+# %{_sysconfdir}/gconf/schemas/gcdemu.schemas >/dev/null ||:
|
|
-fi
|
|
+#fi
|
|
|
|
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
|
|
%post
|
|
%post
|
|
scrollkeeper-update -q
|
|
scrollkeeper-update -q
|
|
-export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source)
|
|
+#export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source)
|
|
-gconftool-2 --makefile-install-rule \
|
|
+#gconftool-2 --makefile-install-rule \
|
|
- %{_sysconfdir}/gconf/schemas/gcdemu.schemas >/dev/null ||:
|
|
+# %{_sysconfdir}/gconf/schemas/gcdemu.schemas >/dev/null ||:
|
|
|
|
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
|
|
%preun
|
|
%preun
|
|
-if [ "$1" -eq 0 ]; then
|
|
+#if [ "$1" -eq 0 ]; then
|
|
- export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source)
|
|
+# export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source)
|
|
- gconftool-2 --makefile-uninstall-rule \
|
|
+# gconftool-2 --makefile-uninstall-rule \
|
|
- %{_sysconfdir}/gconf/schemas/gcdemu.schemas >/dev/null ||:
|
|
+# %{_sysconfdir}/gconf/schemas/gcdemu.schemas >/dev/null ||:
|
|
-fi
|
|
+#fi
|
|
|
|
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
+
|
|
|
|
|
|
%postun
|
|
%postun
|
|
scrollkeeper-update -q
|
|
scrollkeeper-update -q
|
|
@@ -92,16 +99,22 @@ scrollkeeper-update -q
|
|
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/applications/*
|
|
%{_datadir}/applications/*
|
|
|
|
+%{_datadir}/glib-2.0/schemas/apps.gcdemu.gschema.xml
|
|
%{_datadir}/pixmaps/*
|
|
%{_datadir}/pixmaps/*
|
|
#%{_datadir}/omf/gcdemu/gcdemu-C.omf
|
|
#%{_datadir}/omf/gcdemu/gcdemu-C.omf
|
|
#%{_libdir}/bonobo/servers/*
|
|
#%{_libdir}/bonobo/servers/*
|
|
#%{_libexecdir}/*
|
|
#%{_libexecdir}/*
|
|
#%dir %{python_sitelib}/%{python_module_name}/
|
|
#%dir %{python_sitelib}/%{python_module_name}/
|
|
#%{python_sitelib}/%{python_module_name}/*.py*
|
|
#%{python_sitelib}/%{python_module_name}/*.py*
|
|
-%{_sysconfdir}/gconf/schemas/*
|
|
+#%{_sysconfdir}/gconf/schemas/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun May 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0-1
|
|
|
|
+- new upstream release
|
|
|
|
+- changed atchive type gzip to bzip2
|
|
|
|
+- deleted unrecognized option: --disable-schemas-install
|
|
|
|
+
|
|
* Sat Dec 24 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.4.0-1
|
|
* Sat Dec 24 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.4.0-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- fixed configure option
|
|
- fixed configure option
|