OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/QR-Code-generator?expand=0&rev=2
This commit is contained in:
parent
c3894e1578
commit
1a8b416075
@ -42,6 +42,27 @@ This project aims to be the best, clearest QR Code generator library in multiple
|
||||
The primary goals are flexible options and absolute correctness.
|
||||
Secondary goals are compact implementation size and good documentation comments.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for QR code generator
|
||||
Requires: %{libcname}
|
||||
Requires: %{libcppname}
|
||||
Provides: qrcodegen-devel
|
||||
|
||||
%description devel
|
||||
Development files, headers/libs for QR code generator
|
||||
|
||||
%package -n %{libcname}
|
||||
Summary: QR Code generator library
|
||||
|
||||
%description -n %{libcname}
|
||||
C QR Code generator library
|
||||
|
||||
%package -n %{libcppname}
|
||||
Summary: QR Code generator library
|
||||
|
||||
%description -n %{libcppname}
|
||||
C++ QR Code generator library
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autopatch -p1
|
||||
@ -71,8 +92,25 @@ pushd python
|
||||
popd
|
||||
rm -rf %{buildroot}%{_libdir}/*.a
|
||||
|
||||
%post -n %{libcname} -p /sbin/ldconfig
|
||||
%postun -n %{libcname} -p /sbin/ldconfig
|
||||
%post -n %{libcppname} -p /sbin/ldconfig
|
||||
%postun -n %{libcppname} -p /sbin/ldconfig
|
||||
|
||||
%files %{python_files}
|
||||
%license Readme.markdown
|
||||
%{python_sitelib}/*
|
||||
|
||||
%files -n QR-Code-generator-devel
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
|
||||
%files -n %{libcname}
|
||||
%license Readme.markdown
|
||||
%{_libdir}/libqrcodegen.so.*
|
||||
|
||||
%files -n %{libcppname}
|
||||
%license Readme.markdown
|
||||
%{_libdir}/libqrcodegencpp.so.*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user