Package init
This commit is contained in:
commit
448045d981
BIN
libXpm-3.5.12.tar.bz2
Normal file
BIN
libXpm-3.5.12.tar.bz2
Normal file
Binary file not shown.
58
libXpm.spec
Normal file
58
libXpm.spec
Normal file
@ -0,0 +1,58 @@
|
||||
Name: libXpm
|
||||
Version: 3.5.12
|
||||
Release: 9
|
||||
License: MIT
|
||||
Summary: X.Org X11 libXpm runtime library
|
||||
URL: https://www.x.org
|
||||
Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: xorg-x11-util-macros autoconf automake libtool
|
||||
BuildRequires: gettext libXau-devel libXext-devel libXt-devel
|
||||
|
||||
%description
|
||||
X.Org X11 libXpm runtime library
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
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
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%delete_la
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/*
|
||||
%{_includedir}/X11/*.h
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog
|
||||
%{_mandir}/man1/*.1*
|
||||
|
||||
%changelog
|
||||
* Tue Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.5.12-9
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user