mirror of
https://abf.rosa.ru/djam/ayatana-ido.git
synced 2025-02-23 15:52:55 +00:00
88 lines
2.3 KiB
RPMSpec
88 lines
2.3 KiB
RPMSpec
|
|
# https://github.com/AyatanaIndicators/ayatana-ido/issues/39
|
|
%global ldflags %{ldflags} %(pkg-config --libs gtk+-3.0 || :) -lm
|
|
|
|
%define major 0
|
|
%define api 0.4
|
|
%define libname %mklibname libayatana-ido3-%{api} %{major}
|
|
%define devname %mklibname libayatana-ido3-%{api} -d
|
|
%define girname %mklibname ayatanaido3-gir %{api}
|
|
|
|
# XXX debugsourcefiles.list is empty, maybe cmake is misconfigured
|
|
%define debug_package %{nil}
|
|
%global debugcflags %{nil}
|
|
|
|
Summary: Ayatana Indicator Display Objects
|
|
Name: ayatana-ido
|
|
Version: 0.10.4
|
|
Release: 1
|
|
License: LGPLv3
|
|
Group: Graphical desktop/Other
|
|
URL: https://github.com/AyatanaIndicators/ayatana-ido
|
|
Source0: %{url}/archive/%{version}.tar.gz?/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: cmake
|
|
BuildRequires: intltool
|
|
BuildRequires: gtk-doc
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: vala-devel
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
%description
|
|
%{summary}
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
%package -n %{libname}
|
|
Summary: Ayatana Indicator Display Objects library, API %{api}
|
|
Group: System/Libraries
|
|
|
|
%description -n %{libname}
|
|
Ayatana Indicator Display Objects library, API %{api}
|
|
|
|
%files -n %{libname}
|
|
%{_libdir}/libayatana-ido3-%{api}.so.%{major}*
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
%package -n %{girname}
|
|
Summary: Ayatana Indicator Display Objects gir
|
|
Group: System/Libraries
|
|
|
|
%description -n %{girname}
|
|
Ayatana Indicator Display Objects gir
|
|
|
|
%files -n %{girname}
|
|
%{_libdir}/girepository-1.0/AyatanaIdo3-%{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}
|
|
Ayatana Indicator Display Objects library development files
|
|
|
|
%files -n %{devname}
|
|
%{_libdir}/libayatana-ido3-%{api}.so
|
|
%{_libdir}/pkgconfig/libayatana-ido3-%{api}.pc
|
|
%{_includedir}/libayatana-ido3-%{api}
|
|
%{_datadir}/gir-1.0/AyatanaIdo3-%{api}.gir
|
|
%{_datadir}/vala/vapi/libayatana-ido3-0.4.vapi
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake
|
|
%make
|
|
|
|
%install
|
|
%makeinstall_std -C build
|