Package libplist: 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 166 167 168 169 170 171 172 173 174 175 | %def_disable python3 Name: libplist Version: 2.0.0 Release: alt2 Summary: Library for manipulating Apple Binary and XML Property Lists Group: System/Libraries License: LGPLv2+ Url: http://www.libimobiledevice.org/ Source: %url/downloads/%name-%version.tar.bz2 Patch: libplist-2.0.0-alt-e2k-lcc123.patch BuildRequires: gcc-c++ cmake xml-utils BuildRequires: python-devel python-module-Cython %{?_enable_python3:BuildRequires: python3-devel rpm-build-python3 python3-module-Cython} %description libplist is a library for manipulating Apple Binary and XML Property Lists %package -n %{name}mm Summary: Cmm wrapper for %name library Group: System/Libraries Requires: %name = %version-%release %description -n %{name}mm This package provides Cmm interface for %name library %package -n %{name}mm-devel Summary: Headers and development files for %{name}mm library Group: System/Libraries Requires: %{name}mm = %version-%release Requires: %name-devel = %version-%release %description -n %{name}mm-devel This package contains the headers and development files that are needed to develop or compile applications which need %{name}mm library %package devel Summary: Development package for libplist Group: Development/C Requires: %name = %version-%release %description devel This package provides development headers and libraries for %name %package -n python-module-%name Summary: Python package for libplist Group: Development/Python Requires: %name = %version-%release Requires: %{name}mm = %version-%release %description -n python-module-%name Python libraries and bindings for %name %package -n python3-module-%name Summary: Python3 package for libplist Group: Development/Python3 Requires: %name = %version-%release Requires: %{name}mm = %version-%release %description -n python3-module-%name Python3 libraries and bindings for %name %prep %setup -a0 %patch -p1 # for python2 only subst 's/\(PYTHON-config --ldflags\)/\1 -lpython%__python_version/' m4/ac_python_devel.m4 mv %name-%version py3build %build %autoreconf %configure --disable-static %make_build %if_enabled python3 pushd py3build %add_optflags %optflags_shared %autoreconf %configure --disable-static PYTHON=%__python3 %make_build popd %endif %install %makeinstall_std %if_enabled python3 pushd py3build %makeinstall_std popd %endif %files %_bindir/plistutil %_libdir/libplist.so.* %doc AUTHORS README %files devel %_includedir/plist/ %_libdir/libplist.so %_libdir/pkgconfig/libplist.pc %exclude %_includedir/plist/plist++.h %files -n %{name}mm %_libdir/libplist++.so.* %files -n %{name}mm-devel %_includedir/plist/plist++.h %_libdir/libplist++.so %_libdir/pkgconfig/libplist++.pc %files -n python-module-%name %python_sitelibdir/plist.so %exclude %python_sitelibdir/plist.la %if_enabled python3 %files -n python3-module-%name %python3_sitelibdir/plist.so %exclude %python3_sitelibdir/plist.la %endif %changelog * Tue Jan 08 2019 Michael Shigorin <mike@altlinux.org> 2.0.0-alt2 - applied e2k patch to work around lcc-1.23's lack of gcc5 builtins * Sun Apr 30 2017 Yuri N. Sedunov <aris@altlinux.org> 2.0.0-alt1 - 2.0.0 (fixed CVE-2017-6440, CVE-2017-6439, CVE-2017-6438, CVE-2017-6437, CVE-2017-6436, CVE-2017-6435, CVE-2017-5836, CVE-2017-5835, CVE-2017-5834, CVE-2017-5545, CVE-2017-5209) * Fri Apr 08 2016 Yuri N. Sedunov <aris@altlinux.org> 1.12-alt2 - rebuilt for new gcc, python, cython etc. * Wed Oct 15 2014 Yuri N. Sedunov <aris@altlinux.org> 1.12-alt1 - 1.12 * Tue Mar 25 2014 Yuri N. Sedunov <aris@altlinux.org> 1.11-alt1 - 1.11 * Mon Nov 11 2013 Yuri N. Sedunov <aris@altlinux.org> 1.10-alt2 - fixed %%build for cmake-2.8.12.1-alt1 * Thu Apr 11 2013 Yuri N. Sedunov <aris@altlinux.org> 1.10-alt1 - 1.10 * Tue Mar 19 2013 Yuri N. Sedunov <aris@altlinux.org> 1.9-alt1 - 1.9 * Sun Apr 08 2012 Yuri N. Sedunov <aris@altlinux.org> 1.8-alt1 - 1.8 * Tue Oct 25 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 1.4-alt1.1 - Rebuild with Python-2.7 * Sun Mar 20 2011 Yuri N. Sedunov <aris@altlinux.org> 1.4-alt1 - 1.4 * Fri Mar 11 2011 Yuri N. Sedunov <aris@altlinux.org> 1.3-alt3 - rebuilt for debuginfo * Tue Nov 02 2010 Yuri N. Sedunov <aris@altlinux.org> 1.3-alt2 - rebuild * Thu May 27 2010 Yuri N. Sedunov <aris@altlinux.org> 1.3-alt1 - 1.3 * Mon Jan 25 2010 Yuri N. Sedunov <aris@altlinux.org> 1.2-alt1 - 1.2 * Thu Dec 03 2009 Yuri N. Sedunov <aris@altlinux.org> 0.16-alt1 - first build for Sisyphus |