Package libappindicator: 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 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 | %define ver_major 12.10 %define api_ver 0.1 %ifarch %ix86 x86_64 aarch64 %def_with mono %else %def_without mono %endif Name: libappindicator Version: %ver_major.0 Release: alt11 Summary: Application indicators library Group: System/Libraries License: LGPLv2 and LGPLv3 Url: https://launchpad.net/%name Packager: Anton Midyukov <antohami@altlinux.org> Source: https://launchpad.net/%name/%ver_major/%version/+download/%name-%version.tar.gz Patch: 0001_Fix_mono_dir.patch Patch1: 0002_libappindicator-no-Werror.patch Patch2: libappindicator-12.10.0-alt-application-service-marshal.patch BuildRequires(pre): gcc BuildRequires: vala-tools gtk-doc BuildRequires: libdbus-glib-devel libdbusmenu-devel BuildRequires: libdbusmenu-gtk2-devel libdbusmenu-gtk3-devel BuildRequires: gobject-introspection-devel BuildRequires: libgtk+2-devel libgtk+2-gir-devel BuildRequires: libgtk+3-devel libgtk+3-gir-devel BuildRequires: libindicator-devel libindicator-gtk3-devel BuildRequires: python-devel python-module-pygtk-devel rpm-build-gir %if_with mono BuildRequires(pre): rpm-build-mono BuildRequires: libgtk-sharp2-devel libgtk-sharp2-gapi BuildRequires: mono-devel %endif %description A library to allow applications to export a menu into the Unity Menu bar. Based on KSNI it also works in KDE and will fallback to generic Systray support if none of those are available. %package -n python-module-appindicator Summary: Python 2 bindings for %name Group: System/Libraries Requires: %name-gir = %version-%release Requires: %name-gtk3-gir = %version-%release %description -n python-module-appindicator This package contains the Python 2 bindings for the appindicator library. %package devel Summary: %summary Group: Development/Other Requires: %name = %version-%release %description devel Development files for %name %package gir Summary: GObject introspection data for the %name Group: System/Libraries Requires: %name = %version-%release %description gir This package provides GObject introspection data for the %name. %package gir-devel Summary: GObject introspection devel data for the %name Group: Development/Other BuildArch: noarch Requires: %name-gir = %version-%release %description gir-devel This package provides GObject introspection devel data for the %name %package gtk3 Summary: Application indicators library - GTK 3 Group: System/Libraries %description gtk3 A library to allow applications to export a menu into the Unity Menu bar. Based on KSNI it also works in KDE and will fallback to generic Systray support if none of those are available. This package contains the GTK 3 version of this library. %package gtk3-devel Summary: Development files for %name-gtk3 Group: Development/Other Requires: %name-gtk3 = %version-%release %description gtk3-devel This package contains the development files for the appindicator-gtk3 library. %package gtk3-gir Summary: GObject introspection data for the %name-gtk3 Group: System/Libraries Requires: %name-gtk3 = %version-%release %description gtk3-gir This package provides GObject introspection data for the %name-gtk3. %package gtk3-gir-devel Summary: GObject introspection devel data for the %name-gtk3 Group: Development/Other BuildArch: noarch Requires: %name-gtk3-gir = %version-%release %description gtk3-gir-devel This package provides GObject introspection devel data for the %name-gtk3 %package devel-doc Summary: Documentation for %name Group: Documentation BuildArch: noarch Requires: %name = %version-%release %description devel-doc This package contains the documentation for the appindicator libraries. %package sharp Summary: Application indicators library - C# Group: System/Libraries Requires: %name-gir = %version-%release Requires: %name-gtk3-gir = %version-%release %description sharp A library to allow applications to export a menu into the Unity Menu bar. Based on KSNI it also works in KDE and will fallback to generic Systray support if none of those are available. This package contains the Mono C# bindings for this library. %package sharp-devel Summary: Development files for %name-sharp Group: Development/Other Requires: %name-sharp = %version-%release %description sharp-devel This package contains the development files for the appindicator-sharp library. %prep %setup %patch0 -p1 -b .monodir %patch1 -p2 #patch2 -p2 sed -i "s#gmcs#mcs#g" configure.ac %build %define opts --disable-static --disable-gtk-doc --disable-dumper %autoreconf %define _configure_script ../configure mkdir build-gtk2 build-gtk3 pushd build-gtk2 export CFLAGS="%optflags $CFLAGS -Wno-deprecated-declarations" %configure %opts --with-gtk=2 #make_build %make -j1 popd pushd build-gtk3 export CFLAGS="%optflags $CFLAGS -Wno-deprecated-declarations" %configure %opts --with-gtk=3 %make -j1 popd %install pushd build-gtk2 %makeinstall_std popd pushd build-gtk3 %makeinstall_std popd find %buildroot -type f -name '*.la' -delete %files %_libdir/libappindicator.so.* %doc AUTHORS README COPYING COPYING.LGPL.2.1 %files gir %_typelibdir/AppIndicator-%api_ver.typelib %files devel %dir %_includedir/libappindicator-%api_ver/ %dir %_includedir/libappindicator-%api_ver/libappindicator/ %_includedir/libappindicator-%api_ver/libappindicator/*.h %_libdir/libappindicator.so %_pkgconfigdir/appindicator-%api_ver.pc %_vapidir/appindicator-%api_ver.vapi %_vapidir/appindicator-%api_ver.deps %files gir-devel %_girdir/AppIndicator-%api_ver.gir %files -n python-module-appindicator %dir %python_sitelibdir/appindicator/ %python_sitelibdir/appindicator/__init__.py* %python_sitelibdir/appindicator/_appindicator.so %dir %_datadir/pygtk/ %dir %_datadir/pygtk/2.0/ %dir %_datadir/pygtk/2.0/defs/ %_datadir/pygtk/2.0/defs/appindicator.defs %files gtk3 %_libdir/libappindicator3.so.* %files gtk3-gir %_typelibdir/AppIndicator3-%api_ver.typelib %files gtk3-devel %dir %_includedir/libappindicator3-%api_ver/ %dir %_includedir/libappindicator3-%api_ver/libappindicator/ %_includedir/libappindicator3-%api_ver/libappindicator/*.h %_libdir/libappindicator3.so %_pkgconfigdir/appindicator3-%api_ver.pc %_vapidir/appindicator3-%api_ver.vapi %_vapidir/appindicator3-%api_ver.deps %files gtk3-gir-devel %_girdir/AppIndicator3-%api_ver.gir %files devel-doc %dir %_datadir/gtk-doc/ %dir %_datadir/gtk-doc/html/ %doc %_datadir/gtk-doc/html/* %if_with mono %files sharp %dir %_libdir/appindicator-sharp-%api_ver/ %_libdir/appindicator-sharp-%api_ver/appindicator-sharp.dll %_libdir/appindicator-sharp-%api_ver/appindicator-sharp.dll.config %_libdir/appindicator-sharp-%api_ver/policy.0.0.appindicator-sharp.config %_libdir/appindicator-sharp-%api_ver/policy.0.0.appindicator-sharp.dll %_libdir/appindicator-sharp-%api_ver/policy.0.1.appindicator-sharp.config %_libdir/appindicator-sharp-%api_ver/policy.0.1.appindicator-sharp.dll %dir %_monodir/appindicator-sharp/ %_monodir/appindicator-sharp/appindicator-sharp.dll %_monodir/appindicator-sharp/policy.0.0.appindicator-sharp.dll %dir %_monogacdir/appindicator-sharp/ %dir %_monogacdir/appindicator-sharp/*/ %_monogacdir/appindicator-sharp/*/appindicator-sharp.dll %_monogacdir/appindicator-sharp/*/appindicator-sharp.dll.config %dir %_monogacdir/policy.0.0.appindicator-sharp/ %dir %_monogacdir/policy.0.0.appindicator-sharp/*/ %_monogacdir/policy.0.0.appindicator-sharp/*/policy.0.0.appindicator-sharp.dll %_monogacdir/policy.0.0.appindicator-sharp/*/policy.0.0.appindicator-sharp.config %files sharp-devel %_pkgconfigdir/appindicator-sharp-0.1.pc %endif %changelog * Fri Feb 08 2019 Anton Midyukov <antohami@altlinux.org> 12.10.0-alt11 - enable build mono for ix86 x86_64 aarch64 only * Wed Feb 06 2019 Leontiy Volodin <lvol@altlinux.org> 12.10.0-alt10 - Disabled patch for application-service-marshal. - Build Compile into one process for gtk3. * Thu Dec 27 2018 Leontiy Volodin <lvol@altlinux.org> 12.10.0-alt9 - Fix syntax errors * Fri Jul 13 2018 Anton Midyukov <antohami@altlinux.org> 12.10.0-alt8.1 - Build Compile into one process (Fix FTBFS on a multiprocessor system) * Thu Mar 22 2018 Anton Midyukov <antohami@altlinux.org> 12.10.0-alt8 - Disable -Werror (Fix FTBFS) * Thu Oct 26 2017 Anton Midyukov <antohami@altlinux.org> 12.10.0-alt7 - Disable build with gtk-doc (Fix FTBFS) - Enable build with mono. * Wed Sep 06 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 12.10.0-alt6 - Updated build dependencies. * Tue Jul 18 2017 Anton Midyukov <antohami@altlinux.org> 12.10.0-alt5 - Disable build with mono. * Mon Jul 18 2016 Anton Midyukov <antohami@altlinux.org> 12.10.0-alt4 - Fix buildrequires. * Mon Jan 25 2016 Anton Midyukov <antohami@altlinux.org> 12.10.0-alt3 - Fix build: - enable single make build; - enable CFLAGS -Wno-deprecated-declarations. * Tue Sep 22 2015 Anton Midyukov <antohami@altlinux.org> 12.10.0-alt2 - Updated requires. * Sun Sep 20 2015 Anton Midyukov <antohami@altlinux.org> 12.10.0-alt1 - Initial build for ALT Linux Sisyphus. |