mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
6925be34b5
* chore: fix markdown headers in NEWS.md * chore: turn closed pulls/issues into links * chore: linkify the release headers * chore: fill in the 3.00 release date * chore: use 'NEWS.md' in build scripts * chore: tweak date format to YYYY-MM-DD
67 lines
1.7 KiB
RPMSpec
67 lines
1.7 KiB
RPMSpec
%define name transmission
|
|
%define version @VERSION@
|
|
%define release 1
|
|
|
|
Summary: Transmission BitTorrent Client
|
|
Name: %{name}
|
|
Version: %{version}
|
|
Release: %{release}
|
|
License: MIT
|
|
Group: Applications/Internet
|
|
URL: https://transmissionbt.com/
|
|
Epoch: 1
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
|
|
# MANDATORY for libtransmission
|
|
BuildRequires: curl-devel >= @CURL_MINIMUM@
|
|
BuildRequires: libevent-devel >= @LIBEVENT_MINIMUM@
|
|
BuildRequires: openssl-devel >= @OPENSSL_MINIMUM@
|
|
Requires: curl >= @CURL_MINIMUM@
|
|
Requires: libevent >= @LIBEVENT_MINIMUM@
|
|
Requires: openssl >= @OPENSSL_MINIMUM@
|
|
# MANDATORY for the gtk+ client
|
|
BuildRequires: glib2-devel >= @GLIB_MINIMUM@
|
|
BuildRequires: gtk2-devel >= @GTK_MINIMUM@
|
|
Requires: glib2 >= @GLIB_MINIMUM@
|
|
Requires: gtk2 >= @GTK_MINIMUM@
|
|
|
|
Provides: %{name}
|
|
|
|
%description
|
|
A fast and easy BitTorrent client
|
|
|
|
%prep
|
|
%setup -q
|
|
%build
|
|
%configure --program-prefix=""
|
|
make CFLAGS="$RPM_OPT_FLAGS"
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
%find_lang %{name}-gtk
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS NEWS.md README.md
|
|
%attr(755,root,root) %{_bindir}/%{name}*
|
|
%{_datadir}/applications/%{name}-gtk.desktop
|
|
%{_datadir}/pixmaps/*
|
|
%{_datadir}/icons/*
|
|
%{_datadir}/%{name}/web/*
|
|
%{_datadir}/man/man1/%{name}*
|
|
%{_datadir}/locale/*
|
|
|
|
%changelog
|
|
|
|
* Wed Jan 13 2010 Charles Kerr <charles@charleskerr.com>
|
|
- made the GConf dependency explicit
|
|
- annotated the Depends section to show which libraries are optional
|
|
* Thu Mar 5 2009 Gijs <info@bsnw.nl>
|
|
- fixed %files section
|
|
- added Source0
|
|
* Wed Jul 18 2006 Charles Kerr <charles@charleskerr.com>
|
|
- first draft at a spec file, cribbed from Pan's spec file
|