]> git.pld-linux.org Git - packages/eb.git/blame - eb.spec
- x32 rebuild
[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
80810856 5
c74e9bd9 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
6bd9912a 10Release: 4
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
80810856
ER
30takie są plikami zapisanymi w formacie ISO 9660, można montować takie
31pł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
80810856
ER
73%if "%{_rpmversion}" >= "5"
74BuildArch: noarch
75%endif
c74e9bd9
JR
76
77%description apidocs
78API and internal documentation for EB library.
79
80%description apidocs -l pl.UTF-8
81Dokumentacja API biblioteki EB.
82
83%prep
84%setup -q
85
86%build
87%configure \
88 --enable-samples \
89 --enable-pthread \
90 --enable-ebnet \
91 --enable-ipv6 \
92 --with-pkgdocdir=%{_docdir}/%{name}-apidocs-%{version} \
93 %{!?with_static_libs:--disable-static}
94%{__make}
95
96%install
97rm -rf $RPM_BUILD_ROOT
98
99%{__make} install \
100 DESTDIR=$RPM_BUILD_ROOT
101
102%find_lang %{name}
103%find_lang ebutils
104
105%clean
106rm -rf $RPM_BUILD_ROOT
107
108%post -p /sbin/ldconfig
109%postun -p /sbin/ldconfig
110
111%files -f %{name}.lang
112%defattr(644,root,root,755)
113%doc AUTHORS ChangeLog* NEWS README
114%attr(755,root,root) %{_libdir}/libeb.so.*.*.*
115%attr(755,root,root) %ghost %{_libdir}/libeb.so.16
116
117%files utils -f ebutils.lang
118%defattr(644,root,root,755)
a3e987e0
JB
119%attr(755,root,root) %{_bindir}/ebappendix
120%attr(755,root,root) %{_bindir}/ebfont
121%attr(755,root,root) %{_bindir}/ebinfo
122%attr(755,root,root) %{_bindir}/ebrefile
123%attr(755,root,root) %{_bindir}/ebstopcode
124%attr(755,root,root) %{_bindir}/ebunzip
125%attr(755,root,root) %{_bindir}/ebzip
126%attr(755,root,root) %{_bindir}/ebzipinfo
c74e9bd9
JR
127
128%files devel
129%defattr(644,root,root,755)
130%{_sysconfdir}/eb.conf
a3e987e0 131%attr(755,root,root) %{_libdir}/libeb.so
c74e9bd9
JR
132%{_libdir}/libeb.la
133%{_includedir}/eb
134%{_aclocaldir}/eb4.m4
135
136%if %{with static_libs}
137%files static
138%defattr(644,root,root,755)
139%{_libdir}/libeb.a
140%endif
141
142%if %{with apidocs}
143%files apidocs
144%defattr(644,root,root,755)
96d57b4a 145%doc %{_docdir}/%{name}-apidocs-%{version}
c74e9bd9 146%endif
This page took 0.054513 seconds and 4 git commands to generate.