Пакет tokyodystopia: 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 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | %def_disable debug %def_disable devel %def_disable profile %def_enable shared %def_enable zlib %def_disable check #---------------------------------------------------------------------- %define Name Tokyo Dystopia Name: tokyodystopia %define lname lib%name Summary: A full-text search system for Tokyo Cabinet Version: 0.9.13 Release: alt3 License: %lgpl2plus Group: Databases URL: http://tokyocabinet.sourceforge.net/ Source: %name-%version.tar Patch: %name-%version-%release.patch Packager: Led <led@altlinux.ru> BuildRequires(pre): rpm-build-licenses BuildRequires: libtokyocabinet-devel bzlib-devel %{?_enable_zlib:BuildRequires: zlib-devel} %description %Name is a full-text search system for Tokyo Cabinet. %package utils Summary: Command line tools for managing %Name Group: Databases Requires: %lname = %version-%release %description utils %Name is a full-text search system for Tokyo Cabinet. This package contains command line tools for managing %Name. %if_enabled shared %package -n %lname Summary: %Name library Group: System/Libraries %description -n %lname %Name is a full-text search system for Tokyo Cabinet. This package contains %Name sharerd library. %endif %package -n %lname-devel Summary: Headers for developing programs that will use %lname Group: Development/C Requires: %lname%{?_disable_shared:-devel-static} = %version-%release %description -n %lname-devel %Name is a full-text search system for Tokyo Cabinet. This package contains the libraries and header files needed for developing with %lname. %package doc Summary: Documentation for %Name Group: Documentation BuildArch: noarch %description doc %Name is a full-text search system for Tokyo Cabinet. This package contains documentation for developers. %prep %setup %patch -p1 %build %define _optlevel 3 %autoreconf %configure \ %{subst_enable debug} \ %{subst_enable devel} \ %{subst_enable profile} \ %{subst_enable shared} \ %{subst_enable zlib} %make_build %{?_enable_check:%make_build check} %install %make_install DESTDIR=%buildroot install rm -f %buildroot%_datadir/%name/COPYING install -d -m 0755 %buildroot%_docdir mv %buildroot{%_datadir/%name,%_docdir/%name-%version} rm -fv %buildroot%_libdir/*.a %files utils %_bindir/* %_libexecdir/*.cgi %_man1dir/* %if_enabled shared %files -n %lname %_libdir/*.so.* %endif %files -n %lname-devel %_includedir/* %{?_enable_shared:%_libdir/*.so} %_pkgconfigdir/* %_man3dir/* %files doc %_docdir/%name-%version %changelog * Fri Oct 15 2021 Grigory Ustinov <grenka@altlinux.org> 0.9.13-alt3 - Fixed FTBFS. * Mon Apr 15 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 0.9.13-alt2.qa1 - NMU: rebuilt for debuginfo. * Wed Nov 11 2009 Led <led@altlinux.ru> 0.9.13-alt2 - rebuild with libtokyocabinet.so.9 * Sat Jul 11 2009 Led <led@altlinux.ru> 0.9.13-alt1 - 0.9.13: + performance was improved * Tue Jun 16 2009 Led <led@altlinux.ru> 0.9.12-alt1 - 0.9.12: + new functions: sysprint - fixed URL * Sun Apr 26 2009 Led <led@altlinux.ru> 0.9.11-alt1 - 0.9.11 * Wed Mar 11 2009 Led <led@altlinux.ru> 0.9.9-alt2 - rebuild with libtokyocabinet.so.8 * Wed Jan 07 2009 Led <led@altlinux.ru> 0.9.9-alt1 - 0.9.9 * Mon Dec 15 2008 Led <led@altlinux.ru> 0.9.8-alt3 - rebuild with libtokyocabinet.so.7 * Mon Dec 15 2008 Led <led@altlinux.ru> 0.9.8-alt2 - cleaned up spec * Thu Oct 30 2008 Led <led@altlinux.ru> 0.9.8-alt1 - 0.9.8 * Tue Sep 09 2008 Led <led@altlinux.ru> 0.9.5-alt3 - rebuild with libtokyocabinet.so.5 * Wed Aug 13 2008 Led <led@altlinux.ru> 0.9.5-alt2 - fixed spec * Wed Jul 30 2008 Led <led@altlinux.ru> 0.9.5-alt1 - initial build |