add library subpackages [release 5.3.0-2mamba;Sun Apr 26 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 23:36:08 +01:00
parent ddbb649efc
commit eb9f98899b

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: gwenhywfar Name: gwenhywfar
Version: 5.1.3 Version: 5.3.0
Release: 1mamba Release: 2mamba
Summary: A tool to allow porting of software to different operating systems like Linux, *BSD, Windows etc. Summary: A tool to allow porting of software to different operating systems like Linux, *BSD, Windows etc.
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -12,41 +12,76 @@ Source: https://github.com/aqbanking/gwenhywfar.git/%{version}/gwenhywfar
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libatk-devel BuildRequires: libatk-devel
BuildRequires: libblkid-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel BuildRequires: libfreetype-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libgcrypt-devel BuildRequires: libgcrypt-devel
BuildRequires: libgdk-pixbuf-devel BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgmp-devel
BuildRequires: libgnutls-devel BuildRequires: libgnutls-devel
BuildRequires: libgpg-error-devel BuildRequires: libgpg-error-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk2-devel BuildRequires: libgtk2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libmount-devel
BuildRequires: libnettle-devel
BuildRequires: libp11-kit-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: libqt4-devel BuildRequires: libqt4-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libtasn1-devel
BuildRequires: libunistring-devel
BuildRequires: libuuid-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildConflicts: gwenhywfar-devel <= 5.1.3
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Gwenhywfar allows porting of your software to different operating systems like Linux, *BSD, Windows etc. It also provides you with some often needed modules such as configuration file handling, simple XML file parsing, IPC etc. Gwenhywfar allows porting of your software to different operating systems like Linux, *BSD, Windows etc. It also provides you with some often needed modules such as configuration file handling, simple XML file parsing, IPC etc.
%package devel %package -n lib%{name}
Summary: Shared libraries provides %{name}
Group: System/Libraries
%description -n lib%{name}
Gwenhywfar allows porting of your software to different operating systems like Linux, *BSD, Windows etc. It also provides you with some often needed modules such as configuration file handling, simple XML file parsing, IPC etc.
This package contains static libraries and header files need for development.
%package -n lib%{name}-devel
Summary: Devel package for %{name} Summary: Devel package for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: gwenhywfar-devel
Obsoletes: gwenhywfar-devel
%description devel %description -n lib%{name}-devel
Gwenhywfar allows porting of your software to different operating systems like Linux, *BSD, Windows etc. It also provides you with some often needed modules such as configuration file handling, simple XML file parsing, IPC etc. Gwenhywfar allows porting of your software to different operating systems like Linux, *BSD, Windows etc. It also provides you with some often needed modules such as configuration file handling, simple XML file parsing, IPC etc.
This package contains static libraries and header files need for development. This package contains static libraries and header files need for development.
%debug_package
%prep %prep
%setup -q %setup -q
%build
autoreconf -f -i autoreconf -f -i
%build
%configure \ %configure \
--with-openssl-libs="`pkg-config --libs openssl`" \ --with-openssl-libs="`pkg-config --libs openssl`" \
--with-qt4-libs="%{_qt4_libdir}" --with-qt4-libs="%{_qt4_libdir}"
@ -62,25 +97,10 @@ autoreconf -f -i
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang %post -n lib%{name} -p /sbin/ldconfig
%defattr(-,root,root) %postun -n lib%{name} -p /sbin/ldconfig
#%config(noreplace) %{_sysconfdir}/gwen-public-ca.crt
%{_libdir}/libgwenhywfar.so.*
%{_libdir}/libgwengui-cpp.so.*
%{_libdir}/libgwengui-gtk2.so.*
%{_libdir}/libgwengui-qt4.so.*
%dir %{_libdir}/gwenhywfar/plugins
%{_libdir}/gwenhywfar/plugins/*
%dir %{_datadir}/gwenhywfar
%{_datadir}/gwenhywfar/ca-bundle.crt
%dir %{_datadir}/gwenhywfar/dialogs/
%{_datadir}/gwenhywfar/dialogs/dlg_*.dlg
%dir %{_datadir}/gwenhywfar/typemaker2
%dir %{_datadir}/gwenhywfar/typemaker2/c
%{_datadir}/gwenhywfar/typemaker2/c/*.tm2
%doc AUTHORS COPYING
%files devel %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/gsa %{_bindir}/gsa
%{_bindir}/gct-tool %{_bindir}/gct-tool
@ -89,6 +109,27 @@ autoreconf -f -i
%{_bindir}/typemaker %{_bindir}/typemaker
%{_bindir}/typemaker2 %{_bindir}/typemaker2
%{_bindir}/xmlmerge %{_bindir}/xmlmerge
#%config(noreplace) %{_sysconfdir}/gwen-public-ca.crt
%dir %{_datadir}/gwenhywfar
#%{_datadir}/gwenhywfar/ca-bundle.crt
%dir %{_datadir}/gwenhywfar/dialogs/
%{_datadir}/gwenhywfar/dialogs/dlg_*.dlg
%dir %{_datadir}/gwenhywfar/typemaker2
%dir %{_datadir}/gwenhywfar/typemaker2/c
%{_datadir}/gwenhywfar/typemaker2/c/*.tm2
%doc AUTHORS COPYING
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libgwenhywfar.so.*
%{_libdir}/libgwengui-cpp.so.*
%{_libdir}/libgwengui-gtk2.so.*
%{_libdir}/libgwengui-qt4.so.*
%dir %{_libdir}/gwenhywfar/plugins
%{_libdir}/gwenhywfar/plugins/*
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/gwenhywfar5 %dir %{_includedir}/gwenhywfar5
%{_includedir}/gwenhywfar5/* %{_includedir}/gwenhywfar5/*
%{_libdir}/libgwenhywfar.so %{_libdir}/libgwenhywfar.so
@ -112,6 +153,15 @@ autoreconf -f -i
%doc NEWS README TODO %doc NEWS README TODO
%changelog %changelog
* Sun Apr 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.0-2mamba
- add library subpackages
* Tue Apr 21 2020 Automatic Build System <autodist@mambasoft.it> 5.3.0-1mamba
- automatic version update by autodist
* Mon Mar 23 2020 Automatic Build System <autodist@mambasoft.it> 5.2.0-1mamba
- automatic version update by autodist
* Sat Feb 08 2020 Automatic Build System <autodist@mambasoft.it> 5.1.3-1mamba * Sat Feb 08 2020 Automatic Build System <autodist@mambasoft.it> 5.1.3-1mamba
- automatic version update by autodist - automatic version update by autodist