Group :: File tools
RPM: torrent-file-editor
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: torrent-file-editor
Version: 0.3.17
Release: alt3
License: GPLv3+
Summary: Torrent File Editor
Group: File tools
Url: https://torrent-file-editor.github.io/
Source0: %name-%version.tar.gz
Patch0: torrent-file-editor-0.3.17-uk_UA.patch
Provides: %name-common %name-qt5
Obsoletes: %name-common %name-qt5
BuildRequires: ccmake qt5-tools-devel
%description
Qt based GUI tool designed to create and edit .torrent files
%prep
%setup
%patch0 -p1
%build
mkdir ./build && cd ./build
cmake ../. \
-DCMAKE_INSTALL_PREFIX=%prefix \
-DQT5_BUILD=ON \
-DCMAKE_CXX_FLAGS:STRING="%optflags" \
-DCMAKE_C_FLAGS:STRING="%optflags" \
-DENABLE_PCH:BOOL=OFF
%make_build
%install
cd ./build
%make DESTDIR=%buildroot install
%files
%doc README.md LICENSE
%_bindir/%name
%_desktopdir/%name.desktop
%_datadir/appdata/*.xml
%_iconsdir/hicolor/*/apps/%name.*
%changelog
…
Full changelog you can see here
Version: 0.3.17
Release: alt3
License: GPLv3+
Summary: Torrent File Editor
Group: File tools
Url: https://torrent-file-editor.github.io/
Source0: %name-%version.tar.gz
Patch0: torrent-file-editor-0.3.17-uk_UA.patch
Provides: %name-common %name-qt5
Obsoletes: %name-common %name-qt5
BuildRequires: ccmake qt5-tools-devel
%description
Qt based GUI tool designed to create and edit .torrent files
%prep
%setup
%patch0 -p1
%build
mkdir ./build && cd ./build
cmake ../. \
-DCMAKE_INSTALL_PREFIX=%prefix \
-DQT5_BUILD=ON \
-DCMAKE_CXX_FLAGS:STRING="%optflags" \
-DCMAKE_C_FLAGS:STRING="%optflags" \
-DENABLE_PCH:BOOL=OFF
%make_build
%install
cd ./build
%make DESTDIR=%buildroot install
%files
%doc README.md LICENSE
%_bindir/%name
%_desktopdir/%name.desktop
%_datadir/appdata/*.xml
%_iconsdir/hicolor/*/apps/%name.*
%changelog
…
Full changelog you can see here