libXpm/libXpm.spec
2019-11-06 19:36:20 +08:00

72 lines
1.5 KiB
RPMSpec

Name: libXpm
Version: 3.5.12
Release: 11
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
%license COPYING COPYRIGHT
%{_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
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.5.12-11
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:change the directory of the license file
* Wed Oct 09 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.5.12-10
- Type:enhancement
- ID:NA
- SUG:NA
DESC:add COPYRIGHT
* Tue Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.5.12-9
- Package init