- files, NFY
[packages/torsocks.git] / torsocks.spec
1 Summary:        Torsocks
2 Summary(pl.UTF-8):      Torsocks
3 Name:           torsocks
4 Version:        1.2
5 Release:        1
6 License:        GPL v2
7 Group:          Applications
8 Source0:        http://torsocks.googlecode.com/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  9bdc8786951e7eec6915433f324f22a4
10 URL:            http://code.google.com/p/torsocks/
11 #BuildRequires: -
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Torsocks allows you to use most socks-friendly applications in a safe 
16 way with Tor. It ensures that DNS requests are handled safely 
17 and explicitly rejects UDP traffic from the application you're using.
18
19 #%description -l pl.UTF-8
20
21 %prep
22 %setup -q
23
24 %build
25 %configure
26 %{__make}
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30
31 %{__make} install \
32         DESTDIR=$RPM_BUILD_ROOT
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %post   -p /sbin/ldconfig
38 %postun -p /sbin/ldconfig
39
40 %files
41 %defattr(644,root,root,755)
42 %doc ChangeLog README TODO
43 #%attr(755,root,root) %{_bindir}/*
44 %{_sysconfdir}/torsocks.conf
45 %attr(755,root,root) %{_bindir}/torsocks
46 %attr(755,root,root) %{_bindir}/usewithtor
47 %attr(755,root,root) %ghost %{_libdir}/torsocks/libtorsocks.so.?
48 %attr(755,root,root) %{_libdir}/torsocks/libtorsocks.so.*.*.*
49 %{_mandir}/man1/*.1.gz
50 %{_mandir}/man5/*.5.gz
51 %{_mandir}/man8/*.8.gz