]> git.pld-linux.org Git - packages/eb.git/blame - eb.spec
- pl
[packages/eb.git] / eb.spec
CommitLineData
c74e9bd9
JR
1#
2# Conditional build:
3%bcond_without apidocs # do not build and package API docs
4%bcond_without static_libs # don't build static libraries
5#
6Summary: Library for accessing CD-ROM books
a3e987e0 7Summary(pl.UTF-8): Biblioteka dostępu do książek na płytach CD-ROM
c74e9bd9
JR
8Name: eb
9Version: 4.4.3
96d57b4a 10Release: 2
c74e9bd9
JR
11License: BSD
12Group: Libraries
13Source0: ftp://ftp.sra.co.jp/pub/misc/eb/%{name}-%{version}.tar.bz2
14# Source0-md5: 17dd1fade7ba0b82ce6e60f19fcbc823
15URL: http://www.sra.co.jp/people/m-kasahr/eb/
16BuildRequires: zlib-devel
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20EB Library supports to access CD-ROM books of EB, EBG, EBXA, EBXA-C,
a3e987e0
JB
21S-EBXA and EPWING formats. CD-ROM books of those formats are popular
22in Japan. Since CD-ROM books themseves are stands on the ISO 9660
c74e9bd9
JR
23format, you can mount the discs by the same way as other ISO 9660
24discs.
25
a3e987e0
JB
26%description -l pl.UTF-8
27Biblioteka EB pozwala na dostęp do książek na płytach CD-ROM w
28formatach EB, EBG, EBXA, EBXA-C, S-EBXA oraz EPWING. Książki w tych
29formatach są popularne w Japonii. Ponieważ książki na płytach jako
30takie są plikami zapisanymi w formacie ISO 9660, można montować
31takie płyty w taki sam sposób, jak inne płyty ISO 9660.
c74e9bd9
JR
32
33%package utils
34Summary: Utilities provided by EB library
35Summary(pl.UTF-8): Narzędzia dostarczane przez bibliotekę EB
36Group: Development/Libraries
37Requires: %{name} = %{version}-%{release}
38
39%description utils
40Utilities provided by EB library.
41
42%description utils -l pl.UTF-8
43Narzędzia dostarczane przez bibliotekę EB.
44
45%package devel
46Summary: Header files for EB library
47Summary(pl.UTF-8): Pliki nagłówkowe biblioteki EB
48Group: Development/Libraries
49Requires: %{name} = %{version}-%{release}
50
51%description devel
52Header files for EB library.
53
54%description devel -l pl.UTF-8
55Pliki nagłówkowe biblioteki EB.
56
57%package static
58Summary: Static EB library
59Summary(pl.UTF-8): Statyczna biblioteka EB
60Group: Development/Libraries
61Requires: %{name}-devel = %{version}-%{release}
62
63%description static
64Static EB library.
65
66%description static -l pl.UTF-8
67Statyczna biblioteka EB.
68
69%package apidocs
70Summary: EB API documentation
71Summary(pl.UTF-8): Dokumentacja API biblioteki EB
72Group: Documentation
73
74%description apidocs
75API and internal documentation for EB library.
76
77%description apidocs -l pl.UTF-8
78Dokumentacja API biblioteki EB.
79
80%prep
81%setup -q
82
83%build
84%configure \
85 --enable-samples \
86 --enable-pthread \
87 --enable-ebnet \
88 --enable-ipv6 \
89 --with-pkgdocdir=%{_docdir}/%{name}-apidocs-%{version} \
90 %{!?with_static_libs:--disable-static}
91%{__make}
92
93%install
94rm -rf $RPM_BUILD_ROOT
95
96%{__make} install \
97 DESTDIR=$RPM_BUILD_ROOT
98
99%find_lang %{name}
100%find_lang ebutils
101
102%clean
103rm -rf $RPM_BUILD_ROOT
104
105%post -p /sbin/ldconfig
106%postun -p /sbin/ldconfig
107
108%files -f %{name}.lang
109%defattr(644,root,root,755)
110%doc AUTHORS ChangeLog* NEWS README
111%attr(755,root,root) %{_libdir}/libeb.so.*.*.*
112%attr(755,root,root) %ghost %{_libdir}/libeb.so.16
113
114%files utils -f ebutils.lang
115%defattr(644,root,root,755)
a3e987e0
JB
116%attr(755,root,root) %{_bindir}/ebappendix
117%attr(755,root,root) %{_bindir}/ebfont
118%attr(755,root,root) %{_bindir}/ebinfo
119%attr(755,root,root) %{_bindir}/ebrefile
120%attr(755,root,root) %{_bindir}/ebstopcode
121%attr(755,root,root) %{_bindir}/ebunzip
122%attr(755,root,root) %{_bindir}/ebzip
123%attr(755,root,root) %{_bindir}/ebzipinfo
c74e9bd9
JR
124
125%files devel
126%defattr(644,root,root,755)
127%{_sysconfdir}/eb.conf
a3e987e0 128%attr(755,root,root) %{_libdir}/libeb.so
c74e9bd9
JR
129%{_libdir}/libeb.la
130%{_includedir}/eb
131%{_aclocaldir}/eb4.m4
132
133%if %{with static_libs}
134%files static
135%defattr(644,root,root,755)
136%{_libdir}/libeb.a
137%endif
138
139%if %{with apidocs}
140%files apidocs
141%defattr(644,root,root,755)
96d57b4a 142%doc %{_docdir}/%{name}-apidocs-%{version}
c74e9bd9 143%endif
This page took 0.095087 seconds and 4 git commands to generate.