From d48fed73fca98d439dea479197d793b6af4d1b5a Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Jun 21 2010 04:25:23 +0000 Subject: Initial import (#577152) --- diff --git a/.cvsignore b/.cvsignore index e69de29..cbfb407 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +apiextractor-0.6.0.tar.bz2 diff --git a/apiextractor.spec b/apiextractor.spec new file mode 100644 index 0000000..ad6176f --- /dev/null +++ b/apiextractor.spec @@ -0,0 +1,102 @@ +Name: apiextractor +Version: 0.6.0 +Release: 4%{?dist} +Summary: Library headers parser to extract API information + +Group: System Environment/Libraries +License: GPLv2 +URL: http://www.pyside.org +Source0: http://www.pyside.org/files/apiextractor-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: cmake +BuildRequires: libxml2-devel +BuildRequires: libxslt-devel +BuildRequires: python-sphinx +BuildRequires: qt4-devel + +%description +The API Extractor library is used by the binding generator to parse headers of +a given library and merge this data with information provided by type system +(XML) files, resulting in a representation of how the API should be exported +to the chosen target language. The generation of source code for the bindings +is performed by specific generators using the API Extractor library. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: cmake + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +mkdir -p %{_target_platform} +pushd %{_target_platform} +%{cmake} .. +popd + +make %{?_smp_mflags} -C %{_target_platform} + +# Build html docs +make -C doc html +rm -f doc/_build/html/_static/images/._* +rm -f doc/_build/html/.buildinfo + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} + + +%check +make test -C %{_target_platform} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING +%{_libdir}/libapiextractor.so.* + +%files devel +%defattr(-,root,root,-) +%doc doc/_build/html/ +%{_includedir}/apiextractor/ +%{_libdir}/libapiextractor.so +%{_libdir}/pkgconfig/apiextractor.pc +%{_libdir}/cmake/ApiExtractor-%{version}/ + + +%changelog +* Mon Jun 21 2010 Kalev Lember - 0.6.0-4 +- Use System Environment/Libraries for main package + +* Sun Jun 20 2010 Kalev Lember - 0.6.0-3 +- Removed .buildinfo file from documentation directory + +* Sun Jun 20 2010 Kalev Lember - 0.6.0-2 +- Build html documentation and ship it in -devel subpackage +- typo fix in description + +* Wed Jun 16 2010 Kalev Lember - 0.6.0-1 +- Update to 0.6.0 + +* Fri Mar 26 2010 Kalev Lember - 0.4.0-1 +- Initial RPM release diff --git a/import.log b/import.log new file mode 100644 index 0000000..ca73451 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +apiextractor-0_6_0-4_fc14:F-13:apiextractor-0.6.0-4.fc14.src.rpm:1277094302 diff --git a/sources b/sources index e69de29..f086111 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7bbd0df7c826eb7d158daaba1be5f55a apiextractor-0.6.0.tar.bz2