Blame SPECS/uchardet.spec

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