|
|
@ -1,16 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: transmission
|
|
|
|
Name: transmission
|
|
|
|
Version: 0.6.1
|
|
|
|
Version: 0.71
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: A lightweight GTK+ BitTorrent client
|
|
|
|
Summary: A lightweight GTK+ BitTorrent client
|
|
|
|
|
|
|
|
|
|
|
|
Group: Applications/Internet
|
|
|
|
Group: Applications/Internet
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: http://transmission.m0k.org/
|
|
|
|
URL: http://transmission.m0k.org/
|
|
|
|
Source0: http://download.m0k.org/transmission/files/Transmission-%{version}.tar.gz
|
|
|
|
Source0: http://download.m0k.org/transmission/files/Transmission-%{version}.tar.gz
|
|
|
|
Source1: transmission.png
|
|
|
|
Patch0: transmission-0.71-manpath.patch
|
|
|
|
Patch0: transmission-0.6.1-install.patch
|
|
|
|
|
|
|
|
Patch1: transmission-0.6.1-gtk.patch
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
@ -18,9 +16,6 @@ BuildRequires: gtk2-devel >= 2.6.0
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: gettext intltool
|
|
|
|
BuildRequires: gettext intltool
|
|
|
|
|
|
|
|
|
|
|
|
Requires(post): desktop-file-utils
|
|
|
|
|
|
|
|
Requires(postun): desktop-file-utils
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Transmission is a free, lightweight BitTorrent client. It features a
|
|
|
|
Transmission is a free, lightweight BitTorrent client. It features a
|
|
|
@ -30,8 +25,7 @@ back-end.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Transmission-%{version}
|
|
|
|
%setup -q -n Transmission-%{version}
|
|
|
|
%patch0 -p1 -b .inst
|
|
|
|
%patch0 -p1 -b .manpath
|
|
|
|
%patch1 -p1 -b .gtk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -41,27 +35,13 @@ make %{?_smp_mflags} CC=%{__cc}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%makeinstall
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%find_lang %{name}-gtk
|
|
|
|
%find_lang %{name}-gtk
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps/
|
|
|
|
|
|
|
|
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/pixmaps/transmission.png
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat << EOF > %{name}.desktop
|
|
|
|
|
|
|
|
[Desktop Entry]
|
|
|
|
|
|
|
|
Name=Transmission
|
|
|
|
|
|
|
|
Comment=Download from BitTorrents
|
|
|
|
|
|
|
|
Exec=transmission-gtk
|
|
|
|
|
|
|
|
Icon=transmission.png
|
|
|
|
|
|
|
|
Terminal=false
|
|
|
|
|
|
|
|
Type=Application
|
|
|
|
|
|
|
|
Encoding=UTF-8
|
|
|
|
|
|
|
|
Categories=Application;GTK;Network;Internet;X-Fedora;
|
|
|
|
|
|
|
|
MimeType=application/x-bittorrent;
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
desktop-file-install --vendor fedora \
|
|
|
|
desktop-file-install --vendor fedora \
|
|
|
|
--dir $RPM_BUILD_ROOT/%{_datadir}/applications/ %{name}.desktop
|
|
|
|
--delete-original \
|
|
|
|
|
|
|
|
--dir $RPM_BUILD_ROOT/%{_datadir}/applications/ \
|
|
|
|
|
|
|
|
$RPM_BUILD_ROOT/%{_datadir}/applications/%{name}-gtk.desktop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%clean
|
|
|
@ -81,11 +61,17 @@ update-desktop-database > /dev/null 2>&1 || :
|
|
|
|
%doc AUTHORS LICENSE NEWS README
|
|
|
|
%doc AUTHORS LICENSE NEWS README
|
|
|
|
%{_bindir}/transmission*
|
|
|
|
%{_bindir}/transmission*
|
|
|
|
%{_datadir}/pixmaps/*
|
|
|
|
%{_datadir}/pixmaps/*
|
|
|
|
%{_datadir}/applications/*transmission.desktop
|
|
|
|
%{_datadir}/zsh/site-functions/*
|
|
|
|
|
|
|
|
%{_datadir}/applications/*transmission-gtk.desktop
|
|
|
|
%doc %{_mandir}/man1/transmission*
|
|
|
|
%doc %{_mandir}/man1/transmission*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Apr 25 2007 Denis Leroy <denis@poolshark.org> - 0.71-1
|
|
|
|
|
|
|
|
- Update to 0.71
|
|
|
|
|
|
|
|
- Removed custom desktop file
|
|
|
|
|
|
|
|
- Added patch to fix manpath
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Sep 28 2006 Denis Leroy <denis@poolshark.org> - 0.6.1-3
|
|
|
|
* Thu Sep 28 2006 Denis Leroy <denis@poolshark.org> - 0.6.1-3
|
|
|
|
- Added project icon
|
|
|
|
- Added project icon
|
|
|
|
- Honor cc variable
|
|
|
|
- Honor cc variable
|
|
|
|