changed build system, added rpm spec; closes #2

This commit is contained in:
Marc Wäckerlin
2011-11-10 10:34:46 +00:00
parent 14cc3fc7ee
commit f8ca811529
29 changed files with 2373 additions and 255 deletions

4
debian/changelog.in vendored
View File

@@ -1,5 +1,5 @@
@PACKAGE@ (@VERSION@-1) unstable; urgency=low
* See https://dev.marc.waeckerlin.org/projects/proxyface for changes
* see https://dev.swisssign.com/projects/proxyface for changes
-- Marc Waeckerlin (SwissSign AG) <marc.waeckerlin@tech.swisssign.com> Wed, 07 Apr 2010 10:23:02 +0200
-- Marc Wäckerlin (SwissSign AG) <marc.waeckerlin@tech.swisssign.com> Wed, 07 Apr 2010 10:23:02 +0200

16
debian/control vendored
View File

@@ -4,28 +4,18 @@ Maintainer: Marc Wäckerlin (SwissSign AG) <marc.waeckerlin@tech.swisssign.com>
Build-Depends: debhelper (>= 7), autotools-dev
Standards-Version: 3.8.1
Section: libs
Homepage: https://dev.marc.waeckerlin.org/projects/proxyface
Homepage: https://dev.swisssign.com/projects/proxyface
Package: proxyface-dev
Section: libdevel
Architecture: any
Depends: proxyface (= ${binary:Version})
Description: C++ WPAD Interface for all Operating Systems
Implements a Proxy detection (WPAD) interface for Linux, Mac OSX and
Windows. Offers a GUI for manual proxy settings and automatic WPAD
detection. Makes use of http://code.google.com/p/libproxy/ on Linux
and Mac OSX, and uses WinHTTP on Windows. The GUI is based on QT4.
Description: proxyface
.
For more details, see: https://dev.marc.waeckerlin.org/projects/proxyface
Package: proxyface
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: C++ WPAD Interface for all Operating Systems
Implements a Proxy detection (WPAD) interface for Linux, Mac OSX and
Windows. Offers a GUI for manual proxy settings and automatic WPAD
detection. Makes use of http://code.google.com/p/libproxy/ on Linux
and Mac OSX, and uses WinHTTP on Windows. The GUI is based on QT4.
Description: proxyface
.
For more details, see: https://dev.marc.waeckerlin.org/projects/proxyface

10
debian/copyright vendored
View File

@@ -1,15 +1,15 @@
This package was debianized by Marc Wäckerlin <marc@waeckerlin.org> on
This package was debianized by Marc Wäckerlin (SwissSign AG) <marc.waeckerlin@tech.swisssign.com> on
Wed, 07 Apr 2010 10:23:02 +0200.
It was downloaded from https://dev.marc.waeckerlin.org/projects/proxyface
It was downloaded from https://dev.swisssign.com/projects/proxyface
Upstream Author(s):
Marc Wäckerlin <marc@waeckerlin.org>
Marc Wäckerlin (SwissSign AG) <marc.waeckerlin@tech.swisssign.com>
Copyright:
Marc Wäckerlin <marc@waeckerlin.org>
Marc Wäckerlin (SwissSign AG) <marc.waeckerlin@tech.swisssign.com>
License:
@@ -17,7 +17,7 @@ License:
The Debian packaging is:
Copyright (C) 2010 Marc Wäckerlin <marc@waeckerlin.org>
Copyright (C) 2010 Marc Wäckerlin (SwissSign AG) <marc.waeckerlin@tech.swisssign.com>
and is licensed under the GPL version 3,
see `/usr/share/common-licenses/GPL-3'.

18
debian/rules vendored
View File

@@ -22,16 +22,6 @@ endif
# shared library versions, option 1
version=2.0.5
major=2
# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
#version=`ls src/.libs/lib*.so.* | \
# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
#major=`ls src/.libs/lib*.so.* | \
# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
config.status: configure
dh_testdir
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
@@ -41,10 +31,10 @@ ifneq "$(wildcard /usr/share/misc/config.guess)" ""
cp -f /usr/share/misc/config.guess config.guess
endif
./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)"
# does not work: LDFLAGS="-Wl,-z,defs"
build: build-stamp
build-stamp: config.status
dh_testdir
$(MAKE)
@@ -84,17 +74,17 @@ binary-arch: install
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_python
# dh_installinit
# dh_installcron
# dh_installinfo
# dh_installman
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
# dh_perl
# dh_python
dh_makeshlibs
# dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol