Name: torrent-search Version: 0.11.2 Release: 1%{?dist} Summary: A torrent searching graphical application Group: Applications/Internet License: GPLv3+ URL: http://torrent-search.sourceforge.net/ Source0: http://space.dl.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}_%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel, pygtk2, libxml2-python, python-httplib2 BuildRequires: dbus-python BuildRequires: desktop-file-utils BuildRequires: gettext %description Torrent Search looks for torrent files on different websites, and allows the user to filter the results, making it very easy to find the torrent you want. %package zsh Summary: zsh support for torrent search Requires: %{name} = %{version}-%{release} %description zsh zsh support for torrent search which use for searching torrent files on different sites. %prep %setup -q -n %{name} %build CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %install %{__python} setup.py install --skip-build --root="$RPM_BUILD_ROOT" desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop chmod 655 $RPM_BUILD_ROOT%{_bindir}/%{name} chmod 655 $RPM_BUILD_ROOT%{_bindir}/%{name}-gnomeapplet #file permissions chmod 655 $RPM_BUILD_ROOT%{python_sitelib}/TorrentSearch/*.py chmod 655 $RPM_BUILD_ROOT%{python_sitelib}/TorrentSearch/exceptions/*.py chmod 655 $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop chmod 644 $RPM_BUILD_ROOT%{_datadir}/omf/%{name}/*.omf chmod 644 $RPM_BUILD_ROOT%{_datadir}/gnome/help/%{name}/*/*.xml %find_lang %{name} %files -f %{name}.lang %defattr(-,root,root,-) %{_bindir}/%{name} %{_bindir}/%{name}-gnomeapplet /usr/lib/bonobo/servers/TorrentSearch_Applet.server %{python_sitelib}/TorrentSearch/ %{python_sitelib}/torrent_search-*.egg-info %{_datadir}/gnome/help/%{name}/ %{_datadir}/app-install/icons/ %{_datadir}/applications/%{name}.desktop %{_datadir}/man/*/man1/%{name}.1.gz %{_datadir}/man/man1/%{name}.1.gz %dir %{_datadir}/omf/%{name} %{_datadir}/omf/%{name}/*.omf %{_datadir}/%{name}/ %doc %{_datadir}/doc/%{name}/html/*/index.html %files zsh %defattr(-,root,root,-) %{_datadir}/zsh/ %changelog * Sat Mar 10 2012 Praveen Kumar 0.11.2-1 - New Release * Mon May 16 2011 Praveen Kumar 0.9.2.3-4 - Solve unversioned directory problems * Fri May 13 2011 Praveen Kumar 0.9.2.3-3 - Created zsh subpackage - Added latest release - Changed file permissions * Mon Apr 11 2011 Praveen Kumar 0.9.2-2 - Deleted zsh files - Added docs files in doc section - Added gettext as BR * Sat Apr 9 2011 Praveen Kumar 0.9.2-1 - Initial version of the package