Пакет libayatana-indicator: 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 | %define sover 7 %def_with gtk2 Name: libayatana-indicator Version: 0.9.3 Release: alt1 Summary: Ayatana Indicator Display Objects License: GPLv3 Group: System/Libraries Url: https://github.com/AyatanaIndicators/%name Packager: Nazarov Denis <nenderus@altlinux.org> # https://github.com/AyatanaIndicators/%name/archive/%version/%name-%version.tar.gz Source: %name-%version.tar BuildRequires(pre): rpm-macros-cmake BuildRequires: cmake BuildRequires: libayatana-ido3-devel %if_with gtk2 BuildRequires: libgtk+2-devel %endif %description This library contains information to build indicators to go into the indicator applet. %package -n %name%sover Summary: Ayatana Indicator Display Objects Group: System/Libraries %description -n %name%sover This library contains information to build indicators to go into the indicator applet. %package devel Summary: Development files for the Ayatana panel indicator applet library Group: Development/C++ %description devel This library contains information to build indicators to go into the indicator applet. %package -n %{name}3-%sover Summary: Ayatana Indicator Display Objects Group: System/Libraries %description -n %{name}3-%sover This library contains information to build indicators to go into the indicator applet. %package -n %{name}3-devel Summary: Development files for the Ayatana panel indicator applet library Group: Development/C++ %description -n %{name}3-devel This library contains information to build indicators to go into the indicator applet. %prep %setup -a 0 %__mv %name-%version %name-%version-gtk3 %build %if_with gtk2 # Build with GTK2 %cmake -DFLAVOUR_GTK2:BOOL=TRUE %cmake_build %endif # Build with GTK3 pushd %name-%version-gtk3 %cmake -DCMAKE_INSTALL_LIBEXECDIR:PATH=%_libexecdir %cmake_build popd %install %if_with gtk2 %cmake_install %endif pushd %name-%version-gtk3 %cmake_install popd %if_with gtk2 %files -n %name%sover %_libdir/%name.so.* %files devel %_includedir/%name-0.4 %_libdir/%name.so %_pkgconfigdir/ayatana-indicator-0.4.pc %endif %files -n %{name}3-%sover %_libdir/%{name}3.so.* %files -n %{name}3-devel %_includedir/%{name}3-0.4 %_libdir/%{name}3.so %_pkgconfigdir/ayatana-indicator3-0.4.pc %_libexecdir/%name %_datadir/%name %changelog * Sun Jun 11 2023 Nazarov Denis <nenderus@altlinux.org> 0.9.3-alt1 - New version 0.9.3. * Thu Mar 16 2023 Vitaly Lipatov <lav@altlinux.ru> 0.9.1-alt2 - NMU: cleanup BR, add if_with for build with gtk2 * Mon Mar 07 2022 Nazarov Denis <nenderus@altlinux.org> 0.9.1-alt1 - Version 0.9.1 * Sun Feb 13 2022 Nazarov Denis <nenderus@altlinux.org> 0.9.0-alt2 - Rename subpackages - Fix BR - Build also with GTK2 * Fri Jan 14 2022 Nazarov Denis <nenderus@altlinux.org> 0.9.0-alt1 - Initial build for ALT Linux |