157 lines
4.8 KiB
RPMSpec
157 lines
4.8 KiB
RPMSpec
%define majversion %(echo %version | cut -d. -f 1-2)
|
|
|
|
Name: atomix
|
|
Version: 3.34.0
|
|
Release: 1mamba
|
|
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.acc.umu.se/pub/GNOME/sources/atomix/%{majversion}/atomix-%{version}.tar.xz
|
|
Patch0: %{name}-2.14.0-desktop_file.patch
|
|
License: GPL
|
|
## 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
|
|
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
|
|
BuildRequires: libgnome-games-support-devel
|
|
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
|
|
%meson
|
|
|
|
## 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
|
|
|
|
%meson_build
|
|
|
|
%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
|
|
|
|
%meson_install
|
|
|
|
%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
|
|
%{_datadir}/metainfo/atomix.appdata.xml
|
|
%dir %{_datadir}/atomix
|
|
%{_datadir}/atomix/*.png
|
|
%dir %{_datadir}/atomix/level
|
|
%{_datadir}/atomix/level/*.atomix.xml
|
|
%{_datadir}/atomix/level/sequence
|
|
%dir %{_datadir}/atomix/themes
|
|
%dir %{_datadir}/atomix/themes/default
|
|
%{_datadir}/atomix/themes/default/*.png
|
|
%{_datadir}/atomix/themes/default/theme
|
|
%dir %{_datadir}/atomix/ui
|
|
%{_datadir}/atomix/ui/*
|
|
%{_datadir}/icons/hicolor/*/apps/atomix.png
|
|
%{_datadir}/icons/hicolor/symbolic/apps/atomix-symbolic.svg
|
|
%doc AUTHORS COPYING
|
|
#ChangeLog NEWS README
|
|
|
|
%changelog
|
|
* Fri Sep 13 2019 Automatic Build System <autodist@mambasoft.it> 3.34.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Apr 09 2019 Automatic Build System <autodist@mambasoft.it> 3.32.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Mar 16 2019 Automatic Build System <autodist@mambasoft.it> 3.32.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Oct 01 2018 Automatic Build System <autodist@mambasoft.it> 3.30.0.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 3.22.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Apr 19 2016 Automatic Build System <autodist@mambasoft.it> 3.20.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Oct 09 2015 Automatic Build System <autodist@mambasoft.it> 3.18.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Apr 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.16.0-1mamba
|
|
- update to 3.16.0
|
|
|
|
* 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
|