Package libexempi: 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 snapshot %def_enable static %{?_enable_static:%{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects}} %def_enable check %define Name Exempi %define _name exempi Name: lib%_name Version: 2.6.5 Release: alt1 Summary: Library for easy parsing of XMP metadata Group: System/Libraries License: BSD-3-Clause Url: https://libopenraw.freedesktop.org/exempi/ %if_disabled snapshot Source: http://libopenraw.freedesktop.org/download/%_name-%version.tar.xz %else Vcs: https://gitlab.freedesktop.org/libopenraw/exempi.git Source: %_name-%version.tar %endif %define boost_ver 1.60 BuildRequires: boost-test-devel >= %boost_ver gcc-c++ libexpat-devel zlib-devel %description %Name provides a library for easy parsing of XMP metadata. It is a port of Adobe XMP SDK to work on UNIX. %package devel Summary: Headers for developing programs that will use %name Group: Development/C Requires: %name%{?_disable_shared:-devel-static} = %version-%release %description devel This package contains the libraries and header files needed for developing with %name. %if_enabled static %package devel-static Summary: Static library for developing programs that will use %name Group: Development/C Requires: %name-devel = %version-%release %description devel-static This package contains the static library needed for developing with %name. %endif %prep %setup -n %_name-%version # fix boost.m4 for gcc < 5, lcc < 1.23 sed -i~ 's|\^\(boost-lib-version\)|\1|' m4/boost.m4 %build %autoreconf %configure \ %{subst_enable static} \ CPPFLAGS="-DBanAllEntityUsage=1" %make_build %install %makeinstall_std %check %make -k check VERBOSE=1 %files %_bindir/%_name %_libdir/*.so.* %_man1dir/%_name.1.* %doc AUTHORS ChangeLog NEWS README* %files devel %_includedir/%_name-2.0/ %_libdir/*.so %_pkgconfigdir/* %if_enabled static %files devel-static %_libdir/*.a %endif %changelog * Mon Dec 25 2023 Yuri N. Sedunov <aris@altlinux.org> 2.6.5-alt1 - 2.6.5 * Fri Jul 07 2023 Yuri N. Sedunov <aris@altlinux.org> 2.6.4-alt1 - 2.6.4 * Sun Dec 11 2022 Yuri N. Sedunov <aris@altlinux.org> 2.6.3-alt1 - 2.6.3 * Mon Jun 27 2022 Yuri N. Sedunov <aris@altlinux.org> 2.6.2-alt1 - 2.6.2 * Thu Mar 03 2022 Yuri N. Sedunov <aris@altlinux.org> 2.6.1-alt1 - 2.6.1 * Thu Aug 26 2021 Yuri N. Sedunov <aris@altlinux.org> 2.5.2-alt1.1 - added -ffat-lto-objects to %%optflags_lto if static build enabled * Sat Aug 29 2020 Yuri N. Sedunov <aris@altlinux.org> 2.5.2-alt1 - 2.5.2 release * Sat Mar 21 2020 Yuri N. Sedunov <aris@altlinux.org> 2.5.2-alt0.1 - updated to 2.5.1-5-g408c71e (fixed build with gcc-9.2/c++17) * Tue Aug 06 2019 Yuri N. Sedunov <aris@altlinux.org> 2.5.1-alt1 - 2.5.1 * Tue Jan 08 2019 Yuri N. Sedunov <aris@altlinux.org> 2.5.0-alt1 - 2.5.0 * Fri Mar 23 2018 Yuri N. Sedunov <aris@altlinux.org> 2.4.5-alt1 - 2.4.5 (fixed CVE-2018-7730, CVE-2018-7728, CVE-2018-7729, CVE-2018-7731) * Thu Mar 01 2018 Yuri N. Sedunov <aris@altlinux.org> 2.4.4-alt1.1 - fixed boost.m4 for e2k * Tue Feb 27 2018 Yuri N. Sedunov <aris@altlinux.org> 2.4.4-alt1 - 2.4.4 * Wed Feb 01 2017 Yuri N. Sedunov <aris@altlinux.org> 2.4.2-alt1 - 2.4.2 * Thu Jan 12 2017 Yuri N. Sedunov <aris@altlinux.org> 2.4.0-alt1 - 2.4.0 * Sat Mar 26 2016 Yuri N. Sedunov <aris@altlinux.org> 2.3.0-alt1 - 2.3.0 * Sat Jan 04 2014 Yuri N. Sedunov <aris@altlinux.org> 2.2.1-alt1 - 2.2.1 - %%check section * Fri Sep 14 2012 Yuri N. Sedunov <aris@altlinux.org> 2.2.0-alt1 - 2.2.0 * Tue Nov 02 2010 Yuri N. Sedunov <aris@altlinux.org> 2.1.1-alt2 - rebuild * Tue Aug 25 2009 Yuri N. Sedunov <aris@altlinux.org> 2.1.1-alt1 - 2.1.1 * Sun Dec 28 2008 Led <led@altlinux.ru> 2.1.0-alt1 - 2.1.0 - cleaned up spec * Mon Aug 25 2008 Led <led@altlinux.ru> 2.0.2-alt1 - 2.0.2 * Tue May 06 2008 Led <led@altlinux.ru> 2.0.1-alt1 - 2.0.1 * Thu Apr 03 2008 Led <led@altlinux.ru> 2.0.0-alt1 - 2.0.0 * Sat Feb 02 2008 Led <led@altlinux.ru> 1.99.9-alt1 - 1.99.9 - cleaned up spec - initial build for Sisyphus * Wed Sep 05 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.4-2 - Rebuild for expat 2.0 * Wed Aug 22 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.4-1 - Update tp 1.99.4 * Tue Jul 10 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.3-1 - Initial packaging for Fedora |