1 Summary: Shared functions for Ayatana Indicator Display Objects
2 Summary(pl.UTF-8): Funkcje współdzielone dla obiektów wyświetlania wskaźników Ayatana
6 License: LGPL v2.1 or LGPL v3
8 #Source0Download: https://github.com/AyatanaIndicators/ayatana-ido/releases
9 Source0: https://github.com/AyatanaIndicators/ayatana-ido/archive/%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5: 4c97445871517e78657d78bdb7119d00
11 Patch0: build-type.patch
12 Patch1: link-math.patch
13 URL: https://github.com/AyatanaIndicators/ayatana-ido
14 BuildRequires: cmake >= 3.13
15 BuildRequires: glib2-devel >= 1:2.58
16 BuildRequires: gobject-introspection-devel >= 0.6.7
17 BuildRequires: gtk+3-devel >= 3.24
18 BuildRequires: gtk-doc >= 1.8
19 BuildRequires: pkgconfig
20 BuildRequires: rpmbuild(macros) >= 1.605
21 BuildRequires: sed >= 4.0
23 Requires: glib2 >= 1:2.58
24 Requires: gtk+3 >= 3.24
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Shared functions for Ayatana Indicator Display Objects.
30 %description -l pl.UTF-8
31 Funkcje współdzielone dla obiektów wyświetlania wskaźników Ayatana.
34 Summary: Development files for ayatana-ido library
35 Summary(pl.UTF-8): Pliki programistyczne biblioteki ayatana-ido
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
38 Requires: glib2-devel >= 1:2.58
39 Requires: gtk+3-devel >= 3.24
42 This package contains the header files for developing applications
43 that use ayatana-ido library.
45 %description devel -l pl.UTF-8
46 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
47 wykorzystujących bibliotekę ayatana-ido.
49 %package -n vala-ayatana-ido
50 Summary: Vala API for ayatana-ido library
51 Summary(pl.UTF-8): API języka Vala do biblioteki ayatana-ido
52 Group: Development/Libraries
53 Requires: %{name}-devel = %{version}-%{release}
54 Requires: vala >= 2:0.14.0
57 %description -n vala-ayatana-ido
58 Vala API for ayatana-ido library.
60 %description -n vala-ayatana-ido -l pl.UTF-8
61 API języka Vala do biblioteki ayatana-ido.
73 rm -rf $RPM_BUILD_ROOT
75 %{__make} -C build install \
76 DESTDIR=$RPM_BUILD_ROOT
79 rm -rf $RPM_BUILD_ROOT
81 %post -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
85 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/libayatana-ido3-0.4.so.*.*.*
88 %attr(755,root,root) %ghost %{_libdir}/libayatana-ido3-0.4.so.0
89 %{_libdir}/girepository-1.0/AyatanaIdo3-0.4.typelib
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/libayatana-ido3-0.4.so
94 %{_includedir}/libayatana-ido3-0.4
95 %{_datadir}/gir-1.0/AyatanaIdo3-0.4.gir
96 %{_pkgconfigdir}/libayatana-ido3-0.4.pc
98 %files -n vala-ayatana-ido
99 %defattr(644,root,root,755)
100 %{_datadir}/vala/vapi/AyatanaIdo3-0.4.vapi