From a914566c832b094ef7530becbd6da11c3a903236 Mon Sep 17 00:00:00 2001 From: Stefano Cotta Ramusino Date: Fri, 5 Jan 2024 22:40:51 +0100 Subject: [PATCH] update to 0.6.16 [release 0.6.16-1mamba;Mon Jan 09 2012] --- README.md | 2 + generatorrunner.spec | 120 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+) create mode 100644 generatorrunner.spec diff --git a/README.md b/README.md index 705f2ec..40d6126 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # generatorrunner +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). + diff --git a/generatorrunner.spec b/generatorrunner.spec new file mode 100644 index 0000000..df9bce5 --- /dev/null +++ b/generatorrunner.spec @@ -0,0 +1,120 @@ +%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 +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 0.6.16-1mamba +- update to 0.6.16 + +* Wed Nov 23 2011 Stefano Cotta Ramusino 0.6.14-1mamba +- update to 0.6.14 + +* Sun Oct 09 2011 Automatic Build System 0.6.13-1mamba +- automatic version update by autodist + +* Tue Aug 23 2011 Stefano Cotta Ramusino 0.6.12-1mamba +- update to 0.6.12 + +* Fri Jul 01 2011 Stefano Cotta Ramusino 0.6.11-1mamba +- update to 0.6.11 + +* Sun May 01 2011 Stefano Cotta Ramusino 0.6.9-1mamba +- update to 0.6.9 + +* Sat Mar 12 2011 Stefano Cotta Ramusino 0.6.7-1mamba +- update to 0.6.7 + +* Sun Jan 30 2011 Automatic Build System 0.6.4-1mamba +- automatic update by autodist + +* Sun Nov 07 2010 Stefano Cotta Ramusino 0.6.2-2mamba +- rebuilt with libqt 4.7.0 + +* Mon Oct 25 2010 Stefano Cotta Ramusino 0.6.2-1mamba +- update to 0.6.2 + +* Mon Sep 27 2010 Stefano Cotta Ramusino 0.6.1-1mamba +- update to 0.6.1 + +* Wed Aug 25 2010 Stefano Cotta Ramusino 0.6.0-1mamba +- update to 0.6.0 + +* Fri May 21 2010 Stefano Cotta Ramusino 0.4.2-1mamba +- package created by autospec