Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
tools
>
xbt-tracker
> xbt-tracker.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File xbt-tracker.spec of Package xbt-tracker (Revision 9)
Currently displaying revision
9
,
show latest
# norootforbuild Name: xbt-tracker Version: r2075 Release: 1 License: GPLv3 Group: Productivity/Networking/Other Summary: XBT Tracker is a BitTorrent tracker written in C++ URL: http://xbtt.sourceforge.net/tracker/ Source0: %{name}-%{version}.tar.bz2 Patch0: xbt_tracker_log.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %ifarch %ix86 BuildArch: i686 %endif BuildRequires: gcc-c++, cmake >= 2.4, boost-devel, libstdc++-devel, zlib-devel %if 0%{?suse_version} BuildRequires: libmysqlclient-devel PreReq: %insserv_prereq %fillup_prereq %else BuildRequires: mysql-devel %endif %description XBT Tracker is a BitTorrent tracker written in C++. It's designed to offer high performance while consuming little resources (CPU and RAM). It's a pure tracker, so it doesn't offer a frontend. You can use any (PHP) frontend you want. %prep %setup -q -n %{name}-%{version} %patch0 -p0 %build export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" export LDFLAGS="-L%{_libdir}/mysql" cd Tracker cmake . %__make %install cd Tracker %__install -d -m 750 %{buildroot}/var/log/%{name} %__install -D -s -m 755 xbt_tracker %{buildroot}/%{_sbindir}/%{name} %__install -D -m 660 xbt_tracker.conf %{buildroot}/%{_sysconfdir}/%{name}/%{name}.conf %__install -D -m 644 xbt_tracker.sql %{buildroot}/%{_sysconfdir}/%{name}/%{name}.sql %__install -D -m 755 xbt_tracker.init %{buildroot}/%{_initrddir}/%{name} ln -sf %{_initrddir}/%{name} %{buildroot}/%{_sbindir}/rcxbt-tracker %post %if 0%{?suse_version} %fillup_and_insserv %{name} %restart_on_update %{name} %endif %preun %if 0%{?suse_version} %stop_on_removal %{name} %endif %postun %if 0%{?suse_version} %insserv_cleanup %endif %clean rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_sbindir}/%{name} %{_initrddir}/%{name} %{_sbindir}/rcxbt-tracker %dir %attr(750,root,root) %{_sysconfdir}/%{name} %config %{_sysconfdir}/%{name}/%{name}.sql %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %dir %attr(750,root,root) /var/log/%{name} %doc Tracker/COPYING Tracker/htdocs/* %changelog * Tue Dec 07 2010 Grozdan Nikolov <neutrino8@gmail.com> r2075 - Update to revision r2075 * Sun Nov 07 2010 Grozdan Nikolov <neutrino8@gmail.com> r2074 - Update to revision r2074 * Sun Jul 04 2010 Grozdan Nikolov <neutrino8@gmail.com> r2060 - Update to revision r2060 * Fri Apr 16 2010 Grozdan Nikolov <neutrino8@gmail.com> r2025 - Update to revision r2025 - Note: license change GPLv2 -> GPLv3 * Thu Mar 11 2010 Grozdan Nikolov <neutrino8@gmail.com> r1997 - Update to revision r1997 * Sun Feb 07 2010 Grozdan Nikolov <neutrino8@gmail.com> r1996 - Update to revision r1996 * Mon Dec 28 2009 Grozdan Nikolov <neutrino8@gmail.com> - Patch for log directory path * Mon Dec 14 2009 Grozdan Nikolov <neutrino8@gmail.com> - Move binary to /usr/sbin * Fri Dec 11 2009 Grozdan Nikolov <neutrino8@gmail.com> - Initial package release