packages libdesktop-agnostic.spec
      Pages: < 1 >  DOWNLOAD      
Name:          libdesktop-agnostic
Version:       0.3.92
Release:       1mamba
Summary:       Desktop agnostic library
Group:         System/Libraries
Vendor:        openmamba
Distribution:  openmamba
Packager:      Silvan Calarco <silvan.calarco@...>
URL:           https://launchpad.net/libdesktop-agnostic
Source:        http://launchpad.net/libdesktop-agnostic/0.4/%{version}/+download/libdesktop-agnostic-%{version}.tar.gz
License:       LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk2-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

%description
This library provides an extensible configuration API, a unified virtual file system API, and a desktop item editor (all with pluggable backends) for GLib-based projects. It is not tied to any one desktop environment, although there are desktop-specific modules.

%package devel
Group:         Development/Libraries
Summary:       Static libraries and headers for %{name}
Requires:      %{name} = %{?epoch:%epoch:}%{version}-%{release}

%description devel
This library provides an extensible configuration API, a unified virtual file system API, and a desktop item editor (all with pluggable backends) for GLib-based projects. It is not tied to any one desktop environment, although there are desktop-specific modules.

This package contains static libraries and header files need for development.

%prep
%setup -q

%build
./waf configure \
   --prefix=%{_prefix} \
   --sysconfdir=%{_sysconfdir} \
   --config-backends=gconf,keyfile,memory --vfs-backends=gio --desktop-entry-backends=gio,glib
./waf build

%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
./waf install --destdir=%{buildroot}

%find_lang %{name}

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

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

%files -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/libdesktop-agnostic/desktop-agnostic.ini
%{_bindir}/lda-desktop-entry-editor
%{_bindir}/lda-schema-to-gconf
%{_libdir}/libdesktop-agnostic*.so.*
%dir %{_libdir}/desktop-agnostic
%dir %{_libdir}/desktop-agnostic/modules
%{_libdir}/desktop-agnostic/modules/*.so
%dir %{python_sitearch}/desktopagnostic
%{python_sitearch}/desktopagnostic/*
%{_datadir}/pygtk/2.0/defs/desktopagnostic*.defs
%{_datadir}/vala/vapi/desktop-agnostic*
%doc COPYING

%files devel
%defattr(-,root,root)
%dir %{_includedir}/libdesktop-agnostic-1.0
%{_includedir}/libdesktop-agnostic-1.0/*
%{_libdir}/libdesktop-agnostic*.so
%{_libdir}/pkgconfig/desktop-agnostic.pc

%changelog
* Mon Jul 25 2011 Silvan Calarco <silvan.calarco@...> 0.3.92-1mamba
- package created by autospec