upload tizen2.0 source
[framework/uifw/xorg/lib/xtrans.git] / packaging / xorg-x11-xtrans-devel.spec
1 # NOTE: This package contains only C source and header files and pkg-config
2 # *.pc files, and does not contain any ELF binaries or DSOs, so we disable
3 # debuginfo generation.
4 %define debug_package %{nil}
5
6 Summary: X.Org X11 developmental X transport library
7 Name: xorg-x11-xtrans-devel
8 Version: 1.2.7
9 Release: 1
10 License: MIT
11 Group: System Environment/Libraries
12 URL: http://www.x.org
13 BuildArch: noarch
14
15 Source0: %{name}-%{version}.tar.gz
16
17 BuildRequires: pkgconfig
18 BuildRequires:  pkgconfig(xorg-macros)
19 BuildRequires: xorg-x11-xutils-dev
20
21 %description
22 X.Org X11 developmental X transport library
23
24 %prep
25 %setup -q
26
27 %build
28
29 # yes, this looks horrible, but it's to get the .pc file in datadir
30 %reconfigure --libdir=%{_datadir} \
31            --docdir=%{_docdir}/%{name}-%{version}-%{release}
32 # Running 'make' not needed.
33
34 %install
35 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
36
37 %remove_docs
38
39 %files
40 %defattr(-,root,root,-)
41 %doc AUTHORS ChangeLog COPYING README
42 %dir %{_includedir}/X11
43 %dir %{_includedir}/X11/Xtrans
44 %{_includedir}/X11/Xtrans/Xtrans.c
45 %{_includedir}/X11/Xtrans/Xtrans.h
46 %{_includedir}/X11/Xtrans/Xtransint.h
47 %{_includedir}/X11/Xtrans/Xtranslcl.c
48 %{_includedir}/X11/Xtrans/Xtranssock.c
49 %{_includedir}/X11/Xtrans/Xtranstli.c
50 %{_includedir}/X11/Xtrans/Xtransutil.c
51 %{_includedir}/X11/Xtrans/transport.c
52 %{_datadir}/aclocal/xtrans.m4
53 %{_datadir}/pkgconfig/xtrans.pc
54 #%dir %{_docdir}/%{name}-%{version}-%{release}
55 #%{_docdir}/%{name}-%{version}-%{release}/xtrans.xml