rebuilt to remove executable requirements [release 2.14.0-4mamba;Fri Feb 05 2010]
This commit is contained in:
parent
745809b5dd
commit
57b01ae5e1
@ -1,2 +1,4 @@
|
||||
# atomix
|
||||
|
||||
Atomix is yet another little mind game for GNOME, where you have to build molecules out of single atoms.
|
||||
|
||||
|
18
atomix-2.14.0-desktop_file.patch
Normal file
18
atomix-2.14.0-desktop_file.patch
Normal file
@ -0,0 +1,18 @@
|
||||
--- atomix.desktop.in 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ /usr/src/RPM/SOURCES/atomix.desktop.mod 2008-08-31 10:00:20.000000000 +0200
|
||||
@@ -0,0 +1,15 @@
|
||||
+[Desktop Entry]
|
||||
+Encoding=UTF-8
|
||||
+Name=Atomix
|
||||
+Comment=Molecule puzzle game
|
||||
+Comment[it]=Gioca con le molecole
|
||||
+GenericName=Molecule puzzle game
|
||||
+GenericName[it]=Gioca con le molecole
|
||||
+Exec=atomix
|
||||
+Icon=atomix-icon.png
|
||||
+Terminal=false
|
||||
+Type=Application
|
||||
+Categories=GNOME;Application;Game;StrategyGame;
|
||||
+X-GNOME-Bugzilla-Bugzilla=GNOME
|
||||
+X-GNOME-Bugzilla-Product=atomix
|
||||
+X-GNOME-Bugzilla-Component=atomix
|
131
atomix.spec
Normal file
131
atomix.spec
Normal file
@ -0,0 +1,131 @@
|
||||
%define majversion %(echo %version | cut -d. -f 1-2)
|
||||
|
||||
Name: atomix
|
||||
Version: 2.14.0
|
||||
Release: 4mamba
|
||||
Summary: A little mind game where you have to build molecules out of single atoms
|
||||
Group: Graphical Desktop/Applications/Educational
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://ftp.gnome.org/pub/GNOME/sources/atomix/
|
||||
Source: http://ftp.gnome.org/pub/GNOME/sources/atomix/%{majversion}/atomix-%{version}.tar.bz2
|
||||
Patch0: %{name}-2.14.0-desktop_file.patch
|
||||
License: GPL
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-XML-Parser
|
||||
BuildRequires: gettext
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: ORBit-devel
|
||||
BuildRequires: libesound-devel
|
||||
BuildRequires: libgail-devel
|
||||
BuildRequires: libglitz-devel
|
||||
BuildRequires: libpixman-devel
|
||||
BuildRequires: libpthread-stubs-devel
|
||||
BuildRequires: libxcb-util-devel
|
||||
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: GConf-devel
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libart_lgpl-devel
|
||||
BuildRequires: libatk-devel
|
||||
BuildRequires: libbonobo-devel
|
||||
BuildRequires: libbonoboui-devel
|
||||
BuildRequires: libcairo-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libgnomecanvas-devel
|
||||
BuildRequires: libgnome-devel
|
||||
BuildRequires: libgnomeui-devel
|
||||
BuildRequires: libgnome-vfs-devel
|
||||
BuildRequires: libgtk-devel
|
||||
BuildRequires: libICE-devel
|
||||
BuildRequires: libpango-devel
|
||||
BuildRequires: libpopt-devel
|
||||
BuildRequires: libSM-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: ORBit2-devel
|
||||
## AUTOBUILDREQ-END
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Atomix is yet another little mind game for GNOME, where you have to build molecules out of single atoms.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
|
||||
# gnome bz#334319 -- translations don't get built; workaround that
|
||||
sed -i 's!^SOURCES = !&\n'"$(grep "^CATALOGS" po/Makefile.in)"'!' po/Makefile
|
||||
|
||||
sed -i "s|games\.games|`id -u`\.`id -g`|" Makefile
|
||||
sed -i "s|chgrp games $(DESTDIR)$(bindir)||" Makefile
|
||||
|
||||
%make
|
||||
|
||||
%make -C level/
|
||||
%make -C themes/
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
###GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
||||
#install -m 755 -d ./po %{buildroot}{_datadir}/atomix/po
|
||||
# create the italian locale from the italian catalog file
|
||||
#install -d locale/it/LC_MESSAGES
|
||||
#/usr/bin/msgfmt po/it.po -o locale/it/LC_MESSAGES/%{name}.mo
|
||||
|
||||
%makeinstall
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%post
|
||||
chmod 666 %{_localstatedir}/games/atomix.scores
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/atomix.desktop
|
||||
%dir %{_datadir}/atomix
|
||||
%{_datadir}/atomix/*.png
|
||||
%dir %{_datadir}/atomix/level
|
||||
%{_datadir}/atomix/level/*.atomix.xml
|
||||
%{_datadir}/atomix/level/sequence
|
||||
%dir %{_datadir}/atomix/themes/default
|
||||
%{_datadir}/atomix/themes/default/*.png
|
||||
%{_datadir}/atomix/themes/default/theme
|
||||
%{_datadir}/gnome-2.0/ui/atomix-ui.xml
|
||||
%{_datadir}/pixmaps/atomix-icon.png
|
||||
%{_localstatedir}/games/atomix.scores
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||
|
||||
%changelog
|
||||
* Fri Feb 05 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.14.0-4mamba
|
||||
- rebuilt to remove executable requirements
|
||||
|
||||
* Wed Oct 15 2008 Tiziana Ferro <tiziana.ferro@email.it> 2.14.0-3mamba
|
||||
- fixed atomix.scores permissions
|
||||
|
||||
* Wed Oct 15 2008 Tiziana Ferro <tiziana.ferro@email.it> 2.14.0-2mamba
|
||||
- fixed translations bug
|
||||
|
||||
* Sun Aug 31 2008 Tiziana Ferro <tiziana.ferro@email.it> 2.14.0-1mamba
|
||||
- update to 2.14.0
|
||||
- edit patch for 2.14.0 version
|
||||
- edit Makefile with sed
|
||||
- update buildrequirements list
|
||||
|
||||
* Thu Jul 10 2008 gil <puntogil@libero.it> 2.13.4-1mamba
|
||||
- update to 2.13.4
|
||||
- edit patch
|
||||
|
||||
* Mon Dec 19 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.13.3-1qilnx
|
||||
- update to version 2.13.3 by autospec
|
||||
- modified desktop file
|
||||
|
||||
* Wed Jul 27 2005 Massimo Pintore <massimo.pintore@qilinux.it> 0.9.3-1qilnx
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user