parent
7778123365
commit
2fb7c42c38
@ -0,0 +1 @@
|
||||
/zix-262d4a1522c38be0588746e874159da5c7bb457d.tar.bz2
|
@ -0,0 +1 @@
|
||||
SHA512 (zix-262d4a1522c38be0588746e874159da5c7bb457d.tar.bz2) = 659754aa5a21c12848526362fdfea373607925b9c44b111e6774fe0af2095ef08c6805995d59197f8f14a40fb432cd5377f734cd10aa955d76df198ba6757f2f
|
@ -0,0 +1,97 @@
|
||||
%global forgeurl https://gitlab.com/drobilla/zix
|
||||
%global commit 262d4a1522c38be0588746e874159da5c7bb457d
|
||||
|
||||
%global maj 0
|
||||
|
||||
%forgemeta
|
||||
|
||||
Name: zix
|
||||
Version: 0.3.1
|
||||
Release: 6%{?dist}
|
||||
Summary: A lightweight C library of portability wrappers and data structures
|
||||
|
||||
License: ISC
|
||||
URL: %{forgeurl}
|
||||
Source0: %{forgesource}
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: meson
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: python3-sphinx
|
||||
BuildRequires: python3-sphinxygen
|
||||
|
||||
%description
|
||||
%{name} is a lightweight C library of portability wrappers and data structures.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Provides: bundled(js-jquery) = 3.6.0
|
||||
Buildarch: noarch
|
||||
|
||||
%description doc
|
||||
The %{name}-doc package contains documentation files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%forgesetup
|
||||
|
||||
%build
|
||||
# Do not build benchmarks
|
||||
%meson -Dbenchmarks=disabled
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
# Delete duplicated sphinx docs
|
||||
rm -rf %{buildroot}%{_docdir}/%{name}-%{maj}/singlehtml
|
||||
# Delete sphinx buildinfo
|
||||
rm -f %{buildroot}%{_docdir}/%{name}-%{maj}/html/.buildinfo
|
||||
# Move devel docs to the right directory
|
||||
install -d %{buildroot}%{_docdir}/%{name}
|
||||
mv %{buildroot}%{_docdir}/%{name}-%{maj} %{buildroot}%{_docdir}/%{name}
|
||||
|
||||
%check
|
||||
%meson_test
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%{_libdir}/lib%{name}-%{maj}.so.%{maj}*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/%{name}-%{maj}
|
||||
%{_libdir}/lib%{name}-%{maj}.so
|
||||
%{_libdir}/pkgconfig/%{name}-%{maj}.pc
|
||||
|
||||
%files doc
|
||||
%doc %{_docdir}/%{name}/%{name}-%{maj}
|
||||
|
||||
%changelog
|
||||
* Sun Apr 16 2023 Guido Aulisi <guido.aulisi@gmail.com> - 0.3.1-6
|
||||
- Delete single html documetation
|
||||
- Make doc package noarch
|
||||
|
||||
* Sun Mar 19 2023 Guido Aulisi <guido.aulisi@gmail.com> - 0.3.1-5
|
||||
- Put documentation files into separate package
|
||||
|
||||
* Sat Mar 11 2023 Guido Aulisi <guido.aulisi@gmail.com> - 0.3.1-4
|
||||
- Fix BRs
|
||||
|
||||
* Sun Feb 26 2023 Guido Aulisi <guido.aulisi@gmail.com> - 0.3.1-3
|
||||
- Enable docs
|
||||
|
||||
* Sun Feb 05 2023 Guido Aulisi <guido.aulisi@gmail.com> - 0.3.1-2
|
||||
- Remove unneeded BR glib2-devel
|
||||
|
||||
* Sun Feb 05 2023 Guido Aulisi <guido.aulisi@gmail.com> - 0.3.1-1
|
||||
- Initial import
|
Loading…
Reference in new issue