mirror of
https://abf.rosa.ru/djam/libayatana-appindicator.git
synced 2025-02-23 14:32:56 +00:00
init (ayatana stack is needed for newest virt-manager)
This commit is contained in:
commit
6e6b5a5f24
2 changed files with 101 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
libayatana-appindicator-0.5.5.tar.gz: 5e7aa282893a4dc11bfa838c6b2a6155b397d4e2
|
99
libayatana-appindicator.spec
Normal file
99
libayatana-appindicator.spec
Normal file
|
@ -0,0 +1,99 @@
|
|||
# autoreconf is enough
|
||||
%define _disable_rebuild_configure 1
|
||||
|
||||
%define major 1
|
||||
%define api 0.1
|
||||
%define libname %mklibname ayatana-appindicator %{major}
|
||||
%define devname %mklibname ayatana-appindicator-%{api} -d
|
||||
%define girname %mklibname ayatanaappindicator-gir %{api}
|
||||
|
||||
Summary: A library and indicator to take menus from applications and place them in the panel
|
||||
Name: libayatana-appindicator
|
||||
Version: 0.5.5
|
||||
Release: 1
|
||||
License: LGPLv3
|
||||
Group: Graphical desktop/Other
|
||||
Url: https://github.com/AyatanaIndicators/libayatana-appindicator
|
||||
Source0: https://github.com/AyatanaIndicators/libayatana-appindicator/archive/refs/tags/%{version}.tar.gz?/%{name}-%{version}.tar.gz
|
||||
|
||||
# mono bindings can be enabled by adding BRs,
|
||||
# currently no consumers need them
|
||||
BuildRequires: %{_bindir}/gcov
|
||||
BuildRequires: %{_bindir}/gtkdocize
|
||||
BuildRequires: %{_bindir}/mate-autogen
|
||||
BuildRequires: vala-devel
|
||||
BuildRequires: pkgconfig(ayatana-indicator3-0.4)
|
||||
BuildRequires: pkgconfig(dbusmenu-gtk-0.4)
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(python3)
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: gobject-introspection-devel
|
||||
|
||||
%description
|
||||
%{summary}
|
||||
GTK+3 version
|
||||
|
||||
#------------------------------------------------------------------
|
||||
|
||||
%package -n %{libname}
|
||||
Summary: A library and indicator to take menus from applications, API %{api}
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{libname}
|
||||
A library and indicator to take menus from applications and place them in the panel,
|
||||
API %{api}, GTK+3 version
|
||||
|
||||
%files -n %{libname}
|
||||
%{_libdir}/libayatana-appindicator.so.%{major}*
|
||||
|
||||
#------------------------------------------------------------------
|
||||
|
||||
%package -n %{girname}
|
||||
Summary: A library and indicator to take menus from applications, gir, API %{api}
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{girname}
|
||||
A library and indicator to take menus from applications and place them in the panel,
|
||||
gir, API %{api}, GTK+3 version
|
||||
|
||||
%files -n %{girname}
|
||||
%{_libdir}/girepository-1.0/AyatanaAppIndicator-%{api}.typelib
|
||||
|
||||
#------------------------------------------------------------------
|
||||
|
||||
%package -n %{devname}
|
||||
Summary: Ayatana Indicator Display Objects library development files
|
||||
Group: Development/C
|
||||
Requires: %{libname} = %{EVRD}
|
||||
Requires: %{girname} = %{EVRD}
|
||||
Provides: %{name}-devel = %{EVRD}
|
||||
|
||||
%description -n %{devname}
|
||||
A library and indicator to take menus from applications and place them in the panel,
|
||||
development files, GTK+3 version
|
||||
|
||||
%files -n %{devname}
|
||||
%{_libdir}/libayatana-appindicator.so
|
||||
%{_libdir}/pkgconfig/ayatana-appindicator-%{api}.pc
|
||||
%{_includedir}/libayatana-appindicator-%{api}
|
||||
%{_datadir}/gir-1.0/AyatanaAppIndicator-%{api}.gir
|
||||
%{_datadir}/vala/vapi/ayatana-appindicator-%{api}.vapi
|
||||
%{_datadir}/vala/vapi/ayatana-appindicator-%{api}.deps
|
||||
%{_datadir}/gtk-doc/html/libayatana-appindicator
|
||||
|
||||
#------------------------------------------------------------------
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
grep -Irl 'ayatana-indicator-0.4' | xargs sed -i'' -e 's,ayatana-indicator-0.4,ayatana-indicator3-0.4,g'
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure --enable-gtk-doc
|
||||
%make
|
||||
|
||||
%install
|
||||
%makeinstall_std
|
Loading…
Add table
Reference in a new issue