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