m17n-lib: fix requirement for libm17n [release 1.8.0-3mamba;Thu Mar 18 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 06:38:57 +01:00
parent c415433950
commit 1681c8d930
2 changed files with 139 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# m17n-lib # m17n-lib
A library which realizes multilingualization of many aspects of applications.

137
m17n-lib.spec Normal file
View File

@ -0,0 +1,137 @@
Name: m17n-lib
Version: 1.8.0
Release: 3mamba
Summary: A library which realizes multilingualization of many aspects of applications
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.nongnu.org/m17n/
Source: http://download.savannah.gnu.org/releases/m17n/m17n-lib-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXaw-devel
BuildRequires: libXft-devel
BuildRequires: libXmu-devel
BuildRequires: libXt-devel
BuildRequires: libanthy-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libfribidi-devel
BuildRequires: libgd-devel
BuildRequires: liblzma-devel
BuildRequires: libthai-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: libm17n = %{?epoch:%epoch:}%{version}-%{release}
%description
A library which realizes multilingualization of many aspects of applications.
%package -n libm17n
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n libm17n
This package contains shared libraries for %{name}.
%package -n libm17n-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: libm17n = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n libm17n-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n libm17n -p /sbin/ldconfig
%postun -n libm17n -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/m17n-conv
%{_bindir}/m17n-date
%{_bindir}/m17n-dump
%{_bindir}/m17n-edit
%{_bindir}/m17n-view
%files -n libm17n
%defattr(-,root,root)
%{_libdir}/libm17n.so.*
%{_libdir}/libm17n-core.so.*
%{_libdir}/libm17n-flt.so.*
%{_libdir}/libm17n-gui.so.*
%dir %{_libdir}/m17n
%dir %{_libdir}/m17n/1.0
%{_libdir}/m17n/1.0/libm17n-X.a
%{_libdir}/m17n/1.0/libm17n-X.la
%{_libdir}/m17n/1.0/libm17n-X.so
%{_libdir}/m17n/1.0/libm17n-gd.a
%{_libdir}/m17n/1.0/libm17n-gd.la
%{_libdir}/m17n/1.0/libm17n-gd.so
%{_libdir}/m17n/1.0/libmimx-anthy.a
%{_libdir}/m17n/1.0/libmimx-anthy.la
%{_libdir}/m17n/1.0/libmimx-anthy.so
%{_libdir}/m17n/1.0/libmimx-ispell.a
%{_libdir}/m17n/1.0/libmimx-ispell.la
%{_libdir}/m17n/1.0/libmimx-ispell.so
%doc AUTHORS COPYING
%files -n libm17n-devel
%defattr(-,root,root)
%{_includedir}/m17n-X.h
%{_includedir}/m17n-core.h
%{_includedir}/m17n-flt.h
%{_includedir}/m17n-gui.h
%{_includedir}/m17n-misc.h
%{_includedir}/m17n.h
%{_libdir}/libm17n-core.a
%{_libdir}/libm17n-core.la
%{_libdir}/libm17n-core.so
%{_libdir}/libm17n-flt.a
%{_libdir}/libm17n-flt.la
%{_libdir}/libm17n-flt.so
%{_libdir}/libm17n-gui.a
%{_libdir}/libm17n-gui.la
%{_libdir}/libm17n-gui.so
%{_libdir}/libm17n.a
%{_libdir}/libm17n.la
%{_libdir}/libm17n.so
%{_libdir}/pkgconfig/m17n-core.pc
%{_libdir}/pkgconfig/m17n-flt.pc
%{_libdir}/pkgconfig/m17n-gui.pc
%{_libdir}/pkgconfig/m17n-shell.pc
%doc ChangeLog NEWS README TODO
%changelog
* Thu Mar 18 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.0-3mamba
- m17n-lib: fix requirement for libm17n
* Thu Mar 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.0-2mamba
- fix: move libm17n.so.* from devel to lib package
* Thu Mar 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.0-1mamba
- package created using the webbuild interface