Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > 667701e9c77200c201b11dcc067d43ae > files > 2

drakbt-0.15-1mdv2008.0.src.rpm

%define name	drakbt
%define version	0.15
%define release %mkrel 1

Summary:	The Mandriva Linux Bittorrent link and status checker
Name:		%{name}
Version:	%{version}
Release:    %{release}
#cvs source
# http://www.mandrivalinux.com/en/cvs.php3
Source0:	%{name}-%{version}.tar.bz2
License:	GPLv2+
URL:		http://qa.mandriva.com
Group:		Networking/File transfer
Requires:	drakxtools >= 10-57mdk, perl-libwww-perl >= 5.800-1mdk, perl-Digest-SHA1 >= 2.10-1mdk, bittorrent-gui
Requires(post):	desktop-file-utils
Requires(postun):	desktop-file-utils

BuildArch:	noarch
BuildRequires:	perl-MDK-Common-devel
BuildRoot:	%{_tmppath}/%{name}-buildroot

%description
Drakbt reports status information for a given torrent file or URL. 
It can connect automatically to Mandriva Linux websites to grab and 
display available torrents.
You should provide login and password if you want to connect to club
member restricted torrents. 
After all checks are done, you can trigger the download process from
drakbt.

Information displayed are :
- current number of complete copies (seeds) 
- incomplete copies (leeches) currently active.
- Bittorrent port reachability
- Hash info ....

%prep
%setup -q

%build

%install
rm -rf %{buildroot}
make PREFIX=%{buildroot} install 

#menu-xdg
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
cat > $RPM_BUILD_ROOT%{_datadir}/applications/mandriva-%{name}.desktop << EOF
[Desktop Entry]
Name=Bittorrent Checker
Comment=Mandriva Linux Bittorrent checker
Exec=%{_bindir}/%{name} 
Icon=%{name}
Terminal=false
Type=Application
MimeType=application/x-bittorrent;
Categories=GTK;Network;FileTransfer;P2P;X-MandrivaLinux-CrossDesktop;
EOF

#install lang
%{find_lang} %{name}

%clean
rm -rf %{buildroot}

%post
%{update_menus}
%{update_desktop_database}

%postun
%{clean_menus}
%{clean_desktop_database}

%files -f %{name}.lang
%defattr(-,root,root)
%doc README COPYING
%{_bindir}/*
/usr/lib/libDrakX/network/*.pm
%{_datadir}/%{name}
%{_datadir}/applications/mandriva-%{name}*.desktop
%{_miconsdir}/*.png
%{_iconsdir}/*.png
%{_liconsdir}/*.png



%changelog
* Mon Nov 19 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.15-1mdv2008.1
+ Revision: 110413
- fix crash on opening help (#35271)

* Wed Oct 03 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.14-1mdv2008.0
+ Revision: 95059
- updated translation

* Sat Sep 15 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.13-1mdv2008.0
+ Revision: 86822
- translation snapshot

* Sat Sep 15 2007 Adam Williamson <awilliamson@mandriva.com> 0.12-2mdv2008.0
+ Revision: 85811
- rebuild for 2008
- clean up menu categories
- Fedora license policy


* Mon Mar 12 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.12-1mdv2007.1
+ Revision: 141858
- translation snapshot

* Thu Feb 15 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.11-2mdv2007.1
+ Revision: 121401
- fix build on x86_64
- Import drakbt

* Thu Feb 15 2007 Frederic Crozat <fcrozat@mandriva.com> 0.11-2mdv2007.1
- Fix XDG menu, drop old menu and mimetypes stuff (handled by freedesktop)

* Sun Sep 17 2006 Thierry Vignaud <tvignaud@mandriva.com> 0.11-1mdv2007.0
- use %%mkrel
- updated translations
- XDG menu (steletcha)
- add requires(post,postun) and appropriate macros for mime type (steletcha)

* Fri Sep 16 2005 Daouda LO <daouda@mandriva.com> 0.10-9mdk
- fix typo
- update translations

* Fri Sep 16 2005 Daouda LO <daouda@mandriva.com> 0.10-8mdk
- pause option doesn't exist pour 10.1 shipped bittorrent package

* Thu Sep 15 2005 Daouda LO <daouda@mandriva.com> 0.10-7mdk
- Give correct URL to drakbt for public torrents
- po updates

* Thu Sep 15 2005 Daouda LO <daouda@mandriva.com> 0.10-6mdk
- fix crash when asking more infos about inexistent torrent
- fix requires
- Don't use '--no-check-certificate' with wget version <= 1.10

* Wed Sep 14 2005 Daouda LO <daouda@mandriva.com> 0.10-5mdk
- option --no-check-certificate with wget for access to club torrents

* Wed Sep 14 2005 Daouda LO <daouda@mandriva.com> 0.10-4mdk
- handle bittorrent binary name change for distros prior to 2006.0
- po updates

* Thu Sep 08 2005 Daouda LO <daouda@mandriva.com> 0.10-3mdk
- adapt to club server changes
- binary name change (btdownloadgui.py renamed bittorrent)
- Update requires

* Wed Jul 27 2005 Daouda LO <daouda@mandriva.com> 0.10-2mdk
- sync with changes in ugtk2 #17035 (oblin)

* Fri May 13 2005 Daouda LO <daouda@mandriva.com> 0.10-1mdk
- fix mime type file association 
- cleanup

* Sun May 08 2005 Daouda LO <daouda@mandriva.com> 0.9.1-1mdk
- switch to mandriva

* Sun Apr 03 2005 Daouda LO <daouda@mandrakesoft.com> 0.9.1-0.2mdk
- don't use --url option with btdownloadgui.py (#14500)
- Browse and launch local files through drakbt
- use --pause 0, to start download immediately

* Wed Feb 23 2005 Daouda LO <daouda@mandrakesoft.com> 0.9.1-0.1mdk
- 0.9.1 pre-release
- Use brand new btdownloadgui.py
- pass the --url option to btdownloadgui.py and strip http string out.
- fix FileSelector crash bug (#13939)

* Fri Jan 21 2005 Daouda LO <daouda@mandrakesoft.com> 0.8.1-7mdk
- fix main loop

* Wed Oct 06 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.8.1-6mdk
- Rebuild

* Tue Oct 05 2004 Daouda LO <daouda@mandrakesoft.com> 0.8.1-5mdk
- added command line file and http/ftp link handling
- don't try to get file attributes on combo entry changed (#)
- added mime type file (Initial pref for drakbt)

* Wed Sep 15 2004 Daouda LO <daouda@mandrakesoft.com> 0.8.1-4mdk
- po updates
- fix deep freeze in drakbt when parsing torrent files

* Sat Aug 28 2004 Daouda LO <daouda@mandrakesoft.com> 0.8.1-3mdk
- display help first
- drakbt src rpm lost in cyberspace

* Thu Aug 26 2004 Daouda LO <daouda@mandrakesoft.com> 0.8.1-2mdk
- help window
- strict requires on bittorrent-gui
- new icons
- retrieve correct seeds and leeches
- gui fixes and more error checkings

* Thu Aug 19 2004 Daouda LO <daouda@mandrakesoft.com> 0.8.1-1mdk
- first mdk release