]>
Commit | Line | Data |
---|---|---|
1 | Summary: Interface to Linux IEEE-1394 subsystem | |
2 | Summary(pl.UTF-8): Biblioteka do obsługi podsystemu IEEE-1394 | |
3 | Name: libraw1394 | |
4 | Version: 2.1.2 | |
5 | Release: 1 | |
6 | License: LGPL v2.1+ | |
7 | Group: Libraries | |
8 | Source0: https://www.kernel.org/pub/linux/libs/ieee1394/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: 118060584c04f1aa5e29c4d22c1c235a | |
10 | URL: https://ieee1394.wiki.kernel.org/index.php/Libraries#libraw1394 | |
11 | BuildRequires: autoconf >= 2.50 | |
12 | BuildRequires: automake | |
13 | BuildRequires: docbook-dtd412-xml | |
14 | BuildRequires: docbook-style-xsl | |
15 | BuildRequires: docbook-utils | |
16 | BuildRequires: libtool | |
17 | BuildRequires: tar >= 1:1.22 | |
18 | BuildRequires: xz | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | libraw1394 is the only supported interface to the kernel side raw1394 | |
23 | of the Linux IEEE-1394 subsystem, which provides direct access to the | |
24 | connected 1394 buses to user space. Through libraw1394/raw1394, | |
25 | applications can directly send to and receive from other nodes without | |
26 | requiring a kernel driver for the protocol in question. | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | libraw1394 jest jedynym supportowanym po stronie kernela linuksowego | |
30 | raw1394 subsystemu IEEE-1394, który zapewnia bezpośredni dostęp do | |
31 | szyn 1394 w przestrzeni użytkownika. Poprzez libraw1394/raw1394 | |
32 | aplikacje mogą bezpośrednio wysyłać i otrzymywać z innych końcówek bez | |
33 | potrzeby kernelowego drivera w zapytaniu. | |
34 | ||
35 | %package devel | |
36 | Summary: libraw1394 header files | |
37 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libraw1394 | |
38 | Group: Development/Libraries | |
39 | Requires: %{name} = %{version}-%{release} | |
40 | ||
41 | %description devel | |
42 | libraw1394 devel package. | |
43 | ||
44 | %description devel -l pl.UTF-8 | |
45 | Pliki nagłówkowe biblioteki libraw1394. | |
46 | ||
47 | %package static | |
48 | Summary: libraw1394 static library | |
49 | Summary(pl.UTF-8): Statyczna biblioteka do obsługi formatu IEEE-1394 | |
50 | Group: Development/Libraries | |
51 | Requires: %{name}-devel = %{version}-%{release} | |
52 | ||
53 | %description static | |
54 | libraw1394 static librawy. | |
55 | ||
56 | %description static -l pl.UTF-8 | |
57 | Statyczna biblioteka libraw1394. | |
58 | ||
59 | %prep | |
60 | %setup -q | |
61 | ||
62 | %build | |
63 | %{__libtoolize} | |
64 | %{__aclocal} | |
65 | %{__autoheader} | |
66 | %{__autoconf} | |
67 | %{__automake} | |
68 | %configure | |
69 | %{__make} | |
70 | ||
71 | %{__make} -C doc htmldoc | |
72 | ||
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %{__make} install \ | |
77 | DESTDIR=$RPM_BUILD_ROOT | |
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 | |
88 | %attr(755,root,root) %{_bindir}/dumpiso | |
89 | %attr(755,root,root) %{_bindir}/sendiso | |
90 | %attr(755,root,root) %{_bindir}/testlibraw | |
91 | %attr(755,root,root) %{_libdir}/libraw1394.so.*.*.* | |
92 | %attr(755,root,root) %ghost %{_libdir}/libraw1394.so.11 | |
93 | %{_mandir}/man1/dumpiso.1* | |
94 | %{_mandir}/man1/sendiso.1* | |
95 | %{_mandir}/man1/testlibraw.1* | |
96 | %{_mandir}/man5/isodump.5* | |
97 | ||
98 | %files devel | |
99 | %defattr(644,root,root,755) | |
100 | %doc doc/libraw1394/* | |
101 | %attr(755,root,root) %{_libdir}/libraw1394.so | |
102 | %{_libdir}/libraw1394.la | |
103 | %{_includedir}/libraw1394 | |
104 | %{_pkgconfigdir}/libraw1394.pc | |
105 | ||
106 | %files static | |
107 | %defattr(644,root,root,755) | |
108 | %{_libdir}/libraw1394.a |