diff options
author | Klaus Kämpf <kkaempf@suse.de> | 2010-12-03 15:35:02 +0100 |
---|---|---|
committer | Klaus Kämpf <kkaempf@suse.de> | 2010-12-03 15:35:02 +0100 |
commit | 23ec75519351a47baaa75c1eedc64f352cbf3cb0 (patch) | |
tree | 0dc0b64c00add6b872c09fbead4e02cd40e05621 /package | |
parent | 29b546ff3ebe910c3fa2a9be0abb249c0328768a (diff) | |
download | libsolv-23ec75519351a47baaa75c1eedc64f352cbf3cb0.tar.gz libsolv-23ec75519351a47baaa75c1eedc64f352cbf3cb0.tar.bz2 libsolv-23ec75519351a47baaa75c1eedc64f352cbf3cb0.zip |
Make swig input files for the bindings reusable
Introduce a new package (satsolver-bindings-devel) containing the .i
and .h files used to create the bindings.
This makes the bindings API reusable in other bindings using
libsatsolver, i.e. libzypp-bindings.
Diffstat (limited to 'package')
-rw-r--r-- | package/libsatsolver.spec.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/libsatsolver.spec.in b/package/libsatsolver.spec.in index ebc1d5c..489cf3b 100644 --- a/package/libsatsolver.spec.in +++ b/package/libsatsolver.spec.in @@ -133,6 +133,17 @@ Group: Development/Languages/Perl Perl bindings for sat solver. +%package -n satsolver-bindings-devel +Requires: swig %{name}-devel +Summary: Swig input files for satsolver bindings +Group: Development/Libraries +BuildArch: noarch + +%description -n satsolver-bindings-devel +The Swig input files for satsolver bindings allow for reuse of the +bindings concept in other projects, i.e. libzypp-bindings. + + %prep %setup -n satsolver-%{version} @@ -244,4 +255,10 @@ rm -rf "$RPM_BUILD_ROOT" %{perl_vendorarch}/satsolver.so %{perl_vendorlib}/satsolver.pm +%files -n satsolver-bindings-devel +%defattr(-,root,root,-) +%dir %{prefix}/share/satsolver-bindings +%{prefix}/share/satsolver-bindings/*.i +%{prefix}/share/satsolver-bindings/*.h + %changelog |