[atomix] - Updating to 3.15.4

Jaromír Cápík jcapik at fedoraproject.org
Thu Jan 22 18:22:33 UTC 2015


commit 42be90a74d2e6dc333849b8e4c0a591fdb243b7d
Author: Jaromir Capik <jcapik at redhat.com>
Date:   Thu Jan 22 19:22:55 2015 +0100

    - Updating to 3.15.4

 .gitignore                          |    1 +
 atomix-about-dlg-close-button.patch |   11 -----------
 atomix.spec                         |   30 ++++++++++++------------------
 sources                             |    2 +-
 4 files changed, 14 insertions(+), 30 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6f6e015..62327dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 atomix-2.14.0.tar.bz2
+/atomix-3.15.4.tar.xz
diff --git a/atomix.spec b/atomix.spec
index 1adff80..e2e4916 100644
--- a/atomix.spec
+++ b/atomix.spec
@@ -1,19 +1,16 @@
 Name:           atomix
-Version:        2.14.0
-Release:        19%{?dist}
+Version:        3.15.4
+Release:        1%{?dist}
 Summary:        Puzzle game: Build molecules out of isolated atoms
 
 Group:          Amusements/Games
 License:        GPLv2+
 URL:            http://jens.triq.net/atomix.php
-Source0:        http://ftp.gnome.org/pub/GNOME/sources/atomix/2.14/atomix-2.14.0.tar.bz2
+Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/%(echo "%{version}" | cut -f-2 -d'.')/%{name}-%{version}.tar.xz
 
-Patch0:         %{name}-about-dlg-close-button.patch
-
-BuildRequires:  gettext
-BuildRequires:  perl-XML-Parser
+BuildRequires:  intltool
 BuildRequires:  desktop-file-utils
-BuildRequires:  libgnomeui-devel >= 2.0
+
 
 %description
 Atomix is yet another little mind game. You have to build molecules out of
@@ -25,23 +22,16 @@ Amiga game Atomix and uses the GNOME libraries.
 %prep
 %setup -q
 
-%patch0 -p1
 
 %build
-export LDFLAGS="${LDFLAGS} -lm"
 %configure
-# gnome bz#334319 -- translations don't get built; workaround that
-sed  -i 's!^SOURCES = !&\n'"$(grep "^CATALOGS" po/Makefile.in)"'!' po/Makefile
 make %{?_smp_mflags}
 
 
 %install
 %make_install
-%find_lang %{name}
 
-# move scorefile to proper place
-mkdir -p ${RPM_BUILD_ROOT}/%{_localstatedir}/lib/
-mv ${RPM_BUILD_ROOT}%{_localstatedir}/games ${RPM_BUILD_ROOT}%{_localstatedir}/lib/
+%find_lang %{name}
 
 desktop-file-install \
    --dir $RPM_BUILD_ROOT%{_datadir}/applications \
@@ -50,16 +40,20 @@ desktop-file-install \
    --remove-category PuzzleGame \
    ${RPM_BUILD_ROOT}%{_datadir}/applications/atomix.desktop
 
+
 %files -f %{name}.lang
 %doc AUTHORS COPYING ChangeLog NEWS README
 %attr(2755,games,games) %{_bindir}/atomix
 %{_datadir}/atomix
 %{_datadir}/pixmaps/atomix-icon.png
-%{_datadir}/gnome-2.0/ui/atomix-ui.xml
 %{_datadir}/applications/atomix.desktop
-%verify(not md5 size mtime) %config(noreplace) %attr(0664,games,games) %{_localstatedir}/lib/games/atomix.scores
+%{_datadir}/appdata/atomix.appdata.xml
+
 
 %changelog
+* Thu Jan 22 2015 Jaromir Capik <jcapik at redhat.com> - 3.15.4-1
+- Updating to 3.15.4
+
 * Fri Aug 15 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.14.0-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
diff --git a/sources b/sources
index 64eeeed..115fdc4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-54f4b98463b57aebc7692d1b153791af  atomix-2.14.0.tar.bz2
+e5866bc0d949bf9d09e076249904baee  atomix-3.15.4.tar.xz


More information about the scm-commits mailing list