Package argtable2: 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 | Name: argtable2 Version: 13 Release: alt1 Summary: An ANSI C library for parsing GNU style command line arguments License: LGPL Group: System/Libraries Url: http://argtable.sf.net/ Source: %name-%version.tar.gz BuildPreReq: gcc-c++ %description Argtable is an ANSI C library for parsing GNU style command line arguments. It enables a program's command line syntax to be defined in the source code as an array of argtable structs. The command line is then parsed according to that specification and the resulting values are returned in those same structs where they are accessible to the main program. Both tagged (-v, --verbose, --foo=bar) and untagged arguments are supported, as are multiple instances of each argument. Syntax error handling is automatic and the library also provides the means for displaying the command line syntax directly from the array of argument specifications. %package -n lib%name Summary: Dynamic libraries from %name Group: System/Libraries %description -n lib%name Dynamic libraries from %name. %package -n lib%name-devel Summary: Header files and static libraries from %name Group: Development/C Requires: lib%name = %version-%release %description -n lib%name-devel Libraries and includes files for developing programs based on %name. %package doc-ps Summary: Development documentation for %name (PostScript format) Group: Development/C BuildArch: noarch %description doc-ps Documentation for developing programs based on %name in PostScript format. %package doc-pdf Summary: Development documentation for %name (PDF format) Group: Development/C BuildArch: noarch %description doc-pdf Documentation for developing programs based on %name in PDF format. %package doc-html Summary: Development documentation for %name (HTML format) Group: Development/C BuildArch: noarch %description doc-html Documentation for developing programs based on %name in HTML format. %package doc-examples Summary: Development documentation for %name (examples) Group: Development/C BuildArch: noarch %description doc-examples Examples for developing programs based on %name. %prep %setup %build %autoreconf %configure --disable-static %make_build %make -C tests check %install %makeinstall %files -n lib%name %_libdir/*.so.* %doc AUTHORS ChangeLog README %files -n lib%name-devel %_includedir/* %_libdir/*.so %_man3dir/* %_pkgconfigdir/* %files doc-ps %_defaultdocdir/%name/*.ps %files doc-pdf %_defaultdocdir/%name/*.pdf %files doc-html %_defaultdocdir/%name/*.html %_defaultdocdir/%name/*.gif %files doc-examples %_defaultdocdir/%name/example/ %changelog * Wed Sep 03 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 13-alt1 - Version 13 * Sun Apr 14 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 10-alt2.qa1 - NMU: rebuilt for debuginfo. * Fri Oct 29 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 10-alt2 - Rebuilt for soname set-versions * Wed Jan 28 2009 Andrey Rahmatullin <wrar@altlinux.ru> 10-alt1 - 10 - remove obsolete macros * Fri Aug 04 2008 Andrey Rahmatullin <wrar@altlinux.ru> 9-alt1 - 9 - make doc subpackages noarch * Wed Jan 02 2008 Andrey Rahmatullin <wrar@altlinux.ru> 8-alt1 - 8 * Tue Jul 24 2007 Andrey Rahmatullin <wrar@altlinux.ru> 7-alt1 - 7 * Sat Sep 30 2006 Andrey Rahmatullin <wrar@altlinux.ru> 6-alt1 - initial build |