|
@@ -1,23 +1,36 @@
|
|
Summary: Gcompris educational software suite
|
|
Summary: Gcompris educational software suite
|
|
Summary(ja): Gcompris 知育用ソフトウェア・スィート
|
|
Summary(ja): Gcompris 知育用ソフトウェア・スィート
|
|
Name: gcompris
|
|
Name: gcompris
|
|
-Version: 8.4.12
|
|
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Version: 12.05
|
|
|
|
+Release: 1%{?_dist_release}
|
|
License: GPLv2
|
|
License: GPLv2
|
|
URL: http://gcompris.net/
|
|
URL: http://gcompris.net/
|
|
Group: Applications/Edutainment
|
|
Group: Applications/Edutainment
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: gtk2-devel gdk-pixbuf-devel libgnomecanvas-devel
|
|
|
|
-BuildRequires: glib2-devel intltool SDL-devel gnuchess sqlite3-devel
|
|
|
|
-BuildRequires: SDL_mixer-devel gnet2-devel pygtk2-devel texi2html
|
|
|
|
-BuildRequires: gstreamer-devel
|
|
|
|
|
|
+
|
|
|
|
+BuildRequires: gtk2-devel >= 2.12.0
|
|
|
|
+BuildRequires: librsvg2-devel >= 2.26.0
|
|
|
|
+BuildRequires: libxml2-devel >= 2.6.16
|
|
|
|
+BuildRequires: SDL_mixer-devel
|
|
|
|
+BuildRequires: gstreamer-devel
|
|
|
|
+BuildRequires: gnet2-devel
|
|
|
|
+BuildRequires: sqlite3-devel
|
|
|
|
+BuildRequires: python-devel
|
|
|
|
+BuildRequires: pygtk2-devel
|
|
|
|
+BuildRequires: pycairo-devel
|
|
|
|
+BuildRequires: gnuchess
|
|
|
|
+BuildRequires: texi2html
|
|
# for info file
|
|
# for info file
|
|
BuildRequires: texinfo
|
|
BuildRequires: texinfo
|
|
-Requires: sqlite3 gnuchess SDL gtk2 SDL_mixer smpeg
|
|
|
|
-Requires: libgnomecanvas gnet2 tuxpaint
|
|
|
|
|
|
+
|
|
|
|
+Requires: sqlite3 gnuchess gtk2 SDL_mixer smpeg
|
|
|
|
+Requires: gnet2 tuxpaint
|
|
|
|
+
|
|
|
|
+Requires(post,postun): desktop-file-utils
|
|
Requires(post,preun): install-info
|
|
Requires(post,preun): install-info
|
|
-Source0: http://sourceforge.net/projects/gcompris/files/gcompris/%{name}-%{version}.tar.gz
|
|
|
|
-Source1: gcompris-ja-8.4.12-0.5.po
|
|
|
|
|
|
+
|
|
|
|
+Source0: http://sourceforge.net/projects/gcompris/files/gcompris/%{name}-%{version}.tar.bz2
|
|
|
|
+
|
|
|
|
|
|
%description
|
|
%description
|
|
GCompris is a high quality educational software suite comprising of numerous activities for children aged 2 to 10.
|
|
GCompris is a high quality educational software suite comprising of numerous activities for children aged 2 to 10.
|
|
@@ -28,40 +41,51 @@ GCompris は、主に 2歳〜10歳位の子供を対象とした、多数の科
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-cp -f %{SOURCE1} po/ja.po
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
%configure --enable-gnet
|
|
%configure --enable-gnet
|
|
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
-%__make
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
+make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
+
|
|
|
|
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
|
|
|
|
|
|
-%__make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
%{find_lang} %{name}
|
|
%{find_lang} %{name}
|
|
|
|
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
%__rm -rf ${RPM_BUILD_ROOT}
|
|
%__rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
%post
|
|
%post
|
|
|
|
+update-desktop-database &> /dev/null ||:
|
|
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcompris.info.gz
|
|
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcompris.info.gz
|
|
|
|
|
|
%preun
|
|
%preun
|
|
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcompris.info.gz
|
|
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcompris.info.gz
|
|
|
|
|
|
|
|
+%postun
|
|
|
|
+update-desktop-database &> /dev/null ||:
|
|
|
|
+
|
|
|
|
+
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%doc README COPYING TODO ChangeLog
|
|
%doc README COPYING TODO ChangeLog
|
|
%{_bindir}/*
|
|
%{_bindir}/*
|
|
%{_infodir}/gcompris.info.gz
|
|
%{_infodir}/gcompris.info.gz
|
|
-%{_datadir}/pixmaps/*
|
|
|
|
-%{_datadir}/man/*
|
|
|
|
-%{_datadir}/gcompris/*
|
|
|
|
%{_datadir}/applications/*
|
|
%{_datadir}/applications/*
|
|
|
|
+%{_datadir}/%{name}/*
|
|
|
|
+%{_datadir}/gnome/help/%{name}
|
|
|
|
+%{_datadir}/pixmaps/*
|
|
%{_libdir}/*
|
|
%{_libdir}/*
|
|
|
|
+%{_mandir}/*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Jun 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 12.05-1
|
|
|
|
+- new upstream release
|
|
|
|
+
|
|
* Tue Apr 5 2011 IWAI, Masaharu <iwai@alib.jp> 8.4.12-2
|
|
* Tue Apr 5 2011 IWAI, Masaharu <iwai@alib.jp> 8.4.12-2
|
|
- build with python 2.6
|
|
- build with python 2.6
|
|
- add BuildRequires: texinfo: for info file
|
|
- add BuildRequires: texinfo: for info file
|