packages libunity.spec
      Pages: < 1 >  DOWNLOAD      
Name:          libunity
Version:       7.1.4_16.10.20160516
Release:       1mamba
Summary:       A library for instrumenting and integrating with all aspects of the Unity shell
Group:         System/Libraries
Vendor:        openmamba
Distribution:  openmamba
Packager:      Silvan Calarco <silvan.calarco@...>
URL:           https://launchpad.net/libunity
Source:        https://launchpad.net/ubuntu/+archive/primary/+files/libunity_7.1.4+16.10.20160516.orig.tar.gz
License:       LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libblkid-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libdbusmenu-devel
BuildRequires: libdee-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libicu-devel
BuildRequires: libmount-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: libpython-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libthai-devel
BuildRequires: libuuid-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

%description
LibUnity is a library for instrumenting and integrating with all aspects of the Unity shell.

%package devel
Group:         Development/Libraries
Summary:       Development files for %{name}
Requires:      %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires:      %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
Requires:      pkg-config

%description devel
This package contains libraries and header files for developing applications that use %{name}.

%package tools
Group:         Applications/Development
Summary:       Utility applications for %{name}
Requires:      %{name} = %{?epoch:%epoch:}%{version}-%{release}

%description tools
This package contains utility applications for %{name}.

%debug_package

%prep
%setup -q -c %{name}-%{version}

%build
./autogen.sh
%configure
%make

%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall

%find_lang %{name} || touch %{name}.lang

%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files -f %{name}.lang
%defattr(-,root,root)
%{_libdir}/libunity.so.*
%{_libdir}/libunity-extras.so.*
%{_libdir}/libunity/libunity-protocol-private.so.*
%{_libdir}/girepository-1.0/Unity-7.0.typelib
%{_libdir}/girepository-1.0/UnityExtras-7.0.typelib
%{python27_sitearch}/gi/overrides/Unity.py
%{python27_sitearch}/gi/overrides/Unity.pyc
%{python27_sitearch}/gi/overrides/Unity.pyo
%doc AUTHORS COPYING

%files devel
%defattr(-,root,root)
%dir %{_includedir}/unity/unity
%{_includedir}/unity/unity/*.h
%{_libdir}/libunity-extras.a
%{_libdir}/libunity-extras.la
%{_libdir}/libunity-extras.so
%{_libdir}/libunity.a
%{_libdir}/libunity.la
%{_libdir}/libunity.so
%{_libdir}/libunity/libunity-protocol-private.a
%{_libdir}/libunity/libunity-protocol-private.la
%{_libdir}/libunity/libunity-protocol-private.so
%{_libdir}/pkgconfig/unity-extras.pc
%{_libdir}/pkgconfig/unity-protocol-private.pc
%{_libdir}/pkgconfig/unity.pc
%{_datadir}/gir-1.0/Unity-7.0.gir
%{_datadir}/gir-1.0/UnityExtras-7.0.gir
%{_datadir}/vala/vapi/unity*
%doc NEWS README

%files tools
%defattr(-,root,root)
%{_bindir}/libunity-tool
%{_bindir}/unity-scope-loader
%{_datadir}/glib-2.0/schemas/com.canonical.Unity.Lenses.gschema.xml
%dir %{_datadir}/unity-scopes
%{_datadir}/unity-scopes/*
%dir %{_datadir}/unity
%{_datadir}/unity/*

%changelog
* Mon Oct 30 2017 Silvan Calarco <silvan.calarco@...> 7.1.4_16.10.20160516-1mamba
- package created using the webbuild interface