Пакет libiptcdata: 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 | %def_disable python %def_disable python3 %def_disable static Name: libiptcdata Version: 1.0.5 Release: alt1 Summary: IPTC tag library License: LGPLv2+ Group: System/Libraries URL: https://github.com/ianw/%name Source: https://github.com/ianw/%name/releases/download/%name-%version.tar.gz BuildRequires: gtk-doc %{?_enable_python:BuildRequires: python-devel} %{?_enable_python3:BuildRequires: python3-devel} %description libiptcdata is a library for parsing, editing, and saving IPTC data stored inside images. IPTC is a standard for encoding metadata such as captions, titles, locations, etc. in the headers of an image file. libiptcdata also includes a command-line utility for modifying the metadata. %package devel Summary: Development files for %name Group: Development/C Requires: %name = %version-%release %description devel The libiptcdata-devel package contains the libraries and include files that you can use to develop libiptcdata applications. %package -n python-module-%name Summary: Python bindings for libiptcdata Group: Development/Python Requires: %name = %version-%release %description -n python-module-%name The libiptcdata-python package contains a Python module that allows Python applications to use the libiptcdata API for reading and writing IPTC metadata in images. %package -n python3-module-%name Summary: Python bindings for libiptcdata Group: Development/Python3 Requires: %name = %version-%release %description -n python3-module-%name The libiptcdata-python package contains a Python3 module that allows Python3 applications to use the libiptcdata API for reading and writing IPTC metadata in images. %package devel-static Summary: Static library build of %name Group: Development/C Requires: %name-devel = %version-%release %description devel-static The static build of libiptcdata. %prep %setup %build %autoreconf %configure --disable-rpath %{subst_enable static} %make_build %install %makeinstall_std %find_lang %name %find_lang --append --output=%name.lang iptc %files -f %name.lang %_bindir/* %_libdir/*.so.* %files devel %_libdir/*.so %_includedir/* %_libdir/pkgconfig/* %_datadir/gtk-doc/html/libiptcdata %if_enabled python %files -n python-module-%name %doc python/README python/examples %python_sitelibdir/*.so %exclude %python_sitelibdir/*.la %endif %if_enabled python3 %files -n python3-module-%name %doc python/README python/examples %python_sitelibdir/*.so %exclude %python3_sitelibdir/*.la %endif %if_enabled static %files devel-static %_libdir/*.a %endif %changelog * Mon Mar 16 2020 Alexey Shabalin <shaba@altlinux.org> 1.0.5-alt1 - 1.0.5 - disable build python package * Sat Oct 22 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 1.0.4-alt3.1 - Rebuild with Python-2.7 * Fri Mar 18 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.0.4-alt3 - Rebuilt for debuginfo * Sat Nov 06 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.0.4-alt2 - Rebuilt for soname set-versions * Thu Nov 12 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.0.4-alt1.1 - Rebuilt with python 2.6 * Mon Jul 06 2009 Victor Forsyuk <force@altlinux.org> 1.0.4-alt1 - 1.0.4 * Thu Jun 18 2009 Victor Forsyuk <force@altlinux.org> 1.0.3-alt1 - 1.0.3 * Mon Mar 16 2009 Victor Forsyuk <force@altlinux.org> 1.0.2-alt3 - Comply with python modules package naming policy. * Fri Jan 09 2009 Victor Forsyuk <force@altlinux.org> 1.0.2-alt2 - Remove obsolete ldconfig calls. * Sat Jan 26 2008 Grigory Batalov <bga@altlinux.ru> 1.0.2-alt1.1 - Rebuilt with python-2.5. * Wed May 16 2007 Victor Forsyuk <force@altlinux.org> 1.0.2-alt1 - Initial build. |