dee/dee.spec

99 lines
2.9 KiB
RPMSpec
Raw Normal View History

Name: dee
Version: 1.2.7
Release: 1mamba
Summary: A library that uses DBus to provide objects allowing you to create Model-View-Controller type programs
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://launchpad.net/dee
Source: https://launchpad.net/dee/1.0/%{version}/+download/dee-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 dee' to get the list of build requirements.
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Libdee is a library that uses DBus to provide objects allowing you to create Model-View-Controller type programs across DBus. It also consists of utility objects which extend DBus allowing for peer-to-peer discoverability of known objects without needing a central registrar.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
## note: you can add this requirement if .pc files are provided by this package
#Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{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
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/dee-tool
%doc AUTHORS COPYING
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libdee-1.0.so.*
%{_libdir}/girepository-1.0/Dee-1.0.typelib
%{python_sitearch}/gi/overrides/Dee.py*
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/dee-1.0
%{_includedir}/dee-1.0/*
%{_libdir}/libdee-1.0.la
%{_libdir}/libdee-1.0.so
%{_libdir}/pkgconfig/dee-1.0.pc
%{_libdir}/pkgconfig/dee-icu-1.0.pc
%{_datadir}/gir-1.0/Dee-1.0.gir
%{_datadir}/vala/vapi/dee-1.0.deps
%{_datadir}/vala/vapi/dee-1.0.vapi
%doc ChangeLog README TODO
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/dee-1.0
%{_datadir}/gtk-doc/html/dee-1.0/*
%changelog
* Tue Mar 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.7-1mamba
- package created using the webbuild interface