init package
Signed-off-by: lichaoran <pkwarcraft@hotmail.com> Signed-off-by: Li Chaoran <pkwarcraft@gmail.com>
This commit is contained in:
parent
221d724f59
commit
4caef4457f
BIN
xcb-util-xrm-1.3.tar.gz
Normal file
BIN
xcb-util-xrm-1.3.tar.gz
Normal file
Binary file not shown.
59
xcb-util-xrm.spec
Normal file
59
xcb-util-xrm.spec
Normal file
@ -0,0 +1,59 @@
|
||||
%global libname xcb-xrm
|
||||
|
||||
Name: xcb-util-xrm
|
||||
Version: 1.3
|
||||
Release: 1
|
||||
Summary: XCB utility functions for the X resource manager
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/Airblader/xcb-util-xrm
|
||||
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: automake
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: libtool
|
||||
BuildRequires: make
|
||||
BuildRequires: pkgconfig(xorg-macros)
|
||||
BuildRequires: pkgconfig(xcb-aux)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
autoreconf -vfi
|
||||
%configure --disable-silent-rules --disable-static
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -vf %{buildroot}%{_libdir}/lib%{libname}.la
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} check
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%{_libdir}/lib%{libname}.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/xcb/%(n=%{libname}; echo ${n//-/_}).h
|
||||
%{_libdir}/lib%{libname}.so
|
||||
%{_libdir}/pkgconfig/%{libname}.pc
|
||||
|
||||
%changelog
|
||||
* Thu Sep 15 2022 lichaoran <pkwarcraft@hotmail.com> - 1.3-1
|
||||
- init package
|
||||
4
xcb-util-xrm.yaml
Normal file
4
xcb-util-xrm.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: Airblader/xcb-util-xrm
|
||||
tag_prefix: "^"
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user