Group :: Rede/Outros
RPM: transconnect
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# -*- rpm-spec -*-
Name: transconnect
Version: 1.3
Release: alt4
Summary: use internet with HTTP CONNECT
License: GPL
Group: Networking/Other
Url: http://transconnect.sourceforge.net/
Packager: Yauheni Kaliuta <tren at altlinux.ru>
Source0: %url/sourceforge/transconnect/%name-%version-Beta.tar.gz
Source1: proxyfy
Patch0: %name-1.3-build.patch
%description
Transconnect is an implementation to allow network connections over
a HTTP proxy. This should work under almost all linux distributions using
glibc, and all proxies allowing https CONNECT (eg squid).
%prep
%setup -q -n %name-%version-Beta
%patch -p1
%build
%add_optflags %optflags_shared
%make_build CFLAGS="$RPM_OPT_FLAGS"
%install
install -D -m 755 %SOURCE1 %buildroot%_bindir/transconnect
install -D tconn.so %buildroot%_libdir/libtransconnect.so.0
install -D -p -m 644 tconn.conf %buildroot%_sysconfdir/transconnect.conf
%files
%doc README AUTHORS COPYING INSTALL TROUBLESHOOT
%config %_sysconfdir/%name.conf
%_bindir/%name
%_libdir/lib%name.so.*
%changelog
…
Todas as alterações você pod ver aqui
Name: transconnect
Version: 1.3
Release: alt4
Summary: use internet with HTTP CONNECT
License: GPL
Group: Networking/Other
Url: http://transconnect.sourceforge.net/
Packager: Yauheni Kaliuta <tren at altlinux.ru>
Source0: %url/sourceforge/transconnect/%name-%version-Beta.tar.gz
Source1: proxyfy
Patch0: %name-1.3-build.patch
%description
Transconnect is an implementation to allow network connections over
a HTTP proxy. This should work under almost all linux distributions using
glibc, and all proxies allowing https CONNECT (eg squid).
%prep
%setup -q -n %name-%version-Beta
%patch -p1
%build
%add_optflags %optflags_shared
%make_build CFLAGS="$RPM_OPT_FLAGS"
%install
install -D -m 755 %SOURCE1 %buildroot%_bindir/transconnect
install -D tconn.so %buildroot%_libdir/libtransconnect.so.0
install -D -p -m 644 tconn.conf %buildroot%_sysconfdir/transconnect.conf
%files
%doc README AUTHORS COPYING INSTALL TROUBLESHOOT
%config %_sysconfdir/%name.conf
%_bindir/%name
%_libdir/lib%name.so.*
%changelog
…
Todas as alterações você pod ver aqui