Implements a Proxy detection (WPAD) interface for Linux, Mac OSX and Windows. Offers a GUI for manual proxy settings and automatic WPAD detection. The GUI is based on QT.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
2.1 KiB

Summary: @PACKAGENAME@ Proxy interface for Unix/Mac/Windows
Name: @PACKAGENAME@
Version: @VERSION@
Release: 1
License: LGPL
Group: Development/Libraries/C++
URL: https://dev.swisssign.com/projects/@PACKAGENAME@
Source0: %{name}-%{version}.tar.gz
BuildRequires: subversion gcc-c++ doxygen graphviz texlive automake autoconf libtool make libproxy-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
BuildRequires: cppunit-devel qt-devel
%else%if 0%{?suse_version} || 0%{?sles_version}
BuildRequires: libcppunit-devel libqt4-devel
%endif%endif
%description
@README@
This package contains only the shared libraries required at runtime.
%prep
%setup -q
function checkqt() {
( which /usr/bin/$1 || which /usr/bin/$1-qt5 || which /usr/bin/$1-qt4 ) 2>/dev/null
}
MOC="$(checkqt moc)" UIC="$(checkqt uic)" RCC="$(checkqt rcc)" \
LUPDATE="$(checkqt lupdate)" LRELEASE="$(checkqt lrelease)" \
CPPFLAGS="-I/usr/include/PCSC -I/usr/include/pkcs11-helper-1.0" \
./configure --prefix=/usr \
--docdir=/usr/share/doc/packages/@PACKAGENAME@ \
--libdir=/usr/%_lib
%build
make
%install
DESTDIR=$RPM_BUILD_ROOT make install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
/usr/%_lib/lib@PACKAGENAME@.so.*
/usr/share/@PACKAGENAME@
%doc
/usr/share/doc/packages/@PACKAGENAME@/AUTHORS
/usr/share/doc/packages/@PACKAGENAME@/COPYING
/usr/share/doc/packages/@PACKAGENAME@/ChangeLog
/usr/share/doc/packages/@PACKAGENAME@/INSTALL
/usr/share/doc/packages/@PACKAGENAME@/NEWS
/usr/share/doc/packages/@PACKAGENAME@/README
%package devel
Summary: @PACKAGENAME@ Proxy interface for Unix/Mac/Windows (development files)
Group: Development/Libraries/C++
Requires: @PACKAGENAME@ = @VERSION@
%description devel
@README@
This Package contains all files required for developement.
%files devel
%defattr(-,root,root,-)
/usr/%_lib/lib@PACKAGENAME@.so
/usr/%_lib/lib@PACKAGENAME@.a
/usr/%_lib/pkgconfig
/usr/%_lib/lib@PACKAGENAME@.la
/usr/include/
/usr/share/pkgconfig
%doc
/usr/share/doc/packages/@PACKAGENAME@/html
/usr/share/doc/packages/@PACKAGENAME@/@PACKAGENAME@.spec
%changelog