Package libexttextcat: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | %define _unpackaged_files_terminate_build 1 Name: libexttextcat Version: 3.4.6 Release: alt1.1 Summary: Text categorisation library License: BSD Group: Development/Other Url: https://wiki.documentfoundation.org/Libexttextcat # git-vcs git://gerrit.libreoffice.org/libexttextcat Source: %name-%version.tar BuildRequires(pre): rpm-build-vala Obsoletes: libtextcat < %version Provides: libtextcat = %version %description %name is an N-Gram-Based Text Categorization library primarily intended for language guessing. %package devel Summary: Development files for %name Group: Development/C Requires: %name = %version-%release Obsoletes: libtextcat-devel < %version Provides: libtextcat-devel = %version %description devel The %name-devel package contains libraries and header files for developing applications that use %name. %package tools Summary: Tool for creating custom document fingerprints Group: Publishing Requires: %name = %version-%release Conflicts: libtextcat-devel < %version %description tools The %name-tools package contains the createfp program that allows you to easily create your own document fingerprints. %prep %setup %build mkdir -p m4 %autoreconf %configure --disable-silent-rules --disable-static --disable-werror %make_build %install %makeinstall_std %check %make check %files %_libdir/*.so.* %_datadir/%name %files devel %doc LICENSE README* %_libdir/*.so %_includedir/* %_pkgconfigdir/*.pc %_vapidir/* %files tools %_bindir/* %changelog * Mon Aug 21 2023 Ivan A. Melnikov <iv@altlinux.org> 3.4.6-alt1.1 - NMU: fix vapi packaging + put *.vapi file into devel subpackage, where it belongs + avoid packaging %%_vapidir, which belongs to vapi-common * Tue Jan 4 2022 Aleksey Cheusov <cheusov@altlinux.org> 3.4.6-alt1 - 3.4.6 * Mon Feb 12 2018 Alexey Shabalin <shaba@altlinux.ru> 3.4.5-alt1 - 3.4.5 * Thu Aug 07 2014 Alexey Shabalin <shaba@altlinux.ru> 3.4.4-alt1 - 3.4.4 * Wed Aug 14 2013 Alexey Shabalin <shaba@altlinux.ru> 3.4.3-alt1 - 3.4.3 - rename package from libtextcat to libexttextcat - move createfp program to libexttextcat-tools package * Sun Apr 14 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 2.2-alt4.qa1 - NMU: rebuilt for debuginfo. * Thu Jan 27 2011 Victor Forsiuk <force@altlinux.org> 2.2-alt4 - Rebuilt for soname set-versions. * Wed Nov 18 2009 Victor Forsyuk <force@altlinux.org> 2.2-alt3 - Fix testtextcat to find installed conf.txt. - Package testtextcat as textcat. - Sample texts does not needed to be installed, drop it. - Remove excessive path element from language data location. Fixes ALT #20722. * Wed Jul 08 2009 Victor Forsyuk <force@altlinux.org> 2.2-alt2 - Split devel subpackage. * Tue Apr 05 2005 Victor Forsyuk <force@altlinux.ru> 2.2-alt1 - In fact license is BSD. - Package shared libraries instead of static. * Sun Jul 13 2003 Ott Alex <ott@altlinux.ru> 2.1-alt1 - Initial build for ALTLinux |