libXcomposite/libXcomposite.spec

71 lines
1.6 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:59:18 -04:00
Name: libXcomposite
2020-07-28 20:29:14 +08:00
Version: 0.4.5
Release: 1
2019-09-30 10:59:18 -04:00
License: MIT
Summary: X Composite Extension library
URL: http://www.x.org
Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
BuildRequires: xorg-x11-util-macros autoconf automake libtool
2020-07-28 20:29:14 +08:00
BuildRequires: pkgconfig(compositeproto) >= 0.4
BuildRequires: pkgconfig(xfixes) pkgconfig(xext)
2019-09-30 10:59:18 -04:00
%description
X Composite Extension library
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains development files for %{name}.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -ivf
2020-07-28 20:29:14 +08:00
%configure --disable-static
2019-09-30 10:59:18 -04:00
%make_build
%install
%make_install
%delete_la_and_a
%ldconfig_scriptlets
%files
%defattr(-,root,root)
2020-07-28 20:29:14 +08:00
%doc AUTHORS
2019-11-06 19:35:51 +08:00
%license COPYING
2020-07-28 20:29:14 +08:00
%{_libdir}/libXcomposite.so.1
%{_libdir}/libXcomposite.so.1.0.0
2019-09-30 10:59:18 -04:00
%files devel
%defattr(-,root,root)
2020-07-28 20:29:14 +08:00
%{_includedir}/X11/extensions/Xcomposite.h
%{_libdir}/libXcomposite.so
%{_libdir}/pkgconfig/xcomposite.pc
2019-09-30 10:59:18 -04:00
%files help
%defattr(-,root,root)
2020-07-28 20:29:14 +08:00
%doc README.md ChangeLog
2019-09-30 10:59:18 -04:00
%{_mandir}/man3/*.3*
%changelog
2020-07-28 20:29:14 +08:00
* Tue Jul 28 2020 zhangqiumiao <zhangqiumiao1@huawei.com> - 0.4.5-1
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:upgrade to version 0.4.5
2019-11-06 19:35:51 +08:00
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.4.4-17
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:change the directory of the license file
2019-09-30 10:59:18 -04:00
* Tue Sep 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.4.4-16
- Package init