libdbusmenu-qt/libdbusmenu-qt.spec

92 lines
2.5 KiB
RPMSpec

Name: libdbusmenu-qt
Version: 0.9.2
Release: 2mamba
Summary: A Qt implementation of the DBusMenu protocol
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: https://launchpad.net/libdbusmenu-qt
Source: http://launchpad.net/libdbusmenu-qt/trunk/%{version}/+download/libdbusmenu-qt-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
%description
This library provides a Qt implementation of the DBusMenu protocol.
The DBusMenu protocol makes it possible for applications to export and import their menus over DBus.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This library provides a Qt implementation of the DBusMenu protocol.
The DBusMenu protocol makes it possible for applications to export and import their menus over DBus.
This package contains static libraries and header files need for development.
%package apidocs
Group: Documentation
Summary: %{name} API documentation
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description apidocs
This package includes the %{name} API documentation.
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libdbusmenu-qt.so.*
%doc COPYING NEWS README
%files devel
%defattr(-,root,root)
%dir %{_includedir}/dbusmenu-qt
%{_includedir}/dbusmenu-qt/*.h
%{_libdir}/libdbusmenu-qt.so
%{_libdir}/pkgconfig/dbusmenu-qt.pc
%files apidocs
%defattr(-,root,root)
%dir %{_docdir}/dbusmenu-qt
%{_docdir}/dbusmenu-qt/*
%changelog
* Wed Nov 22 2023 Automatic Build System <autodist@mambasoft.it> 0.9.2-2mamba
- automatic rebuild by autodist
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 0.9.2-1mamba
- automatic version update by autodist
* Wed Nov 30 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-1mamba
- update to 0.9.0
* Sat Jan 29 2011 Davide Madrisan <davide.madrisan@gmail.com> 0.7.0-1mamba
- update to 0.7.0
* Wed Aug 11 2010 Davide Madrisan <davide.madrisan@gmail.com> 0.3.3-1mamba
- package created by autospec