]>
Commit | Line | Data |
---|---|---|
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 | |
4 | Version: 0.9.3 | |
5 | Release: 1 | |
6 | License: LGPL v2.1 or LGPL v3 | |
7 | Group: Libraries | |
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: 596a1f9a13d5a903bc46d26175bbe6b0 | |
11 | Patch0: build-type.patch | |
12 | URL: https://github.com/AyatanaIndicators/ayatana-ido | |
13 | BuildRequires: cmake >= 3.13 | |
14 | BuildRequires: glib2-devel >= 1:2.58 | |
15 | BuildRequires: gobject-introspection-devel >= 0.6.7 | |
16 | BuildRequires: gtk+3-devel >= 3.24 | |
17 | BuildRequires: gtk-doc >= 1.8 | |
18 | BuildRequires: pkgconfig | |
19 | BuildRequires: rpm-build >= 4.6 | |
20 | BuildRequires: rpmbuild(macros) >= 1.605 | |
21 | BuildRequires: sed >= 4.0 | |
22 | BuildRequires: vala | |
23 | Requires: glib2 >= 1:2.58 | |
24 | Requires: gtk+3 >= 3.24 | |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
28 | Shared functions for Ayatana Indicator Display Objects. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Funkcje współdzielone dla obiektów wyświetlania wskaźników Ayatana. | |
32 | ||
33 | %package devel | |
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 | |
40 | ||
41 | %description devel | |
42 | This package contains the header files for developing applications | |
43 | that use ayatana-ido library. | |
44 | ||
45 | %description devel -l pl.UTF-8 | |
46 | Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji | |
47 | wykorzystujących bibliotekę ayatana-ido. | |
48 | ||
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 | |
56 | ||
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 | |
65 | %patch0 -p1 | |
66 | ||
67 | %build | |
68 | %cmake -B build \ | |
69 | -DENABLE_TESTS:BOOL=OFF | |
70 | ||
71 | %{__make} -C build | |
72 | ||
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %{__make} -C build install \ | |
77 | DESTDIR=$RPM_BUILD_ROOT | |
78 | ||
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 | |
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 | |
91 | ||
92 | %files devel | |
93 | %defattr(644,root,root,755) | |
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) | |
101 | %{_datadir}/vala/vapi/libayatana-ido3-0.4.vapi |