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 | License: LGPLv3 |
---|
6 | Group: System Environment/Libraries |
---|
7 | URL: https://launchpad.net/libappindicator |
---|
8 | Source0: %{name}-%{version}.tar.gz |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
10 | |
---|
11 | Vendor: Project Vine |
---|
12 | Distribution: Vine Linux |
---|
13 | Packager: iwaim |
---|
14 | |
---|
15 | BuildRequires: gtk3-devel >= 2.91 |
---|
16 | BuildRequires: glib2-devel >= 2.26 |
---|
17 | BuildRequires: libindicator-devel >= 0.4.93 |
---|
18 | BuildRequires: libdbusmenu-gtk-devel >= 0.5.90 |
---|
19 | BuildRequires: python-devel |
---|
20 | BuildRequires: pygtk2-devel >= 2.14.0 |
---|
21 | BuildRequires: pygobject-devel |
---|
22 | |
---|
23 | %description |
---|
24 | A library to allow applications to export a menu into the Unity Menu bar. |
---|
25 | Based on KSNI it also works in KDE and will fallback to generic Systray |
---|
26 | support if none of those are available. |
---|
27 | |
---|
28 | %package devel |
---|
29 | Summary: Header files and libraries for developing apps which will use %{name} |
---|
30 | Group: Development/Libraries |
---|
31 | Requires: %{name} = %{version}-%{release} |
---|
32 | |
---|
33 | %description devel |
---|
34 | The %{name}-devel package contains the header files and libraries. |
---|
35 | |
---|
36 | %prep |
---|
37 | %setup -q |
---|
38 | |
---|
39 | %build |
---|
40 | export CFLAGS="%{optflags} $CFLAGS -Wno-deprecated-declarations" |
---|
41 | %configure --with-gtk=3 |
---|
42 | make |
---|
43 | |
---|
44 | %install |
---|
45 | rm -rf $RPM_BUILD_ROOT |
---|
46 | %makeinstall |
---|
47 | |
---|
48 | %__rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}3.{a,la} |
---|
49 | |
---|
50 | %clean |
---|
51 | rm -rf $RPM_BUILD_ROOT |
---|
52 | |
---|
53 | |
---|
54 | %files |
---|
55 | %defattr(-,root,root,-) |
---|
56 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
57 | %{_libdir}/girepository-1.0/AppIndicator3-0.1.typelib |
---|
58 | %{_libdir}/%{name}3.so.* |
---|
59 | %{_datadir}/gir-1.0/AppIndicator3-0.1.gir |
---|
60 | %{_datadir}/gtk-doc/html/%{name} |
---|
61 | |
---|
62 | %files devel |
---|
63 | %defattr(-,root,root,-) |
---|
64 | %{_includedir}/%{name}3-0.1 |
---|
65 | %{_libdir}/%{name}3.so |
---|
66 | %{_libdir}/pkgconfig/appindicator3-0.1.pc |
---|
67 | |
---|
68 | %changelog |
---|
69 | * Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 12.10.0-1 |
---|
70 | - Initial build. |
---|
71 | |
---|