123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- %undefine __cmake_in_source_build
- Name: uchardet
- Version: 0.0.6
- Release: 12%{?_dist_release}
- Summary: An encoding detector library ported from Mozilla
- Group: system
- Vendor: Project Vine
- Distribution: Vine Linux
- License: MPLv1.1
- URL: https://www.freedesktop.org/wiki/Software/%{name}
- Source0: https://www.freedesktop.org/software/%{name}/releases/%{name}-%{version}.tar.xz
- BuildRequires: gcc
- BuildRequires: gcc-c++
- BuildRequires: cmake
- %description
- Uchardet is a C language binding of the original C++ implementation of the
- universal charset detection library by Mozilla. Uchardet is an encoding
- detector library, which takes a sequence of bytes in an unknown character
- encoding without any additional information, and attempts to determine the
- encoding of the text.
- %package devel
- Summary: Development files for %{name}
- Group: programming
- Requires: %{name}%{?_isa} = %{version}-%{release}
- %description devel
- The %{name}-devel package contains headers and shared libraries
- for developing tools for uchardet.
- %prep
- %autosetup
- %build
- mkdir -p build
- pushd build
- %cmake \
- -DCMAKE_INSTALL_LIBDIR=%{_libdir} \
- -DBUILD_STATIC=OFF \
- ..
- make %{?_smp_mflags}
- popd
- %install
- pushd build
- make DESTDIR=%{buildroot} install
- popd
- %check
- pushd build
- ctest -VV \
- %ifarch %{ix86}
- || :
- %else
- ;
- %endif
- popd
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %files
- %license COPYING
- %doc AUTHORS
- %{_bindir}/%{name}
- %{_libdir}/lib%{name}.so.*
- %{_mandir}/man1/%{name}.1*
- %files devel
- %{_includedir}/%{name}/
- %{_libdir}/lib%{name}.so
- %{_libdir}/pkgconfig/%{name}.pc
- %changelog
- * Sat Aug 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.0.6-12
- - initial build for Vine Linux.
- * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-11
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- * Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-10
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- * Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-9
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-8
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-7
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-6
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- * Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.6-5
- - Switch to %%ldconfig_scriptlets
- * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-4
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
- * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-3
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
- * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
- * Thu Dec 22 2016 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.6-1
- - update version to 0.0.6
- - changed upstream url
- * Thu Jul 07 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.0.5-4
- - Rebuild for f23 to fix i686
- * Fri Feb 12 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.0.5-3
- - Fixup summary in devel subpkg
- * Mon Feb 08 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.0.5-2
- - Fix building on i686 properly
- * Sat Feb 6 2016 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.5-1
- - update version to 0.0.5
- * Fri Nov 20 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.3-1
- - update version to 0.0.3
- - add tests
- * Thu Oct 1 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.1-5
- - remove macros srcname and sum
- * Mon Sep 21 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.1-4
- - fix enable debug packages
- - fix add flag verbose for make
- - fix change in build
- - fix remove in libs from files
- - fix add change for libs in post/postun
- - fix version on 0.0.1 from git
- - added macros
- * Mon Sep 21 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.0-3
- - fix description and summary for libs and libs-devel
- * Mon Sep 21 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.0-2
- - fix version on 0.0.0
- - fix license path
- - remove static lib
- - fix description
- - fix number packages
- * Mon Sep 21 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.0-1
- - Initial package
|