Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Robert-André Mauchin
1af53126bc Rebuilt for toxcore soname bump 2018-06-26 13:40:21 +02:00
Robert-André Mauchin
f6d4b06e7f Upstream release 0.17.0 2018-04-19 18:17:34 +02:00
3 changed files with 21 additions and 22 deletions

2
.gitignore vendored
View file

@ -1 +1,3 @@
/utox-0.16.1.tar.gz
/third-party.tar.gz
/utox-0.17.0.tar.gz

View file

@ -1 +1,2 @@
SHA512 (utox-0.16.1.tar.gz) = 60350bf28b8ac067287550ce42bfb9b10502fbe94298ea9d4f00fb257bfc76c6cd9a7ef843719732e8d3e84789a391a95f3f1be732427b99ab8af472844e62a4
SHA512 (third-party.tar.gz) = 8aa9b95eff430627124fc5ec93747bfb2d28fd78c04d66290b70b25c4d48a39b828ca045c3c0302ea49d8186101ab7636ccb2f1db0d64f33bb3b18dd6df86ddb
SHA512 (utox-0.17.0.tar.gz) = c22e622e8dbe4d434f3e750ef78869c9ad7ad18162cd938d8006778cc5e788d2852bd4a06f3d498e62733845bec42bc5ac174bb20cb4a7b91954f97d6277ed8c

View file

@ -1,5 +1,5 @@
Name: utox
Version: 0.16.1
Version: 0.17.0
Release: 2%{?dist}
Summary: The lightweight Tox client
@ -7,6 +7,12 @@ License: MIT or GPLv3+
URL: https://github.com/uTox/uTox/
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: %{name}.appdata.xml
# git clone https://github.com/uTox/uTox
# cd uTox
# git checkout v0.17.0
# git submodule init ; git submodule update
# tar -zcvf third-party.tar.gz third-party/
Source2: third-party.tar.gz
BuildRequires: gcc-c++
BuildRequires: cmake
@ -24,24 +30,23 @@ BuildRequires: pkgconfig(libv4l2)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xrender)
BuildRequires: pkgconfig(libsodium)
BuildRequires: pkgconfig(libtoxcore)
BuildRequires: pkgconfig(toxcore)
Requires: hicolor-icon-theme
%description
%summary
%prep
%autosetup -n uTox-%{version}
%autosetup -N -T -D -a 2 -n uTox-%{version}
%build
mkdir build
pushd build
%cmake .. -DENABLE_ASAN=OFF
cd build
%cmake ..
%make_build
popd
%install
@ -58,21 +63,6 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/%{name}.appdata.xml
%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
%license LICENSE
%doc README.md CHANGELOG.md
@ -84,6 +74,12 @@ fi
%changelog
* Tue Jun 26 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0.17.0-2
- Rebuilt for toxcore soname bump
* Thu Apr 19 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0.17.0-1
- Upstream release 0.17.0
* Tue Oct 31 2017 Robert-André Mauchin <zebob.m@gmail.com> 0.16.1-2
- Clean-up the SPEC