96 lines
2.5 KiB
RPMSpec
96 lines
2.5 KiB
RPMSpec
Name: libXxf86misc
|
|
Version: 1.0.4
|
|
Release: 2mamba
|
|
Summary: X.Org Xxf86misc library
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://x.org
|
|
Source: http://ftp.x.org/pub/individual/lib/libXxf86misc-%{version}.tar.bz2
|
|
Source1: xf86misc.h
|
|
Source2: xf86mscstr.h
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: ldconfig
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXau-devel
|
|
BuildRequires: libXdmcp-devel
|
|
BuildRequires: libXext-devel
|
|
BuildRequires: libbsd-devel
|
|
BuildRequires: libxcb-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: xorgproto-devel >= 2020.1
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
X.Org Xxf86misc library.
|
|
|
|
%package devel
|
|
Summary: Devel package for %{name}
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
X.Org Xxf86misc library.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
sed -i s/xf86miscproto// configure.ac
|
|
mkdir -p src/X11/extensions/
|
|
cp %{SOURCE1} %{SOURCE2} src/X11/extensions/
|
|
autoreconf -v --install --force
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
mkdir -p %{buildroot}%{_includedir}/X11/extensions
|
|
install -m 0644 -p %{SOURCE1} %{SOURCE2} %{buildroot}%{_includedir}/X11/extensions
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libXxf86misc.so.*
|
|
%doc COPYING ChangeLog
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/X11/extensions/xf86misc.h
|
|
%{_includedir}/X11/extensions/xf86mscstr.h
|
|
%{_libdir}/libXxf86misc.a
|
|
%{_libdir}/libXxf86misc.la
|
|
%{_libdir}/libXxf86misc.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Mon May 04 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-2mamba
|
|
- rebuilt after xorgproto 2020.1
|
|
|
|
* Wed Aug 29 2018 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Nov 25 2010 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Oct 12 2009 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Mar 13 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-2mamba
|
|
- specfile updates
|
|
|
|
* Mon Dec 18 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1qilnx
|
|
- package created by autospec
|