|
|
ff1009 |
%undefine __cmake_in_source_build
|
|
|
ff1009 |
|
|
|
ff1009 |
Name: uchardet
|
|
|
ff1009 |
Version: 0.0.6
|
|
|
ff1009 |
Release: 15%{?dist}.1
|
|
|
ff1009 |
Summary: An encoding detector library ported from Mozilla
|
|
|
ff1009 |
|
|
|
ff1009 |
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
|
|
ff1009 |
URL: https://www.freedesktop.org/wiki/Software/%{name}
|
|
|
ff1009 |
Source0: https://www.freedesktop.org/software/%{name}/releases/%{name}-%{version}.tar.xz
|
|
|
ff1009 |
|
|
|
ff1009 |
BuildRequires: gcc
|
|
|
ff1009 |
BuildRequires: gcc-c++
|
|
|
ff1009 |
BuildRequires: cmake
|
|
|
ff1009 |
|
|
|
ff1009 |
%description
|
|
|
ff1009 |
Uchardet is a C language binding of the original C++ implementation of the
|
|
|
ff1009 |
universal charset detection library by Mozilla. Uchardet is an encoding
|
|
|
ff1009 |
detector library, which takes a sequence of bytes in an unknown character
|
|
|
ff1009 |
encoding without any additional information, and attempts to determine the
|
|
|
ff1009 |
encoding of the text.
|
|
|
ff1009 |
|
|
|
ff1009 |
%package devel
|
|
|
ff1009 |
Summary: Development files for %{name}
|
|
|
ff1009 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
ff1009 |
|
|
|
ff1009 |
%description devel
|
|
|
ff1009 |
The %{name}-devel package contains headers and shared libraries
|
|
|
ff1009 |
for developing tools for uchardet.
|
|
|
ff1009 |
|
|
|
ff1009 |
%prep
|
|
|
ff1009 |
%autosetup
|
|
|
ff1009 |
|
|
|
ff1009 |
%build
|
|
|
ff1009 |
%cmake \
|
|
|
ff1009 |
-DCMAKE_INSTALL_LIBDIR=%{_libdir} \
|
|
|
ff1009 |
-DBUILD_STATIC=OFF
|
|
|
ff1009 |
%cmake_build
|
|
|
ff1009 |
|
|
|
ff1009 |
%install
|
|
|
ff1009 |
%cmake_install
|
|
|
ff1009 |
|
|
|
ff1009 |
%ldconfig_scriptlets
|
|
|
ff1009 |
|
|
|
ff1009 |
%check
|
|
|
ff1009 |
pushd %{_vpath_builddir}
|
|
|
ff1009 |
ctest -VV \
|
|
|
ff1009 |
%ifarch %{ix86}
|
|
|
ff1009 |
|| :
|
|
|
ff1009 |
%else
|
|
|
ff1009 |
;
|
|
|
ff1009 |
%endif
|
|
|
ff1009 |
popd
|
|
|
ff1009 |
|
|
|
ff1009 |
%files
|
|
|
ff1009 |
%license COPYING
|
|
|
ff1009 |
%doc AUTHORS
|
|
|
ff1009 |
%{_bindir}/%{name}
|
|
|
ff1009 |
%{_libdir}/lib%{name}.so.*
|
|
|
ff1009 |
%{_mandir}/man1/%{name}.1*
|
|
|
ff1009 |
|
|
|
ff1009 |
%files devel
|
|
|
ff1009 |
%{_includedir}/%{name}/
|
|
|
ff1009 |
%{_libdir}/lib%{name}.so
|
|
|
ff1009 |
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
ff1009 |
|
|
|
ff1009 |
%changelog
|
|
|
ff1009 |
* Wed Oct 6 2021 Akira TAGOH <tagoh@redhat.com> - 0.0.6-15.1
|
|
|
ff1009 |
- Add CI test.
|
|
|
ff1009 |
Resolves: rhbz#2011170
|
|
|
ff1009 |
|
|
|
ff1009 |
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.0.6-15
|
|
|
ff1009 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
ff1009 |
Related: rhbz#1991688
|
|
|
ff1009 |
|
|
|
ff1009 |
* Wed May 19 2021 Akira TAGOH <tagoh@redhat.com> - 0.0.6-14
|
|
|
ff1009 |
- Correct License field.
|
|
|
ff1009 |
See COPYING file for more details.
|
|
|
ff1009 |
|
|
|
ff1009 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.0.6-13
|
|
|
ff1009 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
ff1009 |
|
|
|
ff1009 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-12
|
|
|
ff1009 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
ff1009 |
|
|
|
ff1009 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-11
|
|
|
ff1009 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
ff1009 |
|
|
|
ff1009 |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-10
|
|
|
ff1009 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
ff1009 |
|
|
|
ff1009 |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-9
|
|
|
ff1009 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
ff1009 |
|
|
|
ff1009 |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-8
|
|
|
ff1009 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
ff1009 |
|
|
|
ff1009 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-7
|
|
|
ff1009 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
ff1009 |
|
|
|
ff1009 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-6
|
|
|
ff1009 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
ff1009 |
|
|
|
ff1009 |
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.6-5
|
|
|
ff1009 |
- Switch to %%ldconfig_scriptlets
|
|
|
ff1009 |
|
|
|
ff1009 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-4
|
|
|
ff1009 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
ff1009 |
|
|
|
ff1009 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-3
|
|
|
ff1009 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
ff1009 |
|
|
|
ff1009 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-2
|
|
|
ff1009 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
ff1009 |
|
|
|
ff1009 |
* Thu Dec 22 2016 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.6-1
|
|
|
ff1009 |
- update version to 0.0.6
|
|
|
ff1009 |
- changed upstream url
|
|
|
ff1009 |
|
|
|
ff1009 |
* Thu Jul 07 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.0.5-4
|
|
|
ff1009 |
- Rebuild for f23 to fix i686
|
|
|
ff1009 |
|
|
|
ff1009 |
* Fri Feb 12 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.0.5-3
|
|
|
ff1009 |
- Fixup summary in devel subpkg
|
|
|
ff1009 |
|
|
|
ff1009 |
* Mon Feb 08 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.0.5-2
|
|
|
ff1009 |
- Fix building on i686 properly
|
|
|
ff1009 |
|
|
|
ff1009 |
* Sat Feb 6 2016 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.5-1
|
|
|
ff1009 |
- update version to 0.0.5
|
|
|
ff1009 |
|
|
|
ff1009 |
* Fri Nov 20 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.3-1
|
|
|
ff1009 |
- update version to 0.0.3
|
|
|
ff1009 |
- add tests
|
|
|
ff1009 |
|
|
|
ff1009 |
* Thu Oct 1 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.1-5
|
|
|
ff1009 |
- remove macros srcname and sum
|
|
|
ff1009 |
|
|
|
ff1009 |
* Mon Sep 21 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.1-4
|
|
|
ff1009 |
- fix enable debug packages
|
|
|
ff1009 |
- fix add flag verbose for make
|
|
|
ff1009 |
- fix change in build
|
|
|
ff1009 |
- fix remove in libs from files
|
|
|
ff1009 |
- fix add change for libs in post/postun
|
|
|
ff1009 |
- fix version on 0.0.1 from git
|
|
|
ff1009 |
- added macros
|
|
|
ff1009 |
|
|
|
ff1009 |
* Mon Sep 21 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.0-3
|
|
|
ff1009 |
- fix description and summary for libs and libs-devel
|
|
|
ff1009 |
|
|
|
ff1009 |
* Mon Sep 21 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.0-2
|
|
|
ff1009 |
- fix version on 0.0.0
|
|
|
ff1009 |
- fix license path
|
|
|
ff1009 |
- remove static lib
|
|
|
ff1009 |
- fix description
|
|
|
ff1009 |
- fix number packages
|
|
|
ff1009 |
|
|
|
ff1009 |
* Mon Sep 21 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.0-1
|
|
|
ff1009 |
- Initial package
|