From c96e5ee8b31da3e2a06fc755b42da7d703f9a258 Mon Sep 17 00:00:00 2001 From: Michał Łyszczek Date: Fri, 9 Feb 2018 20:11:31 +0100 Subject: move to semantic versioning --- configure.ac | 2 +- man/rb_clear.3 | 2 +- man/rb_destroy.3 | 2 +- man/rb_discard.3 | 2 +- man/rb_new.3 | 2 +- man/rb_overview.7 | 2 +- man/rb_read.3 | 2 +- man/rb_space.3 | 2 +- man/rb_version.3 | 2 +- man/rb_write.3 | 2 +- pkg/gentoo/librb-1.0.0.ebuild | 25 +++++++++++++++++++++++++ pkg/gentoo/librb-3.0.0.ebuild | 25 ------------------------- rb/Makefile.am | 2 +- 13 files changed, 36 insertions(+), 36 deletions(-) create mode 100644 pkg/gentoo/librb-1.0.0.ebuild delete mode 100644 pkg/gentoo/librb-3.0.0.ebuild diff --git a/configure.ac b/configure.ac index 109028d..6ea3666 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([librb], [3.0.0], [michal.lyszczek@bofc.pl]) +AC_INIT([librb], [1.0.0], [michal.lyszczek@bofc.pl]) AM_INIT_AUTOMAKE([foreign]) AC_PROG_CC AC_PROG_LIBTOOL diff --git a/man/rb_clear.3 b/man/rb_clear.3 index ca48994..8fbad09 100644 --- a/man/rb_clear.3 +++ b/man/rb_clear.3 @@ -1,4 +1,4 @@ -.TH "rb_clear" "3" " 5 February 2018 (v3.0.0)" "bofc.pl" +.TH "rb_clear" "3" " 9 February 2018 (v1.0.0)" "bofc.pl" .SH NAME .PP .B rb_clear diff --git a/man/rb_destroy.3 b/man/rb_destroy.3 index fed6941..e88d499 100644 --- a/man/rb_destroy.3 +++ b/man/rb_destroy.3 @@ -1,4 +1,4 @@ -.TH "rb_destroy" "3" " 5 February 2018 (v3.0.0)" "bofc.pl" +.TH "rb_destroy" "3" " 9 February 2018 (v1.0.0)" "bofc.pl" .SH NAME .PP .B rb_destroy, diff --git a/man/rb_discard.3 b/man/rb_discard.3 index acf8f20..fa5772a 100644 --- a/man/rb_discard.3 +++ b/man/rb_discard.3 @@ -1,4 +1,4 @@ -.TH "rb_discard" "3" " 5 February 2018 (v3.0.0)" "bofc.pl" +.TH "rb_discard" "3" " 9 February 2018 (v1.0.0)" "bofc.pl" .SH .PP .B rb_discard diff --git a/man/rb_new.3 b/man/rb_new.3 index 784d15d..f69c366 100644 --- a/man/rb_new.3 +++ b/man/rb_new.3 @@ -1,4 +1,4 @@ -.TH "rb_new" "3" " 5 February 2018 (v3.0.0)" "bofc.pl" +.TH "rb_new" "3" " 9 February 2018 (v1.0.0)" "bofc.pl" .SH NAME .PP .B rb_new diff --git a/man/rb_overview.7 b/man/rb_overview.7 index 398adda..4dddea7 100644 --- a/man/rb_overview.7 +++ b/man/rb_overview.7 @@ -1,4 +1,4 @@ -.TH "rb_overview" "7" " 5 February 2018 (v3.0.0)" "bofc.pl" +.TH "rb_overview" "7" " 9 February 2018 (v1.0.0)" "bofc.pl" .SH NAME .PP .B rb_overview diff --git a/man/rb_read.3 b/man/rb_read.3 index 8fd09c3..f098c20 100644 --- a/man/rb_read.3 +++ b/man/rb_read.3 @@ -1,4 +1,4 @@ -.TH "rb_read" "3" " 5 February 2018 (v3.0.0)" "bofc.pl" +.TH "rb_read" "3" " 9 February 2018 (v1.0.0)" "bofc.pl" .SH NAME .PP .BR rb_read , diff --git a/man/rb_space.3 b/man/rb_space.3 index 6bf2a06..8d41990 100644 --- a/man/rb_space.3 +++ b/man/rb_space.3 @@ -1,4 +1,4 @@ -.TH "rb_space" "3" " 5 February 2018 (v3.0.0)" "bofc.pl" +.TH "rb_space" "3" " 9 February 2018 (v1.0.0)" "bofc.pl" .SH NAME .PP .BR rb_space, diff --git a/man/rb_version.3 b/man/rb_version.3 index bcd02ab..37a7a4a 100644 --- a/man/rb_version.3 +++ b/man/rb_version.3 @@ -1,4 +1,4 @@ -.TH "rb_version" "3" " 5 February 2018 (v3.0.0)" "bofc.pl" +.TH "rb_version" "3" " 9 February 2018 (v1.0.0)" "bofc.pl" .SH NAME .PP .B rb_version diff --git a/man/rb_write.3 b/man/rb_write.3 index a3282dc..c580315 100644 --- a/man/rb_write.3 +++ b/man/rb_write.3 @@ -1,4 +1,4 @@ -.TH "rb_write" "3" " 5 February 2018 (v3.0.0)" "bofc.pl" +.TH "rb_write" "3" " 9 February 2018 (v1.0.0)" "bofc.pl" .SH NAME .PP .BR rb_write, diff --git a/pkg/gentoo/librb-1.0.0.ebuild b/pkg/gentoo/librb-1.0.0.ebuild new file mode 100644 index 0000000..8d6aae2 --- /dev/null +++ b/pkg/gentoo/librb-1.0.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools + +DESCRIPTION="ring buffer c library with posix-like read/write interface and thread awarness" +HOMEPAGE="http://librb.kurwinet.pl" +SRC_URI="http://distfiles.kurwinet.pl/${PN}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="threads" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_configure() { + econf $(use_enable threads threads) +} + +src_install() { + default +} diff --git a/pkg/gentoo/librb-3.0.0.ebuild b/pkg/gentoo/librb-3.0.0.ebuild deleted file mode 100644 index 8d6aae2..0000000 --- a/pkg/gentoo/librb-3.0.0.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools - -DESCRIPTION="ring buffer c library with posix-like read/write interface and thread awarness" -HOMEPAGE="http://librb.kurwinet.pl" -SRC_URI="http://distfiles.kurwinet.pl/${PN}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="threads" - -DEPEND="" -RDEPEND="${DEPEND}" - -src_configure() { - econf $(use_enable threads threads) -} - -src_install() { - default -} diff --git a/rb/Makefile.am b/rb/Makefile.am index 59d9cd8..c48d14e 100644 --- a/rb/Makefile.am +++ b/rb/Makefile.am @@ -1,6 +1,6 @@ lib_LTLIBRARIES = librb.la librb_la_SOURCES = rb.c valid.h -librb_la_LDFLAGS = -version-info 4:0:0 +librb_la_LDFLAGS = -version-info 1:0:0 librb_la_CFLAGS = -I$(top_srcdir)/include check_PROGRAMS = tests -- cgit v1.2.3-8-gadcc