summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/attachments/20120410/ee08a894/attachment-0002.obj
blob: 6c7e42f04189259c1036b5afbe7ea2680056cf29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
%define bzr 1

%define major 1
%define libname %mklibname appindicator %{major}
%define libdevel %mklibname appindicator -d

Name:           libappindicator
Summary:        A set of symbols and convience functions for indicators
Group:          System/Libraries
Version:        0.4.92
Release:        %mkrel 1
License:        GPL-3.0
URL:            http://launchpad.net/libappindicator
Source0:        http://launchpad.net/libappindicator/0.5/0.4.92/+download/%{name}%{!?bzr:-%{version}}.tar.%{!?bzr:gz}%{?bzr:xz}
# PATCH-FIX-OPENSUSE - libappindicator-mono-nunit-fix.patch nmarques@opensuse.org 
#-- use mono-nunit for pkgconfig() calls instead of nunit
Patch0:		libappindicator-mono-nunit-fix.patch
Patch1:		libappindicator-0.4.92-configure.patch
BuildRequires:  gnome-common
BuildRequires:  intltool
BuildRequires:  perl-XML-SAX
BuildRequires:  vala-devel
BuildRequires:  pkgconfig(dbusmenu-gtk3-0.4)
BuildRequires:  pkgconfig(gapi-2.0)
BuildRequires:  pkgconfig(gobject-introspection-1.0)
BuildRequires:  pkgconfig(gnome-doc-utils)
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(gtk-sharp-2.0)
BuildRequires:  pkgconfig(indicate-0.6)
BuildRequires:  pkgconfig(indicator3-0.4)
BuildRequires:  pkgconfig(libpng15)
BuildRequires:  pkgconfig(mono)
BuildRequires:  pkgconfig(mono-nunit)
BuildRequires:  pkgconfig(pygobject-2.0)
BuildRequires:  pkgconfig(pygtk-2.0)

%description
A library to allow applications to export a menu into the Unity Menu bar.
Based on KSNI it also works in KDE and will fallback to generic Systray
support if none of those are available.

#--------------------------------------------------------------------
%package -n %{libname}
Summary:        libappindicator library
Group:          System/Libraries

%description -n %{libname}
Library for libappindicator.

%files -n %{libname}
%{_libdir}/libappindicator.so.%{major}*
%{_libdir}/girepository-1.0/*.typelib
%{_libdir}/cli/appindicator-sharp-0.1/
%{py_platlibdir}/site-packages/appindicator/

#--------------------------------------------------------------------
%package -n %{name}-sharp
Summary:        libappindicator tool
Group:          System/Libraries

%description -n %{name}-sharp
Tool to load libappindicator plugins.

%files -n %{name}-sharp
%{_prefix}/lib/mono/appindicator-sharp/
%{_prefix}/lib/mono/gac/appindicator-sharp/
%{_prefix}/lib/mono/gac/policy.0.0.appindicator-sharp/

#--------------------------------------------------------------------
%package -n %{libdevel}
Summary:        libappindicator development files
Group:          Development/GNOME and GTK+
Requires:	%{libname} >= %{version}

%description -n %{libdevel}
Development files needed by libappindicator.

%files -n %{libdevel}
%{_includedir}/libappindicator-0.1/
%{_libdir}/libappindicator.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/
%{_datadir}/pygtk/2.0/defs/appindicator.defs
%{_datadir}/vala/vapi/

#--------------------------------------------------------------------
%prep
%setup -q%{?bzr:n %{name}}
%apply_patches

%build
NOCONFIGURE=1 autoreconf -fi
%configure2_5x \
  --disable-static
%make

%install
%makeinstall_std

# Clean .la files
find %{buildroot}%{_libdir} -name '*.la' -delete -print


%changelog
* Sun Mar 18 2012 Simple <simplew8@gmail.com> 0.4.93-1
- first package