Пакет libgmime3.0: 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 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 | %def_disable snapshot %define _name gmime %define ver_major 3.2 %define api_ver 3.0 %def_enable crypto %def_disable static %def_enable check Name: lib%_name%api_ver Version: %ver_major.14 Release: alt1 Summary: Glorious MIME Utility Library License: LGPL-2.1 Group: System/Libraries Url: https://github.com/jstedfast/gmime %if_disabled snapshot #Source: ftp://ftp.gnome.org/pub/gnome/sources/%_name/%ver_major/%_name-%version.tar.xz Source: https://github.com/jstedfast/gmime/releases/download/%version/%_name-%version.tar.xz %else Vcs: https://github.com/jstedfast/gmime.git Source: %_name-%version.tar %endif %define glib_ver 2.58.0 %define gi_ver 1.30.0 BuildRequires(pre): rpm-build-gnome rpm-build-gir rpm-build-vala BuildRequires: /proc BuildRequires: gcc-c++ libgio-devel >= %glib_ver BuildRequires: libidn2-devel zlib-devel BuildRequires: gtk-doc docbook-utils BuildRequires: gobject-introspection-devel >= %gi_ver BuildRequires: vala-tools %{?_enable_crypto:BuildRequires: libgpgme-devel} %description GMime is a C/C++ library for the creation and parsing of messages using the Multipurpose Internet Mail Extension (MIME) as defined by numerous IETF specifications. %package devel Summary: Development files for GMime Group: Development/C Requires: %name = %EVR %description devel This package contains development files required for packaging GMime-based software. %package gir Summary: GObject introspection data for the GMime library Group: System/Libraries Requires: %name = %EVR %description gir GObject introspection data for the GMime library. %package gir-devel Summary: GObject introspection devel data for the GMime library Group: Development/Other BuildArch: noarch Requires: %name-gir = %EVR Requires: %name-devel = %EVR %description gir-devel GObject introspection devel data for the GMime library. %package devel-doc Summary: Development documentation for GMime Group: Development/Documentation Conflicts: %name < %version BuildArch: noarch %description devel-doc This package provides development documentation for the GMime library. %package devel-static Summary: Static GMime libraries Group: Development/C Requires: %name-devel = %EVR %description devel-static This package contains development libraries required for packaging statically linked GMime-based software. %define _gtk_docdir %_datadir/gtk-doc/html %prep %setup -n %_name-%version %build %{?_enable_snapshot:NOCONFIGURE=1 ./autogen.sh} %configure %{subst_enable static} \ %{subst_enable crypto} \ --enable-introspection \ --enable-vala \ --enable-largefile \ --enable-gtk-doc %nil %make_build %install %makeinstall_std %check %make -k check VERBOSE=1 %files %_libdir/lib%_name-%api_ver.so.* %doc AUTHORS ChangeLog README* %files devel %_includedir/* %_libdir/lib%_name-%api_ver.so %_pkgconfigdir/%_name-%api_ver.pc %_vapidir/%_name-%api_ver.vapi %_vapidir/%_name-%api_ver.deps %files gir %_typelibdir/GMime-%api_ver.typelib %files gir-devel %_girdir/GMime-%api_ver.gir %files devel-doc %_gtk_docdir/%_name-%ver_major/ %if_enabled static %files devel-static %_libdir/*.a %endif %changelog * Sun Sep 03 2023 Yuri N. Sedunov <aris@altlinux.org> 3.2.14-alt1 - 3.2.14 * Sat Aug 20 2022 Yuri N. Sedunov <aris@altlinux.org> 3.2.13-alt1 - 3.2.13 * Sat Jun 04 2022 Yuri N. Sedunov <aris@altlinux.org> 3.2.12-alt1 - 3.2.12 * Sat Mar 19 2022 Yuri N. Sedunov <aris@altlinux.org> 3.2.11-alt1 - 3.2.11 * Wed Mar 09 2022 Yuri N. Sedunov <aris@altlinux.org> 3.2.9-alt1 - 3.2.9 * Sat Mar 21 2020 Yuri N. Sedunov <aris@altlinux.org> 3.2.7-alt1 - 3.2.7 - enabled %%check * Sat Feb 15 2020 Yuri N. Sedunov <aris@altlinux.org> 3.2.6-alt1 - 3.2.6 * Mon Nov 25 2019 Yuri N. Sedunov <aris@altlinux.org> 3.2.5-alt1 - 3.2.5 * Thu Oct 03 2019 Yuri N. Sedunov <aris@altlinux.org> 3.2.4-alt1 - 3.2.4 * Tue Nov 27 2018 Yuri N. Sedunov <aris@altlinux.org> 3.2.3-alt1 - 3.2.3 * Wed Oct 31 2018 Yuri N. Sedunov <aris@altlinux.org> 3.2.2-alt1 - 3.2.2 * Sat Oct 27 2018 Yuri N. Sedunov <aris@altlinux.org> 3.2.1-alt1 - updated to 3.2.1-3-g87405143 * Thu Dec 21 2017 Yuri N. Sedunov <aris@altlinux.org> 3.2.0-alt1 - 3.2.0 * Mon Dec 04 2017 Yuri N. Sedunov <aris@altlinux.org> 3.0.5-alt1 - 3.0.5 * Tue Nov 21 2017 Yuri N. Sedunov <aris@altlinux.org> 3.0.4-alt1 - 3.0.4 * Sun Oct 29 2017 Yuri N. Sedunov <aris@altlinux.org> 3.0.3-alt1 - 3.0.3 * Sat Sep 02 2017 Yuri N. Sedunov <aris@altlinux.org> 3.0.2-alt1 - 3.0.2 * Mon May 22 2017 Yuri N. Sedunov <aris@altlinux.org> 3.0.1-alt1 - 3.0.1 * Sun Apr 23 2017 Yuri N. Sedunov <aris@altlinux.org> 3.0.0-alt1 - first build for Sisyphus |