]> git.pld-linux.org Git - SPECS.git/blob - libfreebob.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / libfreebob.spec
1 Summary:        FreeBoB - free driver implementation for the BeBoB platform
2 Summary(pl.UTF-8):      FreeBoB - wolnodostępna implementacja sterowników dla platformy BeBoB
3 Name:           libfreebob
4 Version:        1.0.11
5 Release:        6
6 License:        GPL v2+
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/freebob/%{name}-%{version}.tar.gz
9 # Source0-md5:  e49eed0084b9e793e7a0713aa99c196c
10 Patch0:         %{name}-gcc43.patch
11 Patch1:         %{name}-gcc46.patch
12 Patch2:         %{name}-gcc49.patch
13 URL:            http://freebob.sourceforge.net/
14 BuildRequires:  alsa-lib-devel >= 1.0.0
15 BuildRequires:  libavc1394-devel >= 0.5.3
16 BuildRequires:  libiec61883-devel >= 1.1.0
17 BuildRequires:  libraw1394-devel >= 1.2.1
18 BuildRequires:  libstdc++-devel
19 BuildRequires:  libxml2-devel >= 2.6.0
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This project aims to provide a free driver implemenation for the BeBoB
24 platform. The BeBoB is used in many available IEEE 1394 based
25 break-out boxes.
26
27 %description -l pl.UTF-8
28 Celem tego projektu jest zapewnienie wolnodostępnej implementacji
29 sterowników dla platformy BeBoB. BeBoB jest używana w wielu dostępnych
30 "break-out boksach" opartych na IEEE 1394.
31
32 %package devel
33 Summary:        Header files for FreeBoB library
34 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki FreeBoB
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37 Requires:       libavc1394-devel >= 0.5.3
38 Requires:       libiec61883-devel >= 1.1.0
39 Requires:       libraw1394-devel >= 1.2.1
40 Requires:       libstdc++-devel
41 Requires:       libxml2-devel >= 2.6.0
42
43 %description devel
44 Header files for FreeBoB library.
45
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe biblioteki FreeBoB.
48
49 %package static
50 Summary:        Static FreeBoB library
51 Summary(pl.UTF-8):      Statyczna biblioteka FreeBoB
52 Group:          Development/Libraries
53 Requires:       %{name}-devel = %{version}-%{release}
54
55 %description static
56 Static FreeBoB library.
57
58 %description static -l pl.UTF-8
59 Statyczna biblioteka FreeBoB.
60
61 %prep
62 %setup -q
63 %patch0 -p1
64 %patch1 -p1
65 %patch2 -p1
66
67 %build
68 %configure
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libfreebob.la
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post   -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
84
85 %files
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog NEWS README TODO
88 %attr(755,root,root) %{_libdir}/libfreebob.so.*.*.*
89 %attr(755,root,root) %ghost %{_libdir}/libfreebob.so.0
90
91 %files devel
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/libfreebob.so
94 %{_includedir}/libfreebob
95 %{_pkgconfigdir}/libfreebob.pc
96
97 %files static
98 %defattr(644,root,root,755)
99 %{_libdir}/libfreebob.a
This page took 0.658094 seconds and 3 git commands to generate.