]> git.pld-linux.org Git - SPECS.git/blob - libdlo.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / libdlo.spec
1 Summary:        DisplayLink library
2 Summary(pl.UTF-8):      Biblioteka DisplayLink
3 Name:           libdlo
4 Version:        0.1.2
5 Release:        0.1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://people.freedesktop.org/~berniet/%{name}-%{version}.tar.gz
9 # Source0-md5:  a7bb8ec3bdb6ce1d702794de3e4f2112
10 URL:            http://freedesktop.org/wiki/Software/libdlo
11 BuildRequires:  autoconf >= 2.57
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRequires:  libusb-compat-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 libdlo is an open-source implementation of DisplayLink USB graphics
19 software.
20
21 %description -l pl.UTF-8
22 libdlo jest otwartą implementacją DisplayLink USB graphics software.
23
24 %package devel
25 Summary:        Header files for libdlo library
26 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libdlo
27 Group:          Development/Libraries
28 Requires:       %{name} = %{version}-%{release}
29
30 %description devel
31 Header files for libdlo library.
32
33 %description devel -l pl.UTF-8
34 Pliki nagłówkowe biblioteki libdlo.
35
36 %package static
37 Summary:        Static libdlo library
38 Summary(pl.UTF-8):      Statyczna biblioteka libdlo
39 Group:          Development/Libraries
40 Requires:       %{name}-devel = %{version}-%{release}
41
42 %description static
43 Static libdlo library.
44
45 %description static -l pl.UTF-8
46 Statyczna biblioteka libdlo.
47
48 %prep
49 %setup -q
50 %{__sed} -i -e 's/${libdir_name}/${libdir}/g' configure.ac
51 %{__sed} -i -e 's/libdlo.h/..\/src\/libdlo.h/g' test/test1.c
52
53 %build
54 %{__libtoolize}
55 %{__aclocal}
56 %{__autoconf}
57 %{__autoheader}
58 %{__automake}
59 %configure
60
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post   -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
74
75 %files
76 %defattr(644,root,root,755)
77 %doc AUTHORS COPYING Guide-v104.pdf README
78 %attr(755,root,root) %{_bindir}/test1
79 %attr(755,root,root) %{_libdir}/libdlo.so.*.*.*
80 %attr(755,root,root) %ghost %{_libdir}/libdlo.so.0
81
82 %files devel
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/libdlo.so
85 %{_libdir}/libdlo.la
86 %{_includedir}/libdlo.h
87
88 %files static
89 %defattr(644,root,root,755)
90 %{_libdir}/libdlo.a
This page took 0.238903 seconds and 3 git commands to generate.