courier-unicode/courier-unicode.spec

77 lines
2.2 KiB
RPMSpec
Raw Normal View History

Name: courier-unicode
Version: 2.2.3
Release: 1mamba
Summary: This library implements several algorithms related to the Unicode Standard
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.courier-mta.org/unicode/
Source: https://sourceforge.net/projects/courier/files/courier-unicode/%{version}/courier-unicode-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
This library implements several algorithms related to the Unicode Standard.
%package -n lib%{name}
Group: System/Libraries
Summary: This library implements several algorithms related to the Unicode Standard.
%description -n lib%{name}
This library implements several algorithms related to the Unicode Standard.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libcourier-unicode.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/courier-unicode*.h
%{_libdir}/libcourier-unicode.a
%{_libdir}/libcourier-unicode.la
%{_libdir}/libcourier-unicode.so
%{_datadir}/aclocal/courier-unicode-version.m4
%{_datadir}/aclocal/courier-unicode.m4
%{_mandir}/man3/unicode*3*
%{_mandir}/man7/courier-unicode.7*
%doc ChangeLog README
%changelog
* Sun May 02 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.3-1mamba
- package created using the webbuild interface