File tixati.spec of Package tixati
Name: tixati
Version: 3.39
Release: 1
Summary: Tixati - P2P File Sharing Client
License: Tixati License (Free for personal use)
URL: https://www.tixati.com/
Source0: https://download.tixati.com/%{name}/%{name}-%{version}-1.x86_64.rpm
BuildArch: x86_64
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: glibc
AutoReqProv: on
%description
Tixati is a feature-rich, secure, and efficient P2P file sharing client.
It offers a lightweight, ad-free experience with full protocol support.
%prep
# Since we are repackaging a binary RPM, no compilation is needed
%setup -q -c -n .
%build
# No build step required for binary package
%install
rm -rf %{buildroot}
# Extract the original RPM
rpm2cpio %{SOURCE0} | cpio -idmv -D %{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
/usr/bin/tixati
/usr/share/applications/tixati.desktop
/usr/share/icons/hicolor/*/apps/tixati.png
/usr/share/doc/tixati/*
%license %{buildroot}/usr/share/doc/tixati/license.txt
%post
# Update desktop database
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q /usr/share/applications
fi
# Update icon cache
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -q /usr/share/icons/hicolor
fi
%postun
# Update desktop database after uninstall
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q /usr/share/applications
fi
# Update icon cache after uninstall
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -q /usr/share/icons/hicolor
fi
%changelog
* Wed Dec 04 2024 Alex.S.Shubin <renard.corpl@hotmal.com> 144.0.3677.0-1
- Initial package