Пакет 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 | %define ver_major 12.10 %define api_ver 0.1 Name: libappindicator Version: %ver_major.0 Release: alt12.p10 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 Patch3: nopython.patch BuildRequires(pre): gcc BuildRequires: vala-tools gtk-doc BuildRequires: libdbus-glib-devel BuildRequires: libdbusmenu-gtk3-devel BuildRequires: gobject-introspection-devel BuildRequires: libgtk+2-devel libindicator-devel libdbusmenu-gtk2-devel BuildRequires: libgtk+3-devel libgtk+3-gir-devel BuildRequires: libindicator-gtk3-devel BuildRequires: rpm-build-gir %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 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 = %EVR %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 = %EVR %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 = %EVR %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 %description devel-doc This package contains the documentation for the appindicator libraries. %prep %setup %patch0 -p1 -b .monodir %patch1 -p2 #patch2 -p2 %patch3 -p1 sed -i "s#gmcs#mcs#g" configure.ac %build %define opts --disable-static --disable-gtk-doc --disable-dumper %define _configure_script ../configure %autoreconf export CFLAGS="%optflags $CFLAGS -Wno-deprecated-declarations" mkdir build-gtk2 build-gtk3 pushd build-gtk2 %configure %opts --with-gtk=2 --disable-python --enable-introspection=no %make -j1 popd pushd build-gtk3 %configure %opts --with-gtk=3 --disable-python %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 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/* %changelog * Wed Apr 24 2024 Anton Midyukov <antohami@altlinux.org> 12.10.0-alt12.p10 - build libappindicator again * Mon Nov 23 2020 Anton Midyukov <antohami@altlinux.org> 12.10.0-alt12 - build without gtk2 * 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. |