General
Start
APT/YUM/Smart config
List of packages
GPG key
Mirrors
Recent changes
How you can help
Pydar2
Thanks:
Buildsystem hosted at ithomi
SUSE and Mandrake builds made by the openSUSE build service
Static site hosted at ULYSSIS
Primary mirrors hosted at BELNET, HEAnet, 3TI
Varia:
Random picture!
Looking for a java job?
Leuven blogt

apserver spec file : Dries RPM Repository

Back to the apserver rpms

Current spec in pydar2:


# $Id: apserver.spec 4286 2006-04-08 21:39:15Z dries $
# Authority: dries
# Upstream: Dmitry Rozmanov 

%define real_name aps
%define real_release 098

Summary: NTLM authorization proxy server
Name: apserver
Version: 0.9.8
Release: 2.2
License: GPL
Group: System Environment/Daemons
URL: http://apserver.sourceforge.net/

Source: http://apserver.sf.net/aps%{real_release}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: dos2unix
Requires: python

%description
'NTLM Authorization Proxy Server' (APS) is a proxy software that allows you
to authenticate via an MS Proxy Server using the proprietary NTLM
protocol.It can change arbitrary values in your client's request header so
that those requests will look like they were created by MS IE.

%prep
%setup -n %{real_name}%{real_release}

%build
dos2unix server.cfg
%{__cat} <apserver.sh
#!/bin/bash
cd %{_datadir}/apserver
exec python main.py -c %{_sysconfdir}/apserver.cfg
EOF

%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0755 apserver.sh %{buildroot}%{_bindir}/apserver
%{__install} -Dp -m0644 server.cfg %{buildroot}%{_sysconfdir}/apserver.cfg

%{__install} -Dp -m0644 main.py %{buildroot}%{_datadir}/apserver/main.py
%{__cp} -apv lib/ %{buildroot}%{_datadir}/apserver/

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc COPYING doc/ Install.txt readme.txt research.txt
%config(noreplace) %{_sysconfdir}/apserver.cfg
%{_bindir}/apserver
%{_datadir}/apserver/

%changelog
* Sat Apr 08 2006 Dries Verachtert  - 0.9.8-2.2
- Rebuild for Fedora Core 5.

* Sun May 02 2004 Dag Wieers  - 0.9.8-3
- Cosmetic cleanup.
- Use exec in startup script.
- Tag config-file and add noreplace.

* Sat Jan 10 2004 Dries Verachtert  0.9.8-2
- spec file cleanup

* Fri Dec 26 2003 Dries Verachtert  0.9.8-1
- first packaging for Fedora Core 1