1
0
forked from pool/pthread-stubs

Accepting request 231602 from home:tobijk:X11:XOrg

pthread-stubs instead of libpthread-stubs

OBS-URL: https://build.opensuse.org/request/show/231602
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/pthread-stubs?expand=0&rev=1
This commit is contained in:
Stefan Dirsch 2014-04-27 21:31:03 +00:00 committed by Git OBS Bridge
commit 93afb6419a
5 changed files with 97 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35b6d54e3cc6f3ba28061da81af64b9a92b7b757319098172488a660e3d87299
size 203468

5
pthread-stubs.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Thu Apr 24 21:14:25 UTC 2014 - tobias.johannes.klausmann@mni.thm.de
- Created package pthread-stubs with initial version 0.3

65
pthread-stubs.spec Normal file
View File

@ -0,0 +1,65 @@
#
# spec file for package pthread-stubs
#
# 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 libpthread-stubs
Name: pthread-stubs
Version: 0.3
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://xcb.freedesktop.org/dist/
Source: %{name_archive}-%{version}.tar.bz2
%description
The pthread-stubs for 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/pthread-stubs.pc
%description -n %{name}-devel
The pthread-stubs 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)
/usr/%{_lib}/pkgconfig/*.pc
%changelog