Bump to 2.4.7 accepted/tizen_base_riscv accepted/tizen_base_tool sandbox/libtool_2.4.7 accepted/tizen/8.0/base/20231005.044905 accepted/tizen/base/20230714.003353 accepted/tizen/base/riscv/20231130.004931 accepted/tizen/base/tool/20230129.003803 submit/tizen_base/20230105.062630 submit/tizen_base/20230125.061402 submit/tizen_base/20230127.080752 submit/tizen_base/20230128.011558 tizen_8.0_m2_release
authorTizenOpenSource <tizenopensrc@samsung.com>
Wed, 28 Dec 2022 07:20:04 +0000 (16:20 +0900)
committerTizenOpenSource <tizenopensrc@samsung.com>
Wed, 28 Dec 2022 07:20:04 +0000 (16:20 +0900)
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
packaging/baselibs.conf [new file with mode: 0644]
packaging/libtool-rpmlintrc [new file with mode: 0644]
packaging/libtool.manifest [new file with mode: 0644]
packaging/libtool.spec [new file with mode: 0644]

diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf
new file mode 100644 (file)
index 0000000..42f3b2a
--- /dev/null
@@ -0,0 +1,2 @@
+libtool
+libltdl
diff --git a/packaging/libtool-rpmlintrc b/packaging/libtool-rpmlintrc
new file mode 100644 (file)
index 0000000..8d6ce0a
--- /dev/null
@@ -0,0 +1,6 @@
+# This line is mandatory to access the configuration functions
+from Config import *
+
+addFilter("libtool.* shlib-policy-nonversioned-dir")
+addFilter("libtool.* shlib-policy-missing-lib")
+addFilter("libtool.* script-without-shebang")
diff --git a/packaging/libtool.manifest b/packaging/libtool.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libtool.spec b/packaging/libtool.spec
new file mode 100644 (file)
index 0000000..194d98b
--- /dev/null
@@ -0,0 +1,78 @@
+%define keepstatic 1
+Name:           libtool
+Summary:        A Tool to Build Shared Libraries
+License:        GPL-2.0+
+Group:          Development/Tools
+Version:        2.4.7
+Release:        0
+Url:            http://www.gnu.org/software/libtool/
+Source:         http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.gz
+Source2:        baselibs.conf
+Source3:        libtool-rpmlintrc
+Source1001:    libtool.manifest
+
+BuildRequires:  automake
+BuildRequires:  gcc-c++
+BuildRequires:  lzma
+BuildRequires:  zlib-devel
+BuildRequires: makeinfo
+
+Requires:       automake > 1.4
+Requires:       tar
+Requires:       libltdl = %{version}
+
+Provides:       libltdl-devel
+# fedora name
+Provides:       libtool-ltdl-devel
+
+%description
+GNU libtool is a set of shell scripts to automatically configure UNIX
+architectures to build shared libraries in a generic fashion.
+
+%package -n libltdl
+Summary:        Libtool Runtime Library
+Group:          System/Libraries
+
+%description -n libltdl
+Library needed by programs that use the ltdl interface of GNU libtool.
+
+%prep
+%setup -q -n libtool-%{version}
+cp %{SOURCE1001} .
+
+%build
+%_configure CFLAGS="$RPM_OPT_FLAGS" \
+   --prefix=/usr --infodir=%{_infodir} --libdir=%{_libdir}
+
+# force rebuild with non-broken makeinfo
+rm -f doc/libtool.info
+%__make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+%remove_docs
+
+%post -n libltdl -p /sbin/ldconfig
+
+%postun -n libltdl -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%license COPYING
+%{_bindir}/libtool
+%{_bindir}/libtoolize
+%{_includedir}/libltdl
+%{_includedir}/ltdl.h
+%{_libdir}/libltdl.so
+%{_libdir}/libltdl.a
+%attr(644, root, root) %{_libdir}/libltdl.la
+%{_datadir}/aclocal/*.m4
+%{_datadir}/libtool
+
+%files -n libltdl
+%manifest %{name}.manifest
+%license COPYING
+%{_libdir}/libltdl.so.*
+
+%changelog