X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=.ci%2Fpackage%2Frpm%2Ftinc.spec;h=58bbaf6bfac38c7fb4af028f75309a2db4428e0e;hb=09dda64ce99668c918fada04b9ad6bf9cd2ab104;hp=eda70d448a2cf7c78d3a4193cd6223e5e5419854;hpb=d6866ff0f130704ff963d9e053b1d85407ed2d7c;p=tinc diff --git a/.ci/package/rpm/tinc.spec b/.ci/package/rpm/tinc.spec index eda70d44..58bbaf6b 100644 --- a/.ci/package/rpm/tinc.spec +++ b/.ci/package/rpm/tinc.spec @@ -6,7 +6,15 @@ Summary: A virtual private network daemon License: GPLv2+ URL: https://www.tinc-vpn.org/ +BuildRequires: gcc +BuildRequires: meson BuildRequires: systemd +BuildRequires: openssl-devel +BuildRequires: lzo-devel +BuildRequires: zlib-devel +BuildRequires: lz4-devel +BuildRequires: ncurses-devel +BuildRequires: readline-devel Requires(post): systemd Requires(preun): systemd @@ -22,16 +30,16 @@ information with each other over the Internet without exposing any information to others. %define debug_package %{nil} +%define __meson_auto_features auto %prep %build -%configure --with-systemd=%{_unitdir} __CONFIGURE_ARGS__ -%make_build +%meson +%meson_build %install -%make_install -rm -f %{buildroot}%{_infodir}/dir +%meson_install %post %systemd_post %{name}@.service @@ -43,7 +51,7 @@ rm -f %{buildroot}%{_infodir}/dir %systemd_postun_with_restart %{name}@.service %files -%doc AUTHORS COPYING.README NEWS README.md THANKS doc/sample* doc/*.tex +%doc AUTHORS COPYING.README NEWS README.md THANKS doc/sample* %license COPYING %{_mandir}/man*/%{name}*.* %{_infodir}/%{name}.info.*