]> git.pld-linux.org Git - packages/atomix.git/blobdiff - atomix.spec
- updated to 44.0
[packages/atomix.git] / atomix.spec
index 5e5cd316c524b9b1a93e49adb3cff41c523c80b2..545bfd4d5c99668cf5c9e4287c47b2d4d621b215 100644 (file)
@@ -1,20 +1,24 @@
 Summary:       Little game where you have to build molecules out of single atoms
 Summary:       Little game where you have to build molecules out of single atoms
-Summary(pl):   Ma³a gra w której trzeba budowaæ cz±steczki z pojedynczych atomów
+Summary(pl.UTF-8):     Mała gra, w której trzeba budować cząsteczki z pojedynczych atomów
 Name:          atomix
 Name:          atomix
-Version:       1.0.1
-Release:       3
-License:       GPL
+Version:       44.0
+Release:       1
+License:       GPL v2+
 Group:         X11/Applications/Games
 Group:         X11/Applications/Games
-Source0:       http://triq.net/~jens/download/%{name}-%{version}.tar.gz
-# Source0-md5: dd0d5d29020863d8140f919edd96d150
-Patch0:                %{name}-desktop.patch
-URL:           http://triq.net/~jens/atomix.php
-Buildrequires: autoconf
-BuildRequires: automake
-BuildRequires: intltool
-Buildrequires: libglade2-devel >= 2.0.1
-BuildRequires: libgnomeui-devel >= 2.4.0
-BuildRequires: libxml2-devel >= 2.4.23
+Source0:       https://download.gnome.org/sources/atomix/44/%{name}-%{version}.tar.xz
+# Source0-md5: 448892592ab039fcff4ce90336f50a06
+URL:           https://wiki.gnome.org/Apps/Atomix
+BuildRequires: gdk-pixbuf2-devel >= 2.0.5
+BuildRequires: gettext-tools
+BuildRequires: glib2-devel >= 1:2.36.0
+BuildRequires: gtk+3-devel >= 3.10.0
+BuildRequires: libgnome-games-support-devel >= 1
+BuildRequires: meson >= 0.41
+BuildRequires: ninja >= 1.5
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -24,34 +28,25 @@ on the playfield. Once you have pushed an atom in one direction it
 moves until it hits an obstacle or another atom. The game is inspired
 by the original Amiga version.
 
 moves until it hits an obstacle or another atom. The game is inspired
 by the original Amiga version.
 
-%description -l pl
-Atomix jest ma³± gr±, w której trzeba budowaæ cz±steczki z
-pojedynczych atomów, le¿±cych dooko³a na planszy. Gdy atom zostanie
-popchniêty, porusza siê w zadanym kierunku a¿ do momentu uderzenia w
-inny atom lub przeszkodê. Inspiracj± do powstania tej gry by³a
-oryginalna wersja na Amigê.
+%description -l pl.UTF-8
+Atomix jest małą grą, w której trzeba budować cząsteczki z
+pojedynczych atomów, leżących dookoła na planszy. Gdy atom zostanie
+popchnięty, porusza się w zadanym kierunku aż do momentu uderzenia w
+inny atom lub przeszkodę. Inspiracją do powstania tej gry była
+oryginalna wersja na Amigę.
 
 %prep
 %setup -q
 
 %prep
 %setup -q
-%patch0 -p1
-
-# Note: it is also for desktop translation
-mv -f po/{no,nb}.po
 
 %build
 
 %build
-glib-gettextize --copy --force
-intltoolize --copy --force
-%{__aclocal}
-%{__autoconf}
-%{__automake}
-%configure
-%{__make}
+%meson build
+
+%ninja_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+%ninja_install -C build
 
 %find_lang %{name}
 
 
 %find_lang %{name}
 
@@ -60,9 +55,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/*
-%{_datadir}/%{name}
-%{_desktopdir}/*.desktop
-%{_datadir}/gnome-2.0/ui/*.xml
-%{_localstatedir}/games/%{name}.scores
+%doc AUTHORS ChangeLog MAINTAINERS NEWS README.md
+%attr(755,root,root) %{_bindir}/atomix
+%{_datadir}/atomix
+%{_datadir}/metainfo/atomix.appdata.xml
+%{_desktopdir}/atomix.desktop
+%{_iconsdir}/hicolor/*x*/apps/atomix.png
+%{_iconsdir}/hicolor/symbolic/apps/atomix-symbolic.svg
This page took 0.092942 seconds and 4 git commands to generate.