]>
Commit | Line | Data |
---|---|---|
987f9379 | 1 | Summary: Interface to Linux IEEE-1394 subsystem |
29c269a5 | 2 | Summary(pl.UTF-8): Biblioteka do obsługi podsystemu IEEE-1394 |
88288c86 | 3 | Name: libraw1394 |
b04bf57d | 4 | Version: 2.1.2 |
2f79ebbf | 5 | Release: 1 |
a97d5f77 | 6 | License: LGPL v2.1+ |
987f9379 | 7 | Group: Libraries |
b04bf57d JB |
8 | Source0: https://www.kernel.org/pub/linux/libs/ieee1394/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 118060584c04f1aa5e29c4d22c1c235a | |
771473f0 | 10 | URL: https://ieee1394.wiki.kernel.org/index.php/Libraries#libraw1394 |
1a78479d | 11 | BuildRequires: autoconf >= 2.50 |
7655cdc2 | 12 | BuildRequires: automake |
f2fa7d78 JB |
13 | BuildRequires: docbook-dtd412-xml |
14 | BuildRequires: docbook-style-xsl | |
1a78479d | 15 | BuildRequires: docbook-utils |
7655cdc2 | 16 | BuildRequires: libtool |
f3de9e4b JB |
17 | BuildRequires: tar >= 1:1.22 |
18 | BuildRequires: xz | |
88288c86 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
88288c86 | 21 | %description |
3a568b76 | 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, | |
987f9379 | 25 | applications can directly send to and receive from other nodes without |
26 | requiring a kernel driver for the protocol in question. | |
27 | ||
7c30ed72 | 28 | %description -l pl.UTF-8 |
ede911a0 | 29 | libraw1394 jest jedynym supportowanym po stronie kernela linuksowego |
7c30ed72 JR |
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 | |
3a568b76 | 33 | potrzeby kernelowego drivera w zapytaniu. |
88288c86 | 34 | |
35 | %package devel | |
987f9379 | 36 | Summary: libraw1394 header files |
29c269a5 | 37 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libraw1394 |
88288c86 | 38 | Group: Development/Libraries |
1a78479d | 39 | Requires: %{name} = %{version}-%{release} |
88288c86 | 40 | |
41 | %description devel | |
19eacb2a | 42 | libraw1394 devel package. |
43 | ||
7c30ed72 JR |
44 | %description devel -l pl.UTF-8 |
45 | Pliki nagłówkowe biblioteki libraw1394. | |
88288c86 | 46 | |
47 | %package static | |
72819604 | 48 | Summary: libraw1394 static library |
29c269a5 | 49 | Summary(pl.UTF-8): Statyczna biblioteka do obsługi formatu IEEE-1394 |
88288c86 | 50 | Group: Development/Libraries |
1a78479d | 51 | Requires: %{name}-devel = %{version}-%{release} |
88288c86 | 52 | |
88288c86 | 53 | %description static |
72819604 | 54 | libraw1394 static librawy. |
3579f258 | 55 | |
7c30ed72 | 56 | %description static -l pl.UTF-8 |
72819604 | 57 | Statyczna biblioteka libraw1394. |
88288c86 | 58 | |
59 | %prep | |
72819604 | 60 | %setup -q |
88288c86 | 61 | |
62 | %build | |
d8d0eff7 | 63 | %{__libtoolize} |
13309f1e | 64 | %{__aclocal} |
72819604 | 65 | %{__autoheader} |
0e807fa1 | 66 | %{__autoconf} |
72819604 | 67 | %{__automake} |
3a568b76 | 68 | %configure |
88288c86 | 69 | %{__make} |
70 | ||
1a78479d JB |
71 | %{__make} -C doc htmldoc |
72 | ||
88288c86 | 73 | %install |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
19eacb2a | 76 | %{__make} install \ |
1a78479d | 77 | DESTDIR=$RPM_BUILD_ROOT |
88288c86 | 78 | |
88288c86 | 79 | %clean |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
72819604 JB |
82 | %post -p /sbin/ldconfig |
83 | %postun -p /sbin/ldconfig | |
84 | ||
88288c86 | 85 | %files |
86 | %defattr(644,root,root,755) | |
b66e66f8 | 87 | %doc AUTHORS ChangeLog NEWS README |
a97d5f77 JB |
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.*.*.* | |
72388f6c | 92 | %attr(755,root,root) %ghost %{_libdir}/libraw1394.so.11 |
a97d5f77 JB |
93 | %{_mandir}/man1/dumpiso.1* |
94 | %{_mandir}/man1/sendiso.1* | |
95 | %{_mandir}/man1/testlibraw.1* | |
1a78479d | 96 | %{_mandir}/man5/isodump.5* |
88288c86 | 97 | |
98 | %files devel | |
99 | %defattr(644,root,root,755) | |
1a78479d | 100 | %doc doc/libraw1394/* |
b66e66f8 JB |
101 | %attr(755,root,root) %{_libdir}/libraw1394.so |
102 | %{_libdir}/libraw1394.la | |
88288c86 | 103 | %{_includedir}/libraw1394 |
b66e66f8 | 104 | %{_pkgconfigdir}/libraw1394.pc |
88288c86 | 105 | |
106 | %files static | |
107 | %defattr(644,root,root,755) | |
b66e66f8 | 108 | %{_libdir}/libraw1394.a |