Create aml.spec
This commit is contained in:
56
aml/aml.spec
Normal file
56
aml/aml.spec
Normal file
@@ -0,0 +1,56 @@
|
||||
Name: aml
|
||||
Version: 0.3.0
|
||||
Release: 0
|
||||
Summary: Another Main Loop
|
||||
License: ISC
|
||||
URL: https://github.com/any1/aml
|
||||
Source0: https://github.com/any1/aml/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
%description
|
||||
A main loop that is interoperable with other event loops and aims to be portable, utilitarian and simple.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libaml0 = %{version}
|
||||
|
||||
%description devel
|
||||
Development files and headers for %{name}.
|
||||
|
||||
%package -n libaml0
|
||||
Summary: A VNC server library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libaml0
|
||||
A portable, uitlitarian and simple event loop library.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%meson
|
||||
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%post -n libaml0 -p /sbin/ldconfig
|
||||
%postun -n libaml0 -p /sbin/ldconfig
|
||||
|
||||
%files devel
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
|
||||
%{_includedir}/aml.h
|
||||
%{_libdir}/libaml.so
|
||||
%{_libdir}/pkgconfig/aml.pc
|
||||
|
||||
%files -n libaml0
|
||||
%{_libdir}/libaml.so.0
|
||||
%{_libdir}/libaml.so.0.0.0
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user