Search
SailfishOS Open Build Service
>
Projects
>
home:nielnielsen
>
torsocks
> torsocks.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File torsocks.spec of Package torsocks
Name: torsocks Version: 2.2.0 Release: 0 Summary: A transparent socks proxy for use with tor Group: Applications/Internet License: GPLv2+ Source0: %{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: tor %description Torsocks allows you to use most socks-friendly applications in a safe way with Tor. It ensures that DNS requests are handled safely and explicitly rejects UDP traffic from the application you're using. %prep %setup -q %build %configure --datadir=/usr/share/%{name}/ make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # remove static libraries and libtool droppings rm -f $RPM_BUILD_ROOT/%{_libdir}/torsocks/lib%{name}.{a,la}* rm -f $RPM_BUILD_ROOT/usr/share/%{name}/*.patch %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_bindir}/torsocks %{_mandir}/man1/torsocks.1.gz %{_mandir}/man5/torsocks.conf.5.gz %{_mandir}/man8/torsocks.8.gz %{_libdir}/torsocks/lib%{name}.so.* %config(noreplace) /etc/tor/torsocks.conf /usr/share/doc/torsocks/ChangeLog /usr/share/doc/torsocks/DEBUG /usr/share/doc/torsocks/SOCKS5 /usr/share/doc/torsocks/socks-extensions.txt %package devel Group: Development/Libraries Summary: The libtorsocks library Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Torsocks allows you to use most socks-friendly applications in a safe way with Tor. It ensures that DNS requests are handled safely and explicitly rejects UDP traffic from the application you're using. These are the files used for development. %files devel %defattr(-,root,root,-) %{_libdir}/torsocks/lib*.so %changelog