Skip to content

Commit

Permalink
Update deb and rpm build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sionescu committed Nov 10, 2022
1 parent be35524 commit 3f40b76
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 20 deletions.
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ AM_CPPFLAGS = -include $(top_builddir)/config.h \

EXTRA_DIST = \
LICENCE \
README.md \
VERSION \
libfixposix.spec \
debian \
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
libfixposix (0.5.0) unstable; urgency=low

* Release 0.5.0

-- Stelian Ionescu <[email protected]> Wed, 9 Nov 2022 14:00:00 -0400

libfixposix (0.4.3) unstable; urgency=low

* Release 0.4.3
Expand Down
10 changes: 6 additions & 4 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@ Source: libfixposix
Priority: optional
Section: libdevel
Maintainer: Stelian Ionescu <[email protected]>
Standards-Version: 4.1.4
Standards-Version: 4.5.0
Build-Depends: debhelper (>= 11), pkg-config, check (>= 0.10.0)
Homepage: https://github.com/sionescu/libfixposix
Homepage: https://common-lisp.net/project/iolib
Vcs-Browser: https://github.com/sionescu/libfixposix
Vcs-Git: https://github.com/sionescu/libfixposix.git

Package: libfixposix-dev
Architecture: any
Depends: libfixposix3 (= ${binary:Version}), libc6-dev, ${misc:Depends}
Depends: libfixposix4 (= ${binary:Version}), libc6-dev, ${misc:Depends}
Description: Development files for LibFixPOSIX
.
This package contains header files and static archives.

Package: libfixposix3
Package: libfixposix4
Section: libs
Architecture: any
Multi-Arch: same
Expand Down
2 changes: 1 addition & 1 deletion debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Upstream-Contact: Stelian Ionescu <[email protected]>
Source: https://github.com/sionescu/libfixposix/releases/

Files: *
Copyright: 2010-2019 Stelian Ionescu <[email protected]>
Copyright: 2010-2022 Stelian Ionescu <[email protected]>
2010 Francois-Rene Rideau <[email protected]>
2011 David Lichteblau <[email protected]>
License: BSL
Expand Down
File renamed without changes.
12 changes: 7 additions & 5 deletions debian/libfixposix3.symbols → debian/libfixposix4.symbols
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
libfixposix.so.3 libfixposix3 #MINVER#
libfixposix.so.4 libfixposix4 #MINVER#
lfp_accept@Base 0.3.0
lfp_buildinfo@Base 0.4.3
lfp_clearenv@Base 0.3.0
Expand Down Expand Up @@ -44,7 +44,9 @@ libfixposix.so.3 libfixposix3 #MINVER#
lfp_mkstemp@Base 0.3.0
lfp_mmap@Base 0.3.0
lfp_munmap@Base 0.3.0
lfp_nice_k@Base 0.5.0
lfp_open@Base 0.3.0
lfp_open_k@Base 0.5.0
lfp_opendir@Base 0.4.0
lfp_openlog@Base 0.3.0
lfp_openpt@Base 0.3.0
Expand Down Expand Up @@ -82,21 +84,21 @@ libfixposix.so.3 libfixposix3 #MINVER#
lfp_spawnattr_getctty@Base 0.3.0
lfp_spawnattr_getcwd@Base 0.3.0
lfp_spawnattr_getflags@Base 0.3.0
lfp_spawnattr_getgid@Base 0.3.0
lfp_spawnattr_getpgroup@Base 0.3.0
lfp_spawnattr_getrlimit@Base 0.5.0
lfp_spawnattr_getsigdefault@Base 0.3.0
lfp_spawnattr_getsigmask@Base 0.3.0
lfp_spawnattr_getuid@Base 0.3.0
lfp_spawnattr_getumask@Base 0.5.0
lfp_spawnattr_init@Base 0.3.0
lfp_spawnattr_setctty@Base 0.3.0
lfp_spawnattr_setcwd@Base 0.3.0
lfp_spawnattr_setflags@Base 0.3.0
lfp_spawnattr_setgid@Base 0.3.0
lfp_spawnattr_setpgroup@Base 0.3.0
lfp_spawnattr_setrlimit@Base 0.5.0
lfp_spawnattr_setsid@Base 0.3.0
lfp_spawnattr_setsigdefault@Base 0.3.0
lfp_spawnattr_setsigmask@Base 0.3.0
lfp_spawnattr_setuid@Base 0.3.0
lfp_spawnattr_setumask@Base 0.5.0
lfp_spawnp@Base 0.3.0
lfp_stat@Base 0.3.0
lfp_strerror@Base 0.3.0
Expand Down
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
dh $@

override_dh_auto_configure:
dh_auto_configure -- --enable-static
dh_auto_configure -- --enable-static --enable-tests
1 change: 0 additions & 1 deletion debian/source/options

This file was deleted.

16 changes: 8 additions & 8 deletions libfixposix.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Release: 0
License: BSL-1.0
Group: Development/Libraries/C and C++
URL: https://github.com/sionescu/%{name}
Source: https://github.com/sionescu/%{name}/releases/download/v%{version}/%{name}_%{version}.tar.gz
Source: https://github.com/sionescu/%{name}/releases/download/v%{version}/%{name}_%{version}.tar.xz

%define srcdir %{name}

Expand All @@ -15,18 +15,18 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Thin wrapper over POSIX syscalls and some replacement functionality, most notably lfp_spawn().

%package -n libfixposix3
%package -n libfixposix4
Summary: Shared library for libfixposix
Group: Development/Libraries/C and C++

%description -n libfixposix3
%description -n libfixposix4
Thin wrapper over POSIX syscalls.

%package -n libfixposix-devel
Summary: Development files
Group: Development/Libraries/C and C++
Requires: glibc-devel
Requires: libfixposix3 = %{version}-%{release}
Requires: libfixposix4 = %{version}-%{release}
Provides: %{name}-static = %{version}-%{release}

%description devel
Expand All @@ -36,7 +36,7 @@ Header files, static libraries and API documentation for using libfixposix.
%setup -q -n %{srcdir}

%build
%configure --enable-static
%configure --enable-static --enable-tests
make %{?_smp_mflags}

%check
Expand All @@ -46,10 +46,10 @@ make %{?_smp_mflags} check
make %{?_smp_mflags} DESTDIR=%{buildroot} install
find %{buildroot} -type f -name "*.la" -delete -print

%post -n libfixposix3 -p /sbin/ldconfig
%postun -n libfixposix3 -p /sbin/ldconfig
%post -n libfixposix4 -p /sbin/ldconfig
%postun -n libfixposix4 -p /sbin/ldconfig

%files -n libfixposix3
%files -n libfixposix4
%defattr(-,root,root)
%{_libdir}/lib*so.*

Expand Down

0 comments on commit 3f40b76

Please sign in to comment.