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