]> git.pld-linux.org Git - packages/xorg-lib-libXt.git/blob - xorg-lib-libXt.spec
- BR: util-macros >= 0.99.1 (XORG_PROG_RAWCPP)
[packages/xorg-lib-libXt.git] / xorg-lib-libXt.spec
1 Summary:        X Toolkit library
2 Summary(pl):    Biblioteka X Toolkit
3 Name:           xorg-lib-libXt
4 Version:        0.99.1
5 Release:        0.1
6 License:        MIT
7 Group:          X11/Libraries
8 Source0:        http://xorg.freedesktop.org/releases/X11R7.0-RC1/lib/libXt-%{version}.tar.bz2
9 # Source0-md5:  c70360ab5ffba0651c24fc3e4fe84f93
10 URL:            http://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.57
12 BuildRequires:  automake
13 BuildRequires:  cpp
14 BuildRequires:  libtool
15 BuildRequires:  pkgconfig >= 0.19
16 BuildRequires:  xorg-lib-libSM-devel
17 BuildRequires:  xorg-lib-libX11-devel
18 BuildRequires:  xorg-util-util-macros >= 0.99.1
19 Obsoletes:      libXt
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 X Toolkit library.
24
25 %description -l pl
26 Biblioteka X Toolkit.
27
28 %package devel
29 Summary:        Header files libXt development
30 Summary(pl):    Pliki nag³ówkowe do biblioteki libXt
31 Group:          X11/Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33 Requires:       xorg-lib-libSM-devel
34 Requires:       xorg-lib-libX11-devel
35 Obsoletes:      libXt-devel
36
37 %description devel
38 X Toolkit library.
39
40 This package contains the header files needed to develop programs that
41 use these libXt.
42
43 %description devel -l pl
44 Biblioteka X Toolkit.
45
46 Pakiet zawiera pliki nag³ówkowe niezbêdne do kompilowania programów
47 u¿ywaj±cych biblioteki libXt.
48
49 %package static
50 Summary:        Static libXt library
51 Summary(pl):    Biblioteka statyczna libXt
52 Group:          X11/Development/Libraries
53 Requires:       %{name}-devel = %{version}-%{release}
54 Obsoletes:      libXt-static
55
56 %description static
57 X Toolkit library.
58
59 This package contains the static libXt library.
60
61 %description static -l pl
62 Biblioteka X Toolkit.
63
64 Pakiet zawiera statyczn± bibliotekê libXt.
65
66 %prep
67 %setup -q -n libXt-%{version}
68
69 %build
70 %{__libtoolize}
71 %{__aclocal}
72 %{__autoconf}
73 %{__autoheader}
74 %{__automake}
75 %configure
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT \
83         libmandir=%{_mandir}/man3 \
84         pkgconfigdir=%{_pkgconfigdir}
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %post   -p /sbin/ldconfig
90 %postun -p /sbin/ldconfig
91
92 %files
93 %defattr(644,root,root,755)
94 %doc COPYING ChangeLog
95 %attr(755,root,root) %{_libdir}/libXt.so.*.*.*
96
97 %files devel
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/libXt.so
100 %{_libdir}/libXt.la
101 %{_includedir}/X11/*.h
102 %{_pkgconfigdir}/xt.pc
103 %{_mandir}/man3/*.3x*
104
105 %files static
106 %defattr(644,root,root,755)
107 %{_libdir}/libXt.a
This page took 0.964427 seconds and 4 git commands to generate.