automatic version update by autodist [release 3.30.0.1-1mamba;Mon Oct 01 2018]
This commit is contained in:
parent
f67c87ce98
commit
97bbe02a99
50
atomix.spec
50
atomix.spec
@ -1,7 +1,7 @@
|
||||
%define majversion %(echo %version | cut -d. -f 1-2)
|
||||
|
||||
Name: atomix
|
||||
Version: 3.22.0
|
||||
Version: 3.30.0.1
|
||||
Release: 1mamba
|
||||
Summary: A little mind game where you have to build molecules out of single atoms
|
||||
Group: Graphical Desktop/Applications/Educational
|
||||
@ -12,18 +12,6 @@ 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
|
||||
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
|
||||
@ -45,7 +33,18 @@ 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
|
||||
@ -56,15 +55,15 @@ Atomix is yet another little mind game for GNOME, where you have to build molecu
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
%meson
|
||||
|
||||
# gnome bz#334319 -- translations don't get built; workaround that
|
||||
sed -i 's!^SOURCES = !&\n'"$(grep "^CATALOGS" po/Makefile.in)"'!' po/Makefile
|
||||
## 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
|
||||
|
||||
sed -i "s|games\.games|`id -u`\.`id -g`|" Makefile
|
||||
sed -i "s|chgrp games $(DESTDIR)$(bindir)||" Makefile
|
||||
|
||||
%make
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
@ -74,7 +73,7 @@ sed -i "s|chgrp games $(DESTDIR)$(bindir)||" Makefile
|
||||
#install -d locale/it/LC_MESSAGES
|
||||
#/usr/bin/msgfmt po/it.po -o locale/it/LC_MESSAGES/%{name}.mo
|
||||
|
||||
%makeinstall
|
||||
%meson_install
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
@ -88,7 +87,7 @@ chmod 666 %{_localstatedir}/games/atomix.scores
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/atomix.desktop
|
||||
%{_datadir}/appdata/atomix.appdata.xml
|
||||
%{_datadir}/metainfo/atomix.appdata.xml
|
||||
%dir %{_datadir}/atomix
|
||||
%{_datadir}/atomix/*.png
|
||||
%dir %{_datadir}/atomix/level
|
||||
@ -99,13 +98,16 @@ chmod 666 %{_localstatedir}/games/atomix.scores
|
||||
%{_datadir}/atomix/themes/default/*.png
|
||||
%{_datadir}/atomix/themes/default/theme
|
||||
%dir %{_datadir}/atomix/ui
|
||||
%{_datadir}/atomix/ui/interface.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
|
||||
* 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user