commit 4230562be33f54414d7c8409da675fbb60b4fa16
Author: Jakub Bogusz <[email protected]>
Date:   Sat Jun 16 22:53:56 2018 +0200

    - last version of gdbmexport tool saved from gdbm 1.14.1

 gdbm-export.spec       |  63 ++++++++++++++
 gdbm-info.patch        |  18 ----
 gdbm-link-compat.patch |   8 --
 gdbm.spec              | 229 -------------------------------------------------
 4 files changed, 63 insertions(+), 255 deletions(-)
---
diff --git a/gdbm-export.spec b/gdbm-export.spec
new file mode 100644
index 0000000..dc60c5e
--- /dev/null
+++ b/gdbm-export.spec
@@ -0,0 +1,63 @@
+Summary:       gdbmexport utility to export old GDBM 1.8.x databases
+Summary(pl.UTF-8):     Narzędzie gdbmexport pozwalające wyeksportować stare 
bazy GDBM 1.8.x
+Name:          gdbm-export
+Version:       1.14.1
+Release:       1
+License:       GPL v3+
+Group:         Applications/File
+Source0:       http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
+# Source0-md5: c2ddcb3897efa0f57484af2bd4f4f848
+Patch0:                gdbm-link.patch
+URL:           http://www.gnu.org/software/gdbm/
+BuildRequires: autoconf >= 2.69
+BuildRequires: automake >= 1:1.11
+BuildRequires: gdbm18-devel >= 1.8.3
+BuildRequires: gettext-tools >= 0.18
+BuildRequires: libtool
+Requires:      gdbm18 >= 1.8.3
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+gdbmexport utility to export old GDBM 1.8.x databases in order to load
+them in new GDBM format.
+
+%description -l pl.UTF-8
+Narzędzie gdbmexport pozwalające wyeksportować stare bazy GDBM 1.8.x w
+celu wczytania do nowego formatu GDBM.
+
+%prep
+%setup -q -n gdbm-%{version}
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__autoconf}
+%{__automake}
+%configure \
+       --disable-silent-rules \
+       --enable-gdbm-export \
+       --with-gdbm183-includedir=%{_includedir}/gdbm-1.8 \
+       --with-gdbm183-library="-lgdbm-1.8" \
+       --without-readline
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+# package just gdbmexport, the rest (in newer version) is packaged in gdbm.spec
+%{__rm} $RPM_BUILD_ROOT%{_bindir}/{gdbm_dump,gdbm_load,gdbmtool}
+%{__rm} -r 
$RPM_BUILD_ROOT{%{_includedir},%{_libdir},%{_infodir},%{_localedir},%{_mandir}}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS NOTE-WARNING README
+%attr(755,root,root) %{_bindir}/gdbmexport
diff --git a/gdbm.spec b/gdbm.spec
deleted file mode 100644
index c56f83e..0000000
--- a/gdbm.spec
+++ /dev/null
@@ -1,229 +0,0 @@
-#
-# Conditional build:
-%bcond_without gdbmexport      # gdbmexport compatibility tool
-#
-Summary:       GNU database library for C
-Summary(de.UTF-8):     GNU-Datenbank-Library für C
-Summary(fr.UTF-8):     La librairie GNU de bases de données pout le langage C
-Summary(pl.UTF-8):     Biblioteka GNU bazy danych dla języka C
-Summary(ru.UTF-8):     Библиотека базы данных GNU для C
-Summary(uk.UTF-8):     Бібліотека бази даних GNU для C
-Name:          gdbm
-Version:       1.14.1
-Release:       1
-License:       GPL v3+
-Group:         Libraries
-Source0:       http://ftp.gnu.org/gnu/gdbm/%{name}-%{version}.tar.gz
-# Source0-md5: c2ddcb3897efa0f57484af2bd4f4f848
-Patch0:                %{name}-info.patch
-Patch1:                %{name}-link-compat.patch
-Patch2:                %{name}-link.patch
-URL:           http://www.gnu.org/software/gdbm/
-BuildRequires: autoconf >= 2.69
-BuildRequires: automake >= 1:1.11
-%{?with_gdbmexport:BuildRequires:      gdbm18-devel >= 1.8.3}
-BuildRequires: gettext-tools >= 0.18
-BuildRequires: libtool
-BuildRequires: readline-devel
-BuildRequires: texinfo
-Obsoletes:     libgdbm2
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-gdbm is a GNU database indexing library, including routines which use
-extensible hashing. gdbm works in a similar way to standard UNIX dbm
-routines. gdbm is useful for developers who write C applications and
-need access to a simple and efficient database or who are building C
-applications which will use such a database.
-
-%description -l de.UTF-8
-Dies ist eine Datenbank-Index-Library für Programmierer, die
-C-Anwendungen schreiben und eine einfache und leistungsfähige
-Datenbank benötigen oder diese in C-Anwendungen einsetzen möchten.
-
-%description -l fr.UTF-8
-Une librairie d'indexation de bases de données. Elle est utile pour
-ceux qui désirent écrivent des applications en C et ont besion
-d'accéder à une base de données simple et efficace ou de construire
-une application en C qui l'utilise.
-
-%description -l pl.UTF-8
-W pakiecie znajduje się biblioteka indeksowania bazy danych.
-Biblioteka ta jest szczególnie użyteczna dla ludzi, którzy piszą
-oprogramowanie w C i potrzebują prostej i szybkiej bazy danych, lub
-dla tych którzy piszą programy w C z wykorzystaniem tej biblioteki.
-
-%description -l tr.UTF-8
-gdbm bir veri tabanı dizinleme kitaplığıdır. C uygulamaları yazıp
-basit ve etkin bir şekilde veri tabanına ulaşmak isteyenler için
-yararlı olacaktır.
-
-%description -l ru.UTF-8
-Это библиотека для работы с индексированной базой данных. Полезна для
-тех, кто разрабатывает программы на C и кому нужен доступ к простой и
-эффективной базе данных либо требуется написать программу, которая ее
-использует.
-
-%description -l uk.UTF-8
-Це бібліотека для роботи з індексованою базою даних. Корисна для тих,
-хто розробляє програми на C і кому потрібен доступ до простої та
-ефективної бази даних або потрібно написати програму, що її
-використовує.
-
-%package devel
-Summary:       development libraries and header files for gdbm
-Summary(de.UTF-8):     Entwicklungs-Libraries und Header-Dateien für gdbm
-Summary(fr.UTF-8):     Bibliothèques de développement et en-têtes pour gdbm
-Summary(pl.UTF-8):     Biblioteki i pliki nagłówkowe dla gdbm
-Summary(ru.UTF-8):     Библиотека и хедеры gdbm для разработчиков
-Summary(tr.UTF-8):     gdbm için başlık dosyaları ve geliştirme kitaplıkları
-Summary(uk.UTF-8):     Бібліотека та хедери gdbm для програмістів
-Group:         Development/Libraries
-Requires:      %{name} = %{version}-%{release}
-Obsoletes:     libgdbm2-devel
-
-%description devel
-These are the development libraries and header files for gdbm, the GNU
-database system. These are required if you plan to do development
-using the gdbm database.
-
-%description devel -l de.UTF-8
-Dies sind die Entwicklungs-Libraries und Header-Dateien für gdbm, das
-GNU-Datenbanksystem. Sie sind darauf angewiesen, wenn Sie vorhaben,
-die gdbm-Datenbank für Entwicklungsarbeiten zu benutzen.
-
-%description devel -l fr.UTF-8
-Ce sont les librairies de développement et les fichiers d'en-tête pour
-gdbm, le système de base de données GNU. Ceci est nécessaire si vous
-désirez développer en utilisant la base de données gdbm.
-
-%description devel -l pl.UTF-8
-W pakiecie tym znajdują się pliki nagłówkowe i biblioteki dla systemu
-bazy danych GNU.
-
-%description devel -l tr.UTF-8
-GNU veri tabanı sistemi gdbm ile program geliştirmek için gereken
-başlık dosyaları ve kitaplıklar.
-
-%description devel -l ru.UTF-8
-Это библиотека для разработчиков и хедеры gdbm, базы данных GNU. Они
-нужны, если вы собираетесь разрабатывать программы с использованием
-gdbm.
-
-%description devel -l uk.UTF-8
-Це бібліотека для програмістів та хедери gdbm, бази даних GNU. Вони
-потрібні, якщо ви збираєтесь розробляти програми з використанням gdbm.
-
-%package static
-Summary:       Static gdbm library
-Summary(pl.UTF-8):     Biblioteki statyczne gdbm
-Summary(ru.UTF-8):     Статическая библиотека gdbm
-Summary(uk.UTF-8):     Статична бібліотека gdbm
-Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}-%{release}
-
-%description static
-Static gdbm library.
-
-%description static -l pl.UTF-8
-Biblioteka statyczna gdbm.
-
-%description static -l ru.UTF-8
-Это статическая библиотека gdbm, базы данных GNU.
-
-%description static -l uk.UTF-8
-Це статична бібліотека gdbm, бази даних GNU.
-
-%package export
-Summary:       gdbmexport utility to export old GDBM 1.8.x databases
-Summary(pl.UTF-8):     Narzędzie gdbmexport pozwalające wyeksportować stare 
bazy GDBM 1.8.x
-Group:         Applications/File
-Requires:      gdbm18 >= 1.8.3
-
-%description export
-gdbmexport utility to export old GDBM 1.8.x databases in order to load
-them in new GDBM format.
-
-%description export -l pl.UTF-8
-Narzędzie gdbmexport pozwalające wyeksportować stare bazy GDBM 1.8.x w
-celu wczytania do nowego formatu GDBM.
-
-%prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-
-%build
-%{__libtoolize}
-%{__aclocal}
-%{__autoheader}
-%{__autoconf}
-%{__automake}
-%configure \
-       --enable-libgdbm-compat \
-       --disable-silent-rules \
-%if %{with gdbmexport}
-       --enable-gdbm-export \
-       --with-gdbm183-includedir=%{_includedir}/gdbm-1.8 \
-       --with-gdbm183-library="-lgdbm-1.8"
-%endif
-
-%{__make}
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
-
-%find_lang %{name}
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
-%post  devel -p /sbin/postshell
--/usr/sbin/fix-info-dir -c %{_infodir}
-
-%postun        devel -p /sbin/postshell
--/usr/sbin/fix-info-dir -c %{_infodir}
-
-%files -f %{name}.lang
-%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS NOTE-WARNING README
-%attr(755,root,root) %{_bindir}/gdbm_dump
-%attr(755,root,root) %{_bindir}/gdbm_load
-%attr(755,root,root) %{_bindir}/gdbmtool
-%attr(755,root,root) %{_libdir}/libgdbm.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgdbm.so.5
-%attr(755,root,root) %{_libdir}/libgdbm_compat.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgdbm_compat.so.4
-%{_mandir}/man1/gdbm_dump.1*
-%{_mandir}/man1/gdbm_load.1*
-%{_mandir}/man1/gdbmtool.1*
-
-%files devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libgdbm.so
-%attr(755,root,root) %{_libdir}/libgdbm_compat.so
-%{_libdir}/libgdbm.la
-%{_libdir}/libgdbm_compat.la
-%{_includedir}/dbm.h
-%{_includedir}/gdbm.h
-%{_includedir}/ndbm.h
-%{_mandir}/man3/gdbm.3*
-%{_infodir}/gdbm.info*
-
-%files static
-%defattr(644,root,root,755)
-%{_libdir}/libgdbm.a
-%{_libdir}/libgdbm_compat.a
-
-%if %{with gdbmexport}
-%files export
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/gdbmexport
-%endif
diff --git a/gdbm-info.patch b/gdbm-info.patch
deleted file mode 100644
index 60c79bc..0000000
--- a/gdbm-info.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- gdbm-1.13/doc/gdbm.texi.orig       2016-05-21 17:19:34.711227665 +0200
-+++ gdbm-1.13/doc/gdbm.texi    2016-05-21 17:20:33.357891871 +0200
-@@ -6,11 +6,11 @@
- @settitle GDBM manual
- 
- @ifinfo
--@dircategory Programming & development tools
-+@dircategory Libraries:
- @direntry
--* GDBM: (gdbm).                  The GNU database manager.
--* gdbm_dump: (gdbm) gdbm_dump.   Dump the GDBM database into a flat file.
--* gdbm_load: (gdbm) gdbm_load.   Load the database from a flat file.
-+* GDBM: (gdbm).                               The GNU database manager
-+* gdbm_dump: (gdbm) gdbm_dump.                Dump the GDBM database into a 
flat file
-+* gdbm_load: (gdbm) gdbm_load.                Load the database from a flat 
file
- @end direntry
- @end ifinfo
- 
diff --git a/gdbm-link-compat.patch b/gdbm-link-compat.patch
deleted file mode 100644
index 430422a..0000000
--- a/gdbm-link-compat.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- gdbm-1.9.1/compat/Makefile.am.orig 2011-08-09 16:58:44.000000000 +0200
-+++ gdbm-1.9.1/compat/Makefile.am      2011-08-14 10:31:15.926382830 +0200
-@@ -50,4 +50,5 @@
- libgdbm_compat_la_SOURCES = $(DBM_CF) $(NDBM_CF)
- 
- libgdbm_compat_la_LDFLAGS = -version-info 
$(VI_CURRENT):$(VI_REVISION):$(VI_AGE)
-+libgdbm_compat_la_LIBADD = $(top_builddir)/src/libgdbm.la
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gdbm-export.git/commitdiff/4230562be33f54414d7c8409da675fbb60b4fa16

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to