Package init

This commit is contained in:
overweight 2019-09-30 10:55:43 -04:00
commit 1e78c787f2
2 changed files with 64 additions and 0 deletions

BIN
libdmx-1.1.4.tar.bz2 Normal file

Binary file not shown.

64
libdmx.spec Normal file
View File

@ -0,0 +1,64 @@
Name: libdmx
Version: 1.1.4
Release: 5
Summary: Distributed Multihead X extension library
License: MIT
URL: https://xorg.freedesktop.org/
Source0: https://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
BuildRequires: pkgconfig(xext) autoconf automake libtool
BuildRequires: xorg-x11-util-macros libX11-devel
Requires: libX11
%description
The X.Org project provides an open source implementation of the X Window System.
The development work is being done in conjunction with the freedesktop.org community.
The X.Org Foundation is the educational non-profit corporation whose Board serves this effort,
and whose Members lead this work.
%package devel
Summary: development files and header files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
%{name}-devel contains development files and header files for %{name}
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -v --install --force
%configure
%make_build
%install
%make_install
%delete_la
%check
make check
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%doc COPYING
%{_libdir}/libdmx.so.*
%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.a
%{_libdir}/libdmx.so
%{_includedir}/X11/*
%files help
%defattr(-,root,root)
%{_mandir}/man3/*
%changelog
* Sat Aug 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.4-5
- Package init