]>
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 | |
0e4b0dd6 | 4 | Version: 0.9.3 |
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 | |
0e4b0dd6 | 10 | # Source0-md5: 596a1f9a13d5a903bc46d26175bbe6b0 |
fe921c98 | 11 | Patch0: build-type.patch |
48196a16 | 12 | URL: https://github.com/AyatanaIndicators/ayatana-ido |
fe921c98 JP |
13 | BuildRequires: cmake >= 3.13 |
14 | BuildRequires: glib2-devel >= 1:2.58 | |
48196a16 | 15 | BuildRequires: gobject-introspection-devel >= 0.6.7 |
fe921c98 | 16 | BuildRequires: gtk+3-devel >= 3.24 |
529c5961 | 17 | BuildRequires: gtk-doc >= 1.8 |
529c5961 | 18 | BuildRequires: pkgconfig |
a97e6002 | 19 | BuildRequires: rpm-build >= 4.6 |
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 | 65 | %patch0 -p1 |
529c5961 JB |
66 | |
67 | %build | |
0e4b0dd6 JP |
68 | %cmake -B build \ |
69 | -DENABLE_TESTS:BOOL=OFF | |
70 | ||
fe921c98 | 71 | %{__make} -C build |
529c5961 JB |
72 | |
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
fe921c98 | 76 | %{__make} -C build install \ |
529c5961 JB |
77 | DESTDIR=$RPM_BUILD_ROOT |
78 | ||
529c5961 JB |
79 | %clean |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %post -p /sbin/ldconfig | |
83 | %postun -p /sbin/ldconfig | |
84 | ||
85 | %files | |
86 | %defattr(644,root,root,755) | |
87 | %doc AUTHORS NEWS | |
48196a16 JP |
88 | %attr(755,root,root) %{_libdir}/libayatana-ido3-0.4.so.*.*.* |
89 | %attr(755,root,root) %ghost %{_libdir}/libayatana-ido3-0.4.so.0 | |
90 | %{_libdir}/girepository-1.0/AyatanaIdo3-0.4.typelib | |
529c5961 JB |
91 | |
92 | %files devel | |
93 | %defattr(644,root,root,755) | |
48196a16 JP |
94 | %attr(755,root,root) %{_libdir}/libayatana-ido3-0.4.so |
95 | %{_includedir}/libayatana-ido3-0.4 | |
96 | %{_datadir}/gir-1.0/AyatanaIdo3-0.4.gir | |
97 | %{_pkgconfigdir}/libayatana-ido3-0.4.pc | |
98 | ||
99 | %files -n vala-ayatana-ido | |
100 | %defattr(644,root,root,755) | |
719710db | 101 | %{_datadir}/vala/vapi/libayatana-ido3-0.4.vapi |