]>
Commit | Line | Data |
---|---|---|
48196a16 JP |
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 | |
3 | Name: ayatana-ido | |
735b58da | 4 | Version: 0.9.1 |
529c5961 JB |
5 | Release: 1 |
6 | License: LGPL v2.1 or LGPL v3 | |
7 | Group: Libraries | |
48196a16 JP |
8 | #Source0Download: https://github.com/AyatanaIndicators/ayatana-ido/releases |
9 | Source0: https://github.com/AyatanaIndicators/ayatana-ido/archive/%{version}/%{name}-%{version}.tar.gz | |
735b58da | 10 | # Source0-md5: 4c97445871517e78657d78bdb7119d00 |
fe921c98 JP |
11 | Patch0: build-type.patch |
12 | Patch1: link-math.patch | |
48196a16 | 13 | URL: https://github.com/AyatanaIndicators/ayatana-ido |
fe921c98 JP |
14 | BuildRequires: cmake >= 3.13 |
15 | BuildRequires: glib2-devel >= 1:2.58 | |
48196a16 | 16 | BuildRequires: gobject-introspection-devel >= 0.6.7 |
fe921c98 | 17 | BuildRequires: gtk+3-devel >= 3.24 |
529c5961 | 18 | BuildRequires: gtk-doc >= 1.8 |
529c5961 | 19 | BuildRequires: pkgconfig |
fe921c98 | 20 | BuildRequires: rpmbuild(macros) >= 1.605 |
529c5961 | 21 | BuildRequires: sed >= 4.0 |
48196a16 | 22 | BuildRequires: vala |
fe921c98 JP |
23 | Requires: glib2 >= 1:2.58 |
24 | Requires: gtk+3 >= 3.24 | |
529c5961 JB |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
48196a16 | 28 | Shared functions for Ayatana Indicator Display Objects. |
529c5961 JB |
29 | |
30 | %description -l pl.UTF-8 | |
48196a16 | 31 | Funkcje współdzielone dla obiektów wyświetlania wskaźników Ayatana. |
529c5961 JB |
32 | |
33 | %package devel | |
48196a16 JP |
34 | Summary: Development files for ayatana-ido library |
35 | Summary(pl.UTF-8): Pliki programistyczne biblioteki ayatana-ido | |
529c5961 JB |
36 | Group: Development/Libraries |
37 | Requires: %{name} = %{version}-%{release} | |
fe921c98 JP |
38 | Requires: glib2-devel >= 1:2.58 |
39 | Requires: gtk+3-devel >= 3.24 | |
529c5961 JB |
40 | |
41 | %description devel | |
42 | This package contains the header files for developing applications | |
48196a16 | 43 | that use ayatana-ido library. |
529c5961 JB |
44 | |
45 | %description devel -l pl.UTF-8 | |
46 | Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji | |
48196a16 | 47 | wykorzystujących bibliotekę ayatana-ido. |
529c5961 | 48 | |
48196a16 JP |
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 | |
55 | BuildArch: noarch | |
529c5961 | 56 | |
48196a16 JP |
57 | %description -n vala-ayatana-ido |
58 | Vala API for ayatana-ido library. | |
59 | ||
60 | %description -n vala-ayatana-ido -l pl.UTF-8 | |
61 | API języka Vala do biblioteki ayatana-ido. | |
62 | ||
63 | %prep | |
64 | %setup -q | |
fe921c98 JP |
65 | %patch0 -p1 |
66 | %patch1 -p1 | |
529c5961 JB |
67 | |
68 | %build | |
fe921c98 JP |
69 | %cmake -B build |
70 | %{__make} -C build | |
529c5961 JB |
71 | |
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
fe921c98 | 75 | %{__make} -C build install \ |
529c5961 JB |
76 | DESTDIR=$RPM_BUILD_ROOT |
77 | ||
529c5961 JB |
78 | %clean |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %post -p /sbin/ldconfig | |
82 | %postun -p /sbin/ldconfig | |
83 | ||
84 | %files | |
85 | %defattr(644,root,root,755) | |
86 | %doc AUTHORS NEWS | |
48196a16 JP |
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 | |
529c5961 JB |
90 | |
91 | %files devel | |
92 | %defattr(644,root,root,755) | |
48196a16 JP |
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 | |
97 | ||
98 | %files -n vala-ayatana-ido | |
99 | %defattr(644,root,root,755) | |
100 | %{_datadir}/vala/vapi/AyatanaIdo3-0.4.vapi |