1 | Summary: allow applications to export a menu into the Unity Menu bar |
---|
2 | Name: libappindicator |
---|
3 | Version: 12.10.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | Vendor: Project Vine |
---|
6 | Distribution: Vine Linux |
---|
7 | Packager: iwaim |
---|
8 | |
---|
9 | License: LGPLv3 |
---|
10 | URL: https://launchpad.net/libappindicator |
---|
11 | Source0: %{name}-%{version}.tar.gz |
---|
12 | Patch0: 0001_Fix_mono_dir.patch |
---|
13 | # https://bazaar.launchpad.net/~indicator-applet-developers/libappindicator/trunk.16.10/revision/285 |
---|
14 | Patch1: incompatible_pointer_build_fix.patch |
---|
15 | Patch2: nopython.patch |
---|
16 | |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
18 | |
---|
19 | BuildRequires: gtk3-devel >= 2.91 |
---|
20 | BuildRequires: glib2-devel >= 2.26 |
---|
21 | BuildRequires: libindicator-devel >= 0.4.93 |
---|
22 | |
---|
23 | BuildRequires: autoconf |
---|
24 | BuildRequires: automake |
---|
25 | BuildRequires: gtk-doc |
---|
26 | BuildRequires: vala |
---|
27 | BuildRequires: dbus-glib-devel |
---|
28 | BuildRequires: libdbusmenu-devel |
---|
29 | BuildRequires: libdbusmenu-gtk-devel |
---|
30 | BuildRequires: gobject-introspection-devel |
---|
31 | BuildRequires: gtk3-devel |
---|
32 | BuildRequires: libindicator-devel |
---|
33 | BuildRequires: libindicator-gtk3-devel |
---|
34 | |
---|
35 | %description |
---|
36 | A library to allow applications to export a menu into the Unity Menu bar. |
---|
37 | Based on KSNI it also works in KDE and will fallback to generic Systray |
---|
38 | support if none of those are available. |
---|
39 | |
---|
40 | %package devel |
---|
41 | Summary: Header files and libraries for developing apps which will use %{name} |
---|
42 | Group: Development/Libraries |
---|
43 | Requires: %{name} = %{version}-%{release} |
---|
44 | |
---|
45 | %description devel |
---|
46 | The %{name}-devel package contains the header files and libraries. |
---|
47 | |
---|
48 | %prep |
---|
49 | %setup -q |
---|
50 | |
---|
51 | %build |
---|
52 | export CFLAGS="%{optflags} $CFLAGS -Wno-deprecated-declarations" |
---|
53 | %configure --with-gtk=3 |
---|
54 | make |
---|
55 | |
---|
56 | %install |
---|
57 | rm -rf $RPM_BUILD_ROOT |
---|
58 | %makeinstall |
---|
59 | |
---|
60 | %__rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}3.{a,la} |
---|
61 | |
---|
62 | %clean |
---|
63 | rm -rf $RPM_BUILD_ROOT |
---|
64 | |
---|
65 | |
---|
66 | %files |
---|
67 | %defattr(-,root,root,-) |
---|
68 | %license COPYING |
---|
69 | %doc AUTHORS ChangeLog NEWS README |
---|
70 | %{_libdir}/girepository-1.0/AppIndicator3-0.1.typelib |
---|
71 | %{_libdir}/%{name}3.so.* |
---|
72 | %{_datadir}/gir-1.0/AppIndicator3-0.1.gir |
---|
73 | %{_datadir}/gtk-doc/html/%{name} |
---|
74 | |
---|
75 | %files devel |
---|
76 | %defattr(-,root,root,-) |
---|
77 | %{_includedir}/%{name}3-0.1 |
---|
78 | %{_libdir}/%{name}3.so |
---|
79 | %{_libdir}/pkgconfig/appindicator3-0.1.pc |
---|
80 | |
---|
81 | %changelog |
---|
82 | * Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 12.10.0-1 |
---|
83 | - Initial build. |
---|
84 | |
---|