OBS-URL: https://build.opensuse.org/request/show/231291 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/evieproto?expand=0&rev=1
69 lines
2.0 KiB
RPMSpec
69 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package evieproto
|
|
#
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
%define name_archive evieext
|
|
|
|
Name: evieproto
|
|
Version: 1.1.1
|
|
BuildRequires: pkg-config
|
|
|
|
#BuildRequires: autoconf >= 2.60
|
|
#BuildRequires: automake
|
|
#BuildRequires: libtool
|
|
|
|
Url: http://xorg.freedesktop.org/
|
|
Release: 0
|
|
BuildRoot: %{_tmppath}/%{name_archive}-%{version}-build
|
|
Summary: The X Protocol
|
|
License: MIT
|
|
Group: Development/Libraries/X11
|
|
#Source URL: http://xorg.freedesktop.org/releases/individual/proto/
|
|
Source: %{name_archive}-%{version}.tar.bz2
|
|
|
|
%description
|
|
The Evie Protocol Headers for X development
|
|
|
|
%package -n %{name}-devel
|
|
Summary: The X Protocol
|
|
Group: Development/Libraries/X11
|
|
|
|
# Added within the 13.2 Development Cycle
|
|
Obsoletes: xorg-x11-proto-devel://usr/%{_lib}/pkgconfig/evieproto.pc
|
|
|
|
%description -n %{name}-devel
|
|
The Evie Protocol Headers for X development
|
|
|
|
%prep
|
|
%setup -n %{name_archive}-%{version} -q
|
|
|
|
%build
|
|
#autoreconf -fi
|
|
./configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
|
--prefix=/usr --libdir=%{_libdir}
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make install DESTDIR="%buildroot"
|
|
|
|
%files -n %{name}-devel
|
|
%defattr(-,root,root)
|
|
%dir /usr/include/X11/extensions
|
|
/usr/include/X11/extensions/*.h
|
|
/usr/%{_lib}/pkgconfig/*.pc
|
|
|
|
%changelog
|