contrib: integrate RPM spec
Remove OpenSUSE bug report link, set version to @VERSION@, make it build with CentOS 8 etc. Related: OS#4550 Change-Id: Ib2da03980d99f12ab36ca5d5fdde92ddbefb040b
This commit is contained in:
parent
b91e88d800
commit
54797c44ec
|
@ -49,3 +49,5 @@ debian/autoreconf.*
|
||||||
debian/.debhelper
|
debian/.debhelper
|
||||||
debian/debhelper*
|
debian/debhelper*
|
||||||
debian/files
|
debian/files
|
||||||
|
|
||||||
|
contrib/osmo-remsim.spec
|
||||||
|
|
|
@ -196,6 +196,7 @@ AC_OUTPUT(
|
||||||
contrib/Makefile
|
contrib/Makefile
|
||||||
contrib/etc_default/Makefile
|
contrib/etc_default/Makefile
|
||||||
contrib/systemd/Makefile
|
contrib/systemd/Makefile
|
||||||
|
contrib/osmo-remsim.spec
|
||||||
doc/Makefile
|
doc/Makefile
|
||||||
doc/manuals/Makefile
|
doc/manuals/Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
|
|
|
@ -12,24 +12,23 @@
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
%define sover 1
|
%define sover 1
|
||||||
Name: osmo-remsim
|
Name: osmo-remsim
|
||||||
Version: 0.2.2.86
|
Version: @VERSION@
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Osmocom remote SIM software suite
|
Summary: Osmocom remote SIM software suite
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Telephony/Servers
|
Group: Productivity/Telephony/Servers
|
||||||
URL: https://projects.osmocom.org/projects/osmo-remsim
|
URL: https://osmocom.org/projects/osmo-remsim
|
||||||
Source: %{name}-%{version}.tar.xz
|
Source: %{name}-%{version}.tar.xz
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libcsv-devel
|
BuildRequires: libcsv-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
%if 0%{?suse_version}
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
|
%endif
|
||||||
BuildRequires: pkgconfig(libasn1c) >= 0.9.30
|
BuildRequires: pkgconfig(libasn1c) >= 0.9.30
|
||||||
BuildRequires: pkgconfig(libosmoabis)
|
BuildRequires: pkgconfig(libosmoabis)
|
||||||
BuildRequires: pkgconfig(libosmocore) >= 0.11.0
|
BuildRequires: pkgconfig(libosmocore) >= 0.11.0
|
||||||
|
@ -40,7 +39,7 @@ BuildRequires: pkgconfig(libulfius)
|
||||||
BuildRequires: pkgconfig(libusb-1.0)
|
BuildRequires: pkgconfig(libusb-1.0)
|
||||||
BuildRequires: pkgconfig(libosmousb)
|
BuildRequires: pkgconfig(libosmousb)
|
||||||
BuildRequires: pkgconfig(libosmo-simtrace2)
|
BuildRequires: pkgconfig(libosmo-simtrace2)
|
||||||
%{?systemd_ordering}
|
%{?systemd_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
osmo-remsim is a suite of software programs enabling physical/geographic
|
osmo-remsim is a suite of software programs enabling physical/geographic
|
||||||
|
@ -159,6 +158,7 @@ make %{?_smp_mflags} check || find . -name testsuite.log -exec cat {} +
|
||||||
%post -n libosmo-rspro%{sover} -p /sbin/ldconfig
|
%post -n libosmo-rspro%{sover} -p /sbin/ldconfig
|
||||||
%postun -n libosmo-rspro%{sover} -p /sbin/ldconfig
|
%postun -n libosmo-rspro%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%if 0%{?suse_version}
|
||||||
%pre -n osmo-remsim-bankd %service_add_pre osmo-remsim-bankd.service
|
%pre -n osmo-remsim-bankd %service_add_pre osmo-remsim-bankd.service
|
||||||
%post -n osmo-remsim-bankd %service_add_post osmo-remsim-bankd.service
|
%post -n osmo-remsim-bankd %service_add_post osmo-remsim-bankd.service
|
||||||
%preun -n osmo-remsim-bankd %service_del_preun osmo-remsim-bankd.service
|
%preun -n osmo-remsim-bankd %service_del_preun osmo-remsim-bankd.service
|
||||||
|
@ -173,6 +173,7 @@ make %{?_smp_mflags} check || find . -name testsuite.log -exec cat {} +
|
||||||
%post -n osmo-remsim-server %service_add_post osmo-remsim-server.service
|
%post -n osmo-remsim-server %service_add_post osmo-remsim-server.service
|
||||||
%preun -n osmo-remsim-server %service_del_preun osmo-remsim-server.service
|
%preun -n osmo-remsim-server %service_del_preun osmo-remsim-server.service
|
||||||
%postun -n osmo-remsim-server %service_del_postun osmo-remsim-server.service
|
%postun -n osmo-remsim-server %service_del_postun osmo-remsim-server.service
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n libosmo-rspro%{sover}
|
%files -n libosmo-rspro%{sover}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
@ -180,9 +181,8 @@ make %{?_smp_mflags} check || find . -name testsuite.log -exec cat {} +
|
||||||
%{_libdir}/libosmo-rspro.so.%{sover}*
|
%{_libdir}/libosmo-rspro.so.%{sover}*
|
||||||
|
|
||||||
%files -n libosmo-rspro-devel
|
%files -n libosmo-rspro-devel
|
||||||
%{_includedir}/osmocom
|
|
||||||
%dir %{_includedir}/osmocom/rspro
|
%dir %{_includedir}/osmocom/rspro
|
||||||
%{_includedir}/osmocom/rspro/rspro_client.h
|
%{_includedir}/osmocom/rspro/*
|
||||||
%{_libdir}/libosmo-rspro.so
|
%{_libdir}/libosmo-rspro.so
|
||||||
%{_libdir}/pkgconfig/libosmo-rspro.pc
|
%{_libdir}/pkgconfig/libosmo-rspro.pc
|
||||||
|
|
||||||
|
@ -204,12 +204,13 @@ make %{?_smp_mflags} check || find . -name testsuite.log -exec cat {} +
|
||||||
%config %{_sysconfdir}/default/osmo-remsim-client*
|
%config %{_sysconfdir}/default/osmo-remsim-client*
|
||||||
|
|
||||||
%files -n libifd-osmo-remsim-client0
|
%files -n libifd-osmo-remsim-client0
|
||||||
%dir %{_libdir}/readers/
|
%if 0%{?centos_ver}
|
||||||
|
%dir %{_libdir}/pcsc/drivers/libifd-osmo-remsim-client.bundle
|
||||||
|
%{_libdir}/pcsc/drivers/libifd-osmo-remsim-client.bundle/*
|
||||||
|
%else
|
||||||
%dir %{_libdir}/readers/libifd-osmo-remsim-client.bundle
|
%dir %{_libdir}/readers/libifd-osmo-remsim-client.bundle
|
||||||
%dir %{_libdir}/readers/libifd-osmo-remsim-client.bundle/Contents
|
%{_libdir}/readers/libifd-osmo-remsim-client.bundle/*
|
||||||
%{_libdir}/readers/libifd-osmo-remsim-client.bundle/Contents/PkgInfo
|
%endif
|
||||||
%dir %{_libdir}/readers/libifd-osmo-remsim-client.bundle/Contents/Linux
|
|
||||||
%{_libdir}/readers/libifd-osmo-remsim-client.bundle/Contents/Linux/libifd_remsim_client.so*
|
|
||||||
%config %{_sysconfdir}/reader.conf.d/osmo-remsim-client-reader_conf
|
%config %{_sysconfdir}/reader.conf.d/osmo-remsim-client-reader_conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
Loading…
Reference in New Issue