Package init
This commit is contained in:
commit
3d30642251
BIN
libSM-1.2.3.tar.bz2
Normal file
BIN
libSM-1.2.3.tar.bz2
Normal file
Binary file not shown.
59
libSM.spec
Normal file
59
libSM.spec
Normal file
@ -0,0 +1,59 @@
|
||||
Name: libSM
|
||||
Version: 1.2.3
|
||||
Release: 1
|
||||
Summary: Runtime library for X11 SM
|
||||
License: MIT
|
||||
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 xorg-x11-proto-devel
|
||||
BuildRequires: xorg-x11-xtrans-devel libICE-devel libuuid-devel xmlto pkgconfig
|
||||
|
||||
%description
|
||||
The %{name} package contains runtime libraries for the X.Org X11 SM.
|
||||
|
||||
%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
|
||||
|
||||
%configure --with-libuuid
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%delete_la
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.so
|
||||
%{_includedir}/X11/SM/SM*.h
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/pkgconfig/sm.pc
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog
|
||||
|
||||
|
||||
%exclude %{_docdir}
|
||||
|
||||
%changelog
|
||||
* Tue Aug 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.2.3-1
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user