summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2012-03-23 01:01:04 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2012-03-23 01:01:04 -0500
commitb5233b1800010ebed5a2847af35d976d789188d9 (patch)
tree8b932933e335a31042327d57f957ccdcc80a1c3a
parentcaa01869c309b3505605f8e0b7c90532706c07a8 (diff)
downloadcygwin-libtool-b5233b1800010ebed5a2847af35d976d789188d9.tar.gz
cygwin-libtool-b5233b1800010ebed5a2847af35d976d789188d9.tar.xz
cygwin-libtool-b5233b1800010ebed5a2847af35d976d789188d9.zip
Remove noarch tag and create libltdl noarch package
-rw-r--r--cygwin-libtool.spec33
1 files changed, 26 insertions, 7 deletions
diff --git a/cygwin-libtool.spec b/cygwin-libtool.spec
index 6d42a87..5138667 100644
--- a/cygwin-libtool.spec
+++ b/cygwin-libtool.spec
@@ -6,17 +6,17 @@
%global _use_internal_dependency_generator 0
%global __find_requires %{_cygwin_findrequires}
%global __find_provides %{_cygwin_findprovides}
+%global debug_package %{nil}
Name: cygwin-libtool
Version: 2.4
-Release: 1
+Release: 2%{?dist}
Summary: Libtool for Cygwin toolchain
-Group: Development/Libraries
-License: GPLv2+ and LGPLv2+
+Group: Development/Tools
+License: GPLv2+ and LGPLv2+ and GFDL
URL: http://www.gnu.org/software/libtool/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch: noarch
Source0: http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.xz
Patch0: libtool-2.4-pass-ldflags.patch
@@ -32,12 +32,23 @@ BuildRequires: cygwin
Requires: autoconf automake sed
Requires: cygwin-gcc = %{gcc_version}
+Requires: cygwin-libltdl = %{version}-%{release}
%description
Libtool for Cygwin toolchain
+%package -n cygwin-libltdl
+Summary: Libtool Dynamic Module Loader library for Cygwin toolchain
+Group: Development/Libraries
+License: LGPLv2+
+BuildArch: noarch
+
+%description -n cygwin-libltdl
+Libtool dynamic module loader library for Cygwin toolchain
+
+
%prep
%setup -q -n libtool-%{version}
%patch0 -p1
@@ -75,16 +86,24 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README THANKS TODO ChangeLog*
%{_bindir}/%{_cygwin_target}-libtool
-%{_cygwin_bindir}/cygltdl-7.dll
%{_cygwin_bindir}/libtool
%{_cygwin_bindir}/libtoolize
+%{_cygwin_datadir}/aclocal/
+%{_cygwin_datadir}/libtool/
+
+%files -n cygwin-libltdl
+%defattr(-,root,root,-)
+%doc libltdl/COPYING.LIB libltdl/README
+%{_cygwin_bindir}/cygltdl-7.dll
%{_cygwin_includedir}/libltdl
%{_cygwin_includedir}/ltdl.h
%{_cygwin_libdir}/libltdl.dll.a
-%{_cygwin_datadir}/aclocal/
-%{_cygwin_datadir}/libtool/
%changelog
+* Thu Mar 22 2012 Yaakov Selkowitz <cygwin-ports-general@lists.sourceforge.net> - 2.4-2
+- Remove noarch tag, as arch-specific gcc libdir is embedded in libtool script.
+- Create separate libltdl noarch package.
+
* Thu Jul 07 2011 Yaakov Selkowitz <cygwin-ports-general@lists.sourceforge.net> - 2.4-1
- Initial RPM release.