generatorrunner/generatorrunner.spec

121 lines
3.6 KiB
RPMSpec
Raw Permalink Normal View History

%define libname libgenrunner
Name: generatorrunner
Version: 0.6.16
Release: 1mamba
Summary: Plugin-based application to run apiextractor-based generators
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://www.pyside.org/docs/pyside/howto-build/setup-generator.html
Source: http://www.pyside.org/files/generatorrunner-%{version}.tar.bz2
License: GPL
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
BuildRequires: cmake
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libapiextractor-devel
BuildRequires: libgcc
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The Generator Runner (A.K.A. generatorrunner) is the program that controls the bindings generation process according to the rules given by the user through headers, typesystem files and generator front-ends (such as Shiboken Generator).
%package -n %{libname}
Summary: The Generator Runner library
Group: System/Libraries
%description -n %{libname}
The Generator Runner library.
%package -n %{libname}-devel
Summary: Static libraries and headers for %{libname}
Group: Development/Libraries
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
%description -n %{libname}-devel
The Generator Runner library.
This package contains static libraries and header files need for development.
%prep
%setup -q
find . -name generatorrunner.pc.in -exec sed -i "s,\(generator\)runner\(_VERSION\),\1\2," '{}' ';'
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/*
%{_libdir}/generatorrunner
%{_mandir}/man1/*.1.gz
%files -n %{libname}
%defattr(-,root,root)
%{_libdir}/libgenrunner.so.*
%doc AUTHORS COPYING
%files -n %{libname}-devel
%defattr(-,root,root)
%{_includedir}/generatorrunner
%{_libdir}/*.so
%{_libdir}/cmake/GeneratorRunner-*
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog
%changelog
* Mon Jan 09 2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.6.16-1mamba
- update to 0.6.16
* Wed Nov 23 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.6.14-1mamba
- update to 0.6.14
* Sun Oct 09 2011 Automatic Build System <autodist@mambasoft.it> 0.6.13-1mamba
- automatic version update by autodist
* Tue Aug 23 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.6.12-1mamba
- update to 0.6.12
* Fri Jul 01 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.6.11-1mamba
- update to 0.6.11
* Sun May 01 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.6.9-1mamba
- update to 0.6.9
* Sat Mar 12 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.6.7-1mamba
- update to 0.6.7
* Sun Jan 30 2011 Automatic Build System <autodist@mambasoft.it> 0.6.4-1mamba
- automatic update by autodist
* Sun Nov 07 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.6.2-2mamba
- rebuilt with libqt 4.7.0
* Mon Oct 25 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.6.2-1mamba
- update to 0.6.2
* Mon Sep 27 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.6.1-1mamba
- update to 0.6.1
* Wed Aug 25 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.6.0-1mamba
- update to 0.6.0
* Fri May 21 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.4.2-1mamba
- package created by autospec