|
@@ -2,9 +2,9 @@
|
|
%global python_module_name gcdemu
|
|
%global python_module_name gcdemu
|
|
|
|
|
|
Summary: A GNOME panel applet to control CDEmu daemon
|
|
Summary: A GNOME panel applet to control CDEmu daemon
|
|
-Summary: CDEmu daemon を制御するための GNOME パネルアプレット
|
|
|
|
|
|
+Summary(ja): CDEmu daemon を制御するための GNOME パネルアプレット
|
|
Name: gcdemu
|
|
Name: gcdemu
|
|
-Version: 1.5.0
|
|
|
|
|
|
+Version: 3.0.2
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
License: GPLv2+
|
|
License: GPLv2+
|
|
Group: Applications/Accessories
|
|
Group: Applications/Accessories
|
|
@@ -13,30 +13,15 @@ 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: cmake >= 2.8.5
|
|
BuildRequires: dbus-python-devel
|
|
BuildRequires: dbus-python-devel
|
|
-BuildRequires: gettext
|
|
|
|
|
|
+BuildRequires: gettext >= 0.15
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: intltool >= 0.21
|
|
BuildRequires: intltool >= 0.21
|
|
-#BuildRequires: gnome-panel-devel
|
|
|
|
-#BuildRequires: gnome-python-devel
|
|
|
|
-BuildRequires: perl-XML-Parser
|
|
|
|
-#BuildRequires: pygtk2-devel >= 2.6
|
|
|
|
-BuildRequires: python-devel
|
|
|
|
-#BuildRequires: gnome-doc-utils >= 0.3.2
|
|
|
|
-
|
|
|
|
-Requires: dbus-python >= 0.80
|
|
|
|
-Requires: pygobject3
|
|
|
|
-Requires: cdemu-daemon
|
|
|
|
-#Requires: gnome-python-applet
|
|
|
|
-#Requires: hicolor-icon-theme
|
|
|
|
-#Requires: pygtk2 >= 2.6
|
|
|
|
-
|
|
|
|
-#Requires(pre): GConf2
|
|
|
|
-#Requires(post): GConf2
|
|
|
|
-#Requires(preun): GConf2
|
|
|
|
|
|
+BuildRequires: desktop-file-utils
|
|
|
|
|
|
-Requires(post): scrollkeeper
|
|
|
|
-Requires(postun): scrollkeeper
|
|
|
|
|
|
+Requires: cdemu-daemon
|
|
|
|
+Requires: desktop-file-utils
|
|
|
|
|
|
%description
|
|
%description
|
|
This is gCDEmu, a GNOME applet for controlling CDEmu daemon. It is part of the
|
|
This is gCDEmu, a GNOME applet for controlling CDEmu daemon. It is part of the
|
|
@@ -54,62 +39,48 @@ are installed).
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%build
|
|
-%{configure}
|
|
|
|
|
|
+%{cmake} \
|
|
|
|
+ -DPOST_INSTALL_HOOKS=OFF \
|
|
|
|
+ .
|
|
%{__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
|
|
|
|
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
|
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
|
-#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
|
|
|
|
-# export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source)
|
|
|
|
-# gconftool-2 --makefile-uninstall-rule \
|
|
|
|
-# %{_sysconfdir}/gconf/schemas/gcdemu.schemas >/dev/null ||:
|
|
|
|
-#fi
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
|
|
%post
|
|
%post
|
|
-scrollkeeper-update -q
|
|
|
|
-#export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source)
|
|
|
|
-#gconftool-2 --makefile-install-rule \
|
|
|
|
-# %{_sysconfdir}/gconf/schemas/gcdemu.schemas >/dev/null ||:
|
|
|
|
|
|
+if [ -x %{_bindir}/update-desktop-database ] ; then
|
|
|
|
+%{_bindir}/update-desktop-database %{_datadir}/applications
|
|
|
|
+fi
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
|
|
%preun
|
|
%preun
|
|
-#if [ "$1" -eq 0 ]; then
|
|
|
|
-# export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source)
|
|
|
|
-# gconftool-2 --makefile-uninstall-rule \
|
|
|
|
-# %{_sysconfdir}/gconf/schemas/gcdemu.schemas >/dev/null ||:
|
|
|
|
-#fi
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
|
|
-
|
|
|
|
-%postun
|
|
|
|
-scrollkeeper-update -q
|
|
|
|
|
|
+%postun
|
|
|
|
+if [ -x %{_bindir}/update-desktop-database ] ; then
|
|
|
|
+%{_bindir}/update-desktop-database %{_datadir}/applications
|
|
|
|
+fi
|
|
|
|
|
|
%files -f gcdemu.lang
|
|
%files -f gcdemu.lang
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%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}/glib-2.0/schemas/net.sf.cdemu.gcdemu.gschema.xml
|
|
%{_datadir}/pixmaps/*
|
|
%{_datadir}/pixmaps/*
|
|
-#%{_datadir}/omf/gcdemu/gcdemu-C.omf
|
|
|
|
-#%{_libdir}/bonobo/servers/*
|
|
|
|
-#%{_libexecdir}/*
|
|
|
|
-#%dir %{python_sitelib}/%{python_module_name}/
|
|
|
|
-#%{python_sitelib}/%{python_module_name}/*.py*
|
|
|
|
-#%{_sysconfdir}/gconf/schemas/*
|
|
|
|
-
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Feb 25 2017 IWAI, Masaharu <iwaim.sub@gmail.com> - 3.0.2-1
|
|
|
|
+- update to 3.0.2
|
|
|
|
+
|
|
* Sun May 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0-1
|
|
* Sun May 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- changed atchive type gzip to bzip2
|
|
- changed atchive type gzip to bzip2
|
|
@@ -128,6 +99,8 @@ scrollkeeper-update -q
|
|
|
|
|
|
* Sun Feb 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-2
|
|
* Sun Feb 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-2
|
|
- rebuilt with python-2.6.4
|
|
- rebuilt with python-2.6.4
|
|
|
|
+- update BuildRequires
|
|
|
|
+- update post and postun scripts
|
|
|
|
|
|
* Fri Sep 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-1
|
|
* Fri Sep 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-1
|
|
- initial build for VineSeed
|
|
- initial build for VineSeed
|