m17n-lib/m17n-lib.spec

145 lines
4.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: m17n-lib
Version: 1.8.3
Release: 1mamba
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: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXaw-devel
BuildRequires: libXft-devel
BuildRequires: libXmu-devel
BuildRequires: libXt-devel
BuildRequires: libanthy-devel
BuildRequires: libbrotli-devel
BuildRequires: libbzip2-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libfribidi-devel
BuildRequires: libgd-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libjbig-devel
BuildRequires: libjpeg-devel
BuildRequires: liblzma-devel
BuildRequires: libpcre-devel
BuildRequires: libthai-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: libzstd-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.so
%{_libdir}/m17n/1.0/libm17n-gd.a
%{_libdir}/m17n/1.0/libm17n-gd.so
%{_libdir}/m17n/1.0/libmimx-anthy.a
%{_libdir}/m17n/1.0/libmimx-anthy.so
%{_libdir}/m17n/1.0/libmimx-ispell.a
%{_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.so
%{_libdir}/libm17n-flt.a
%{_libdir}/libm17n-flt.so
%{_libdir}/libm17n-gui.a
%{_libdir}/libm17n-gui.so
%{_libdir}/libm17n.a
%{_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
* Wed Jul 26 2023 Automatic Build System <autodist@mambasoft.it> 1.8.3-1mamba
- automatic version update by autodist
* Thu May 11 2023 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
- automatic version update by autodist
* Mon May 08 2023 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
- automatic version update by autodist
* 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