80 lines
2.5 KiB
RPMSpec
80 lines
2.5 KiB
RPMSpec
Name: utf8proc
|
|
Version: 2.7.0
|
|
Release: 1mamba
|
|
Summary: A C library that provides Unicode normalization, case-folding, and other operations for data in the UTF-8 encoding
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/JuliaStrings/utf8proc
|
|
Source: https://github.com/JuliaStrings/utf8proc.git/v%{version}/utf8proc-%{version}.tar.bz2
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description
|
|
utf8proc is a small, clean C library that provides Unicode normalization, case-folding, and other operations for data in the UTF-8 encoding.
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: A C library that provides Unicode normalization, case-folding, and other operations for data in the UTF-8 encoding
|
|
|
|
%description -n lib%{name}
|
|
utf8proc is a small, clean C library that provides Unicode normalization, case-folding, and other operations for data in the UTF-8 encoding.
|
|
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
|
|
sed -i "s|DESTINATION lib$|DESTINATION %{_lib}|" CMakeLists.txt
|
|
sed -i "s|DESTINATION lib)$|DESTINATION %{_lib})|" CMakeLists.txt
|
|
|
|
%build
|
|
%cmake -d build
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
%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}/libutf8proc.so.*
|
|
%doc LICENSE.md
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/utf8proc.h
|
|
%{_libdir}/libutf8proc.so
|
|
%{_libdir}/pkgconfig/libutf8proc.pc
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Fri Dec 24 2021 Automatic Build System <autodist@mambasoft.it> 2.7.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Feb 23 2021 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Dec 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.0-1mamba
|
|
- package created using the webbuild interface
|