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