libkolabxml/libkolabxml.spec

94 lines
2.8 KiB
RPMSpec

Name: libkolabxml
Version: 1.1.0
Release: 1mamba
Summary: The reference implementation of the Kolab XML Format
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://git.kolab.org
Source: http://git.kolab.org/libkolabxml/snapshot/libkolabxml-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libboost-devel
BuildRequires: libcurl-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libxerces-c-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: xsd-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Libkolabxml is the reference implementation of the Kolab XML Format as defined in http://wiki.kolab.org/User:Mollekop
f/Drafts/KEP:17.
It provides serialization/deserialization from/to in-memory representations for all Kolab Objects, including input va
lidation.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%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}/libkolabxml.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/kolabxml
%{_includedir}/kolabxml/*.h
%{_libdir}/cmake/Libkolabxml/LibkolabxmlConfig.cmake
%{_libdir}/cmake/Libkolabxml/LibkolabxmlConfigVersion.cmake
%{_libdir}/cmake/Libkolabxml/LibkolabxmlTargets-noconfig.cmake
%{_libdir}/cmake/Libkolabxml/LibkolabxmlTargets.cmake
%{_libdir}/libkolabxml.so
%doc README README-Mac.txt
%changelog
* Sat Jan 24 2015 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
- automatic version update by autodist
* Thu Sep 18 2014 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
- automatic version update by autodist
* Tue Mar 18 2014 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- automatic version update by autodist
* Fri Apr 12 2013 Automatic Build System <autodist@mambasoft.it> 0.8.4-1mamba
- automatic version update by autodist
* Sat Mar 30 2013 Automatic Build System <autodist@mambasoft.it> 0.8.3-1mamba
- automatic version update by autodist
* Mon Dec 31 2012 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
- automatic version update by autodist
* Thu Aug 09 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.0-1mamba
- package created by autospec