libapiextractor/libapiextractor.spec
2024-01-06 03:47:00 +01:00

116 lines
3.6 KiB
RPMSpec

Name: libapiextractor
Version: 0.10.10
Release: 1mamba
Summary: A library to parse header and typesystem files and create a representation of the API
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://www.pyside.org/docs/pyside/howto-build/setup-apiextractor.html
Source: http://www.pyside.org/files/apiextractor-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The API Extractor library is used by the bindings generator to parse the header and typesystem files to create an internal representation of the API.
It is based on the QtScriptGenerator codebase.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
The API Extractor library is used by the bindings generator to parse the header and typesystem files to create an internal representation of the API.
It is based on the QtScriptGenerator codebase.
This package contains static libraries and header files need for development.
%prep
%setup -q -n apiextractor-%{version}
%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}/*.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_includedir}/apiextractor
%{_libdir}/cmake/ApiExtractor-%{version}
%{_libdir}/pkgconfig/apiextractor.pc
%doc ChangeLog
%changelog
* Mon Jan 09 2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.10.10-1mamba
- update to 0.10.10
* Wed Nov 23 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.10.8-1mamba
- update to 0.10.8
* Tue Oct 04 2011 Automatic Build System <autodist@mambasoft.it> 0.10.7-1mamba
- automatic version update by autodist
* Tue Aug 23 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.10.6-1mamba
- update to 0.10.6
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 0.10.5-1mamba
- automatic version update by autodist
* Fri Jun 24 2011 Automatic Build System <autodist@mambasoft.it> 0.10.4-1mamba
- automatic update by autodist
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 0.10.3-1mamba
- automatic update by autodist
* Sun May 01 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.10.2-1mamba
- update to 0.10.2
* Sat Mar 12 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.10.0-1mamba
- update to 0.10.0
* Thu Feb 24 2011 Automatic Build System <autodist@mambasoft.it> 0.9.4-1mamba
- automatic update by autodist
* Tue Feb 01 2011 Automatic Build System <autodist@mambasoft.it> 0.9.3-1mamba
- automatic update by autodist
* Sun Nov 07 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.8.1-2mamba
- rebuilt with libqt 4.7.0
* Mon Oct 25 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.8.1-1mamba
- update to 0.8.1
* Mon Sep 27 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.8.0-1mamba
- update to 0.8.0
* Wed Aug 25 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.7.0-1mamba
- update to 0.7.0
* Fri May 21 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.5.1-1mamba
- package created by autospec