New upstream release
This commit is contained in:
parent
a75c257b4c
commit
d7c1d4bc39
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
bastet-0.43.tgz
|
||||
/0.43.1.zip
|
||||
|
19
bastet.spec
19
bastet.spec
@ -1,16 +1,15 @@
|
||||
Name: bastet
|
||||
Version: 0.43
|
||||
Release: 22%{?dist}
|
||||
Version: 0.43.1
|
||||
Release: 1%{?dist}
|
||||
Summary: An evil falling bricks game
|
||||
|
||||
Group: Amusements/Games
|
||||
License: GPLv3+
|
||||
URL: http://fph.altervista.org/prog/bastet.html
|
||||
Source0: http://fph.altervista.org/prog/files/%{name}-%{version}.tgz
|
||||
Source0: https://github.com/fph/bastet/archive/%{version}.zip
|
||||
Source1: %{name}.desktop
|
||||
# self-made icon
|
||||
Source2: %{name}.png
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: boost-devel ncurses-devel desktop-file-utils
|
||||
|
||||
@ -43,6 +42,10 @@ make %{?_smp_mflags} CXXFLAGS="%{optflags}"
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
|
||||
# install the AppData file
|
||||
%__mkdir_p %{buildroot}%{_datadir}/appdata
|
||||
cp bastet.appdata.xml %{buildroot}%{_datadir}/appdata/
|
||||
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
|
||||
install -p -m 755 bastet %{buildroot}%{_bindir}/bastet
|
||||
@ -63,10 +66,6 @@ mkdir -p %{buildroot}%{_mandir}/man6/
|
||||
%{buildroot}%{_mandir}/man6/%{name}.6
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
@ -87,11 +86,15 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
%doc AUTHORS LICENSE NEWS README
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/appdata/%{name}.appdata.xml
|
||||
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
||||
%{_mandir}/man6/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu May 29 2014 Richard Hughes <richard@hughsie.com> - 0.43.1-1
|
||||
- New upstream release
|
||||
|
||||
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.43-22
|
||||
- Rebuild for boost 1.55.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user