135 lines
3.7 KiB
RPMSpec
135 lines
3.7 KiB
RPMSpec
Name: libappindicator
|
|
Version: 12.10.0
|
|
Release: 1mamba
|
|
Summary: Allow applications to export a menu into the Unity Menu bar
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://launchpad.net/libappindicator
|
|
Source: https://launchpad.net/libappindicator/12.10/%{version}/+download/libappindicator-%{version}.tar.gz
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: gtk-sharp2-devel
|
|
BuildRequires: libatk-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libdbusmenu-devel
|
|
BuildRequires: libdbusmenu-gtk-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgtk2-devel
|
|
BuildRequires: libindicator-devel
|
|
BuildRequires: libpango-devel
|
|
BuildRequires: libpython-devel
|
|
BuildRequires: mono-core
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Allow applications to export a menu into the Unity Menu bar.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: %{name}-mono = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: %{name}-python = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%package mono
|
|
Group: System/Libraries
|
|
Summary: Mono binings for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description mono
|
|
This package contains the Mono bindings for %{name}.
|
|
|
|
%package python
|
|
Group: System/Libraries
|
|
Summary: Python binings for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description python
|
|
This package contains the Python bindings for %{name}.
|
|
|
|
%package apidocs
|
|
Group: Documentation
|
|
Summary: %{name} API documentation
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: gtk-doc
|
|
|
|
%description apidocs
|
|
This package includes the %{name} API documentation.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure \
|
|
--enable-gtk-doc \
|
|
--disable-introspection \
|
|
--with-gtk=2 \
|
|
--disable-mono-test \
|
|
--disable-gtk-doc-html \
|
|
--disable-static \
|
|
--disable-tests \
|
|
CFLAGS="-Wno-deprecated-declarations"
|
|
|
|
%make CSC=mcs
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libappindicator.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files mono
|
|
%defattr(-,root,root)
|
|
%{_prefix}/lib/mono/*
|
|
%dir %{_libdir}/cli/appindicator-sharp-0.1
|
|
%{_libdir}/cli/appindicator-sharp-0.1/*
|
|
|
|
%files python
|
|
%defattr(-,root,root)
|
|
%dir %{python27_sitearch}/appindicator
|
|
%{python27_sitearch}/appindicator/__init__.py*
|
|
%{python27_sitearch}/appindicator/_appindicator.*
|
|
%{_datadir}/pygtk/2.0/defs/appindicator.defs
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/libappindicator-0.1
|
|
%dir %{_includedir}/libappindicator-0.1/libappindicator
|
|
%{_includedir}/libappindicator-0.1/libappindicator/*
|
|
%{_libdir}/libappindicator.la
|
|
%{_libdir}/libappindicator.so
|
|
%{_libdir}/pkgconfig/appindicator-sharp-0.1.pc
|
|
%{_libdir}/pkgconfig/appindicator-0.1.pc
|
|
%doc ChangeLog README
|
|
|
|
%files apidocs
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/gtk-doc/html/libappindicator
|
|
%{_datadir}/gtk-doc/html/libappindicator/*
|
|
|
|
%changelog
|
|
* Tue Mar 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 12.10.0-1mamba
|
|
- package created using the webbuild interface
|