| |
@@ -18,8 +18,8 @@
|
| |
%global transmission_url https://github.com/transmission
|
| |
|
| |
Name: fragments
|
| |
- Version: 1.4
|
| |
- Release: 19%{?dist}
|
| |
+ Version: 1.5
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Easy to use BitTorrent client which follows the GNOME HIG
|
| |
|
| |
# The entire source code is GPLv3+ except:
|
| |
@@ -48,7 +48,7 @@
|
| |
BuildRequires: pkgconfig(gtk+-3.0)
|
| |
BuildRequires: pkgconfig(libcurl)
|
| |
BuildRequires: pkgconfig(libevent) >= 2.0.0
|
| |
- BuildRequires: pkgconfig(libhandy-0.0)
|
| |
+ BuildRequires: pkgconfig(libhandy-1)
|
| |
BuildRequires: pkgconfig(miniupnpc)
|
| |
BuildRequires: pkgconfig(openssl) >= 0.9.7
|
| |
BuildRequires: pkgconfig(zlib)
|
| |
@@ -72,20 +72,41 @@
|
| |
%autosetup -n %{appname}-%{version} -D -T -a 3
|
| |
%autosetup -n %{appname}-%{version} -D -T -a 4
|
| |
|
| |
- mv transmission-transmission-%{transmission_shortcommit}/* \
|
| |
- /builddir/build/BUILD/%{appname}-%{version}/submodules/transmission
|
| |
mv transmission-libnatpmp-%{libnatpmp_shortcommit}/* \
|
| |
- /builddir/build/BUILD/%{appname}-%{version}/submodules/transmission/third-party/libnatpmp
|
| |
+ transmission-transmission-%{transmission_shortcommit}/third-party/libnatpmp
|
| |
mv transmission-dht-%{dht_shortcommit}/* \
|
| |
- /builddir/build/BUILD/%{appname}-%{version}/submodules/transmission/third-party/dht
|
| |
+ transmission-transmission-%{transmission_shortcommit}/third-party/dht
|
| |
mv transmission-libutp-%{libutp_shortcommit}/* \
|
| |
- /builddir/build/BUILD/%{appname}-%{version}/submodules/transmission/third-party/libutp
|
| |
+ transmission-transmission-%{transmission_shortcommit}/third-party/libutp
|
| |
|
| |
# Just to be sure libtransmission not compiles with bundled openssl
|
| |
- rm -r /builddir/build/BUILD/%{appname}-%{version}/submodules/transmission/third-party/openssl
|
| |
+ rm -r transmission-transmission-%{transmission_shortcommit}/third-party/openssl
|
| |
|
| |
|
| |
%build
|
| |
+ # First build bundled libtransmission
|
| |
+ pushd transmission-transmission-%{transmission_shortcommit}
|
| |
+ %cmake \
|
| |
+ -DINSTALL_LIB=ON \
|
| |
+ -DENABLE_DAEMON=OFF \
|
| |
+ -DENABLE_UTILS=OFF \
|
| |
+ -DENABLE_TESTS=OFF \
|
| |
+ -DENABLE_GTK=OFF \
|
| |
+ -DENABLE_QT=OFF \
|
| |
+ -DINSTALL_DOC=OFF \
|
| |
+ %{nil}
|
| |
+ %cmake_build
|
| |
+ %cmake_install
|
| |
+ popd
|
| |
+
|
| |
+ # Set up env variables so that Fragments build can find libtransmission and its bundled dependencies
|
| |
+ export C_INCLUDE_PATH=%{buildroot}%{_includedir}
|
| |
+ export LIBRARY_PATH=`pwd`/transmission-transmission-%{transmission_shortcommit}/%{__cmake_builddir}/libtransmission:$LIBRARY_PATH
|
| |
+ export LIBRARY_PATH=`pwd`/transmission-transmission-%{transmission_shortcommit}/%{__cmake_builddir}/third-party/natpmp/lib:$LIBRARY_PATH
|
| |
+ export LIBRARY_PATH=`pwd`/transmission-transmission-%{transmission_shortcommit}/%{__cmake_builddir}/third-party/dht/lib:$LIBRARY_PATH
|
| |
+ export LIBRARY_PATH=`pwd`/transmission-transmission-%{transmission_shortcommit}/%{__cmake_builddir}/third-party/utp/lib:$LIBRARY_PATH
|
| |
+
|
| |
+ # And finally, build Fragments
|
| |
%meson
|
| |
%meson_build
|
| |
|
| |
@@ -111,6 +132,10 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Thu Feb 25 2021 Kalev Lember <klember@redhat.com> - 1.5-1
|
| |
+ - Update to 1.5
|
| |
+ - Switch to libhandy-1
|
| |
+
|
| |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-19
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
| |
|
| |
This also means that we need to change the way how the bundled copy of
libtransmission is built. Previously, it was included as a git submodule
in fragments git, but that is no longer the case and we need to do a bit
more work to get it all correctly built.