Dominique Leuenberger 2021-06-05 21:30:32 +00:00 committed by Git OBS Bridge
commit 19ddcca46b
2 changed files with 26 additions and 18 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon May 31 15:07:17 UTC 2021 - Dirk Müller <dmueller@suse.com>
- package licenses as %%license
- modernize spec file
- list files in files-section to avoid directory permission
conflict with filesystem package
-------------------------------------------------------------------
Fri Apr 30 09:04:25 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -19,16 +19,14 @@
Name: xorgproto
Version: 2021.4
Release: 0
URL: http://xorg.freedesktop.org/
Summary: The X11 Protocol collection
License: MIT
Group: Development/Libraries/X11
URL: https://xorg.freedesktop.org/
#Git-Clone: git://anongit.freedesktop.org/xorg/proto/xorgproto
#Git-Web: http://cgit.freedesktop.org/xorg/proto/xorgproto/
Source: http://xorg.freedesktop.org/releases/individual/proto/%name-%version.tar.bz2
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: https://xorg.freedesktop.org/releases/individual/proto/%{name}-%{version}.tar.bz2
BuildRequires: pkgconfig
%description
The X11 protocol headers for X11 development.
@ -43,7 +41,6 @@ xproto and xproxymngproto.
%package devel
Summary: The X11 Protocol collection
Group: Development/Libraries/X11
Obsoletes: xorgproto-devel < %{version}
# the next is for obsoleting applewmproto <= 1.4.2
Obsoletes: bigreqsproto-devel <= 1.1.2
@ -98,20 +95,23 @@ xproto and xproxymngproto.
%else
%configure
%endif
make %{?_smp_mflags}
%make_build
%install
make install DESTDIR="%buildroot"
%make_install
%if (0%{?suse_version} < 1550)
# we seriously don't want to package that again ...
rm %{buildroot}%{_mandir}/man7/Xprint.7
%endif
%files devel
%defattr(-,root,root)
%doc %_datadir/doc/*
%_includedir/X11/
%_includedir/GL/
%license COPYING-*
%doc %{_datadir}/doc/*
%dir %{_includedir}/GL
%{_includedir}/GL/*.h
%{_includedir}/GL/internal
%{_includedir}/X11/{dri,extensions,fonts}
%{_includedir}/X11/*.h
%{_datarootdir}/pkgconfig/*.pc
%changelog