Package enchant2: 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 | %def_disable snapshot %define _name enchant %define api_ver 2 %def_enable aspell %def_disable relocatable %def_disable check Name: %_name%api_ver Version: 2.2.7 Release: alt1 Summary: An Enchanting Spell Checking Program Group: Text tools License: LGPL Url: https://abiword.github.io/%_name/ %if_disabled snapshot Source: https://github.com/AbiWord/%_name/releases/download/v%version/%_name-%version.tar.gz %else #VCS: https://github.com/AbiWord/enchant.git Source: %_name-%version.tar %endif Requires: lib%name = %version-%release BuildRequires: gcc-c++ glib2-devel libdbus-glib-devel libhunspell-devel %{?_enable_aspell:BuildRequires: libaspell-devel} %{?_enable_check:BuildRequires: libunittest-cpp-devel} %description This package contains simple programs that wrap other spell checking backends, including an Ispell compatible script. %package -n lib%name Summary: An Enchanting Spell Checking Library Group: System/Libraries %description -n lib%name A library that wraps other spell checking backends. %package -n lib%name-devel Summary: Support files necessary to compile applications with libenchant. Group: Development/C++ Requires: lib%name = %version-%release %description -n lib%name-devel Libraries, headers, and support files necessary to compile applications using libenchant. %prep %setup -n %_name-%version %build %add_optflags -D_FILE_OFFSET_BITS=64 %autoreconf %configure --disable-static \ %{subst_enable relocatable} \ --with-hunspell-dir=%_datadir/myspell \ %{?_enable_aspell:--with-aspell-dir=%_libdir/aspell} %make_build pkgdatadir=%_datadir/%_name-%api_ver %install %makeinstall_std pkgdatadir=%_datadir/%_name-%api_ver %check %make check %files %_bindir/* %_man1dir/* %files -n lib%name %_libdir/*.so.* %dir %_libdir/%_name-%api_ver %_libdir/%_name-%api_ver/*.so %_datadir/%_name-%api_ver/ %doc AUTHORS README NEWS %exclude %_libdir/%_name-%api_ver/*.la %files -n lib%name-devel %_includedir/%_name-%api_ver/ %_libdir/*.so %_pkgconfigdir/%_name-%api_ver.pc %changelog * Mon Sep 23 2019 Yuri N. Sedunov <aris@altlinux.org> 2.2.7-alt1 - 2.2.7 * Fri Sep 06 2019 Yuri N. Sedunov <aris@altlinux.org> 2.2.6-alt1 - 2.2.6 * Tue Jul 02 2019 Yuri N. Sedunov <aris@altlinux.org> 2.2.5-alt1 - 2.2.5 * Tue Jun 18 2019 Yuri N. Sedunov <aris@altlinux.org> 2.2.4-alt1 - 2.2.4 * Thu Sep 13 2018 Yuri N. Sedunov <aris@altlinux.org> 2.2.3-alt2 - rebuilt with hunspell-1.6.2 * Thu Feb 15 2018 Yuri N. Sedunov <aris@altlinux.org> 2.2.3-alt1 - 2.2.3 * Sat Jan 06 2018 Yuri N. Sedunov <aris@altlinux.org> 2.2.1-alt1 - 2.2.1 * Fri Dec 29 2017 Yuri N. Sedunov <aris@altlinux.org> 2.2.0-alt1 - 2.2.0 * Sat Dec 09 2017 Yuri N. Sedunov <aris@altlinux.org> 2.1.4-alt0.1 - first build for Sisyphus (v2.1.3-10-g6f9d407) |