Package init
This commit is contained in:
commit
01c0632b28
BIN
libXt-1.1.5.tar.bz2
Normal file
BIN
libXt-1.1.5.tar.bz2
Normal file
Binary file not shown.
64
libXt.spec
Normal file
64
libXt.spec
Normal file
@ -0,0 +1,64 @@
|
||||
Name: libXt
|
||||
Version: 1.1.5
|
||||
Release: 10
|
||||
License: MIT
|
||||
Summary: X.Org X11 libXt runtime library
|
||||
URL: https://www.x.org
|
||||
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: xorg-x11-util-macros autoconf automake libtool
|
||||
BuildRequires: xorg-x11-proto-devel libX11-devel libSM-devel libX11-devel
|
||||
|
||||
Requires: libX11 >= 1.5.99.902
|
||||
|
||||
%description
|
||||
X.Org X11 libXt runtime library
|
||||
|
||||
%package devel
|
||||
Summary: X.Org X11 libXt development package
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for %{name}.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
autoreconf -ivf
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
%configure --with-xfile-search-path="%{_sysconfdir}/X11/%%L/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%l/%%T/\%%N%%C%%S:%{_sysconfdir}/X11/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%L/%%T/%%N%%S:%{_sysconfdir}/X\11/%%l/%%T/%%N%%S:%{_sysconfdir}/X11/%%T/%%N%%S:%{_datadir}/X11/%%L/%%T/%%N%%C%%S:%{_datadir}/X1\1/%%l/%%T/%%N%%C%%S:%{_datadir}/X11/%%T/%%N%%C%%S:%{_datadir}/X11/%%L/%%T/%%N%%S:%{_datadir}/X11/%%\l/%%T/%%N%%S:%{_datadir}/X11/%%T/%%N%%S"
|
||||
|
||||
V=1 %make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
mkdir -p -m 0755 $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults
|
||||
%delete_la
|
||||
cp -p COPYING ${RPM_BUILD_ROOT}%{_datadir}/doc/%{name}/COPYING
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_docdir}/%{name}/COPYING
|
||||
%{_libdir}/*.so.*
|
||||
%dir %{_datadir}/X11/app-defaults
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/X11/*.h
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%{_mandir}/man3/*.3*
|
||||
%{_docdir}/%{name}/*.xml
|
||||
|
||||
%changelog
|
||||
* Mon Sep 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.5-10
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user