96 lines
2.6 KiB
RPMSpec
96 lines
2.6 KiB
RPMSpec
%define name nicotine
|
|
%define version 1.0.8
|
|
%define release 1.te
|
|
|
|
Summary: SoulSeek file sharing client
|
|
Name: %{name}
|
|
Version: %{version}
|
|
Release: %{release}
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
Source1: %{name}-48.png
|
|
Source2: nicotine-net.desktop
|
|
Source3: nicotine-1.0.2-debianmanpages.tar.bz2
|
|
URL: http://nicotine.thegraveyard.org/
|
|
License: GPL
|
|
Group: Networking/File transfer
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot
|
|
BuildRequires: python-devel
|
|
Requires: pygtk2 >= 1.99.16
|
|
|
|
%description
|
|
Nicotine is a client for the SoulSeek filesharing network. It was "forked"
|
|
(and thus reuses a lot of code) from the PySoulSeek project by Alexander
|
|
Kanavin, and features (among other things) a completely new graphical user
|
|
interface. The homepage of PySoulSeek is http://sensi.org/~ak/pyslsk/
|
|
|
|
%prep
|
|
%setup -q -a 3
|
|
# use the right path in the debian man pages
|
|
perl -pi -e "s!/usr/share/doc/nicotine/!%_docdir/%name-%version/!" *.1
|
|
|
|
%build
|
|
python setup.py build
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
python setup.py install --root=$RPM_BUILD_ROOT
|
|
# menu
|
|
install -D -m 644 %SOURCE2 \
|
|
%buildroot/%_datadir/applications/net-nicotine.desktop
|
|
# icon
|
|
install -D -m 644 %SOURCE1 %buildroot/%_datadir/pixmaps/%name.png
|
|
# man pages
|
|
install -d -m 755 %buildroot%_mandir/man1
|
|
install -m 644 *.1 %buildroot%_mandir/man1
|
|
|
|
%find_lang %name
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f %name.lang
|
|
%defattr(-,root,root)
|
|
%doc CHANGELOG COPYING INSTALL KNOWN_BUGS MAINTAINERS README* TODO
|
|
%{_bindir}/nicotine
|
|
%{_bindir}/nicotine-import-winconfig
|
|
%{_libdir}/python?.?/site-packages/pynicotine/
|
|
%{_mandir}/man1/nicotine.1*
|
|
%{_mandir}/man1/nicotine-import-winconfig.1*
|
|
%{_datadir}/applications/net-nicotine.desktop
|
|
%{_datadir}/pixmaps/nicotine.png
|
|
|
|
%changelog
|
|
* Fri Feb 11 2005 Troy Engel <tengel@sonic.net> 1.0.8
|
|
- new version
|
|
|
|
* Tue Dec 16 2003 Troy Engel <tengel@sonic.net> 1.0.6
|
|
- new version
|
|
|
|
* Thu Oct 23 2003 Troy Engel <tengel@sonic.net> 1.0.4.1-1
|
|
- new version
|
|
- made RedHat9 generic naming format
|
|
- removed pyvorbis, geoip and psyco requirements
|
|
- removes psyco patch
|
|
- reworked menu/icon to be like xchat (thanks guys)
|
|
- changed to noarch
|
|
- removed post actions, not needed
|
|
|
|
* Wed Sep 17 2003 G�tz Waschk <goetz@plf.zarb.org> 1.0.4-1plf
|
|
- add language filese
|
|
- new version
|
|
|
|
* Thu Sep 4 2003 G�tz Waschk <goetz@plf.zarb.org> 1.0.3-1plf
|
|
- new version
|
|
|
|
* Mon Sep 1 2003 G�tz Waschk <goetz@plf.zarb.org> 1.0.2-2plf
|
|
- depend on psyco if built on x86
|
|
- steak psyco patch from debian
|
|
- steal man pages from debian
|
|
|
|
* Sun Aug 24 2003 G�tz Waschk <goetz@plf.zarb.org> 1.0.2-1plf
|
|
- new version
|
|
|
|
* Wed Aug 20 2003 G�tz Waschk <goetz@plf.zarb.org> 1.0.1-1plf
|
|
- initial package
|
|
|