]> git.pld-linux.org Git - packages/faxpp.git/blame - faxpp.spec
noarch apidocs
[packages/faxpp.git] / faxpp.spec
CommitLineData
867e1d84
JB
1#
2# Conditional build:
3%bcond_without apidocs # do not build and package API docs
4a363432 4
867e1d84
JB
5Summary: Fast XML Pull Parser
6Summary(pl.UTF-8): Fast XML Pull Parser - szybki analizator XML-a
7Name: faxpp
8Version: 0.4
4a363432 9Release: 2
867e1d84
JB
10License: Apache v2.0
11Group: Libraries
12Source0: http://downloads.sourceforge.net/faxpp/%{name}-%{version}.tar.gz
13# Source0-md5: cf9a8f4301699710fd93eb0c854fc420
14URL: http://faxpp.sourceforge.net/
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Faxpp is a small, fast and conformant XML pull parser written in C
19with an API that can return strings in any encoding including UTF-8
20and UTF-16. Faxpp is written by John Snelson, and is released under
21the terms of the Apache Licence v2.
22
23%description -l pl.UTF-8
24Faxpp to mały, szybki i zgodny ze standardem analizator XML-a napisany
25w C z API mogącym zwracać łańcuchy znaków w dowolnym kodowaniu,
26włącznie z UTF-8 i UTF-16. Faxpp został napisany przez Johna Snelsona
27i wydany na warunkach licencji Apache v2.
28
29%package devel
30Summary: Header files for faxpp library
31Summary(pl.UTF-8): Pliki nagłówkowe biblioteki faxpp
32Group: Development/Libraries
33Requires: %{name} = %{version}-%{release}
34
35%description devel
36Header files for faxpp library.
37
38%description devel -l pl.UTF-8
39Pliki nagłówkowe biblioteki faxpp.
40
41%package static
42Summary: Static faxpp library
43Summary(pl.UTF-8): Statyczna biblioteka faxpp
44Group: Development/Libraries
45Requires: %{name}-devel = %{version}-%{release}
46
47%description static
48Static faxpp library.
49
50%description static -l pl.UTF-8
51Statyczna biblioteka faxpp.
52
53%package apidocs
54Summary: faxpp API documentation
55Summary(pl.UTF-8): Dokumentacja API biblioteki faxpp
56Group: Documentation
4a363432
ER
57%if "%{_rpmversion}" >= "5"
58BuildArch: noarch
59%endif
867e1d84
JB
60
61%description apidocs
62API and internal documentation for faxpp library.
63
64%description apidocs -l pl.UTF-8
65Dokumentacja API biblioteki faxpp.
66
67%prep
68%setup -q
69
70%build
71%configure
72
73%{__make}
74
75%install
76rm -rf $RPM_BUILD_ROOT
77
78%{__make} install \
79 DESTDIR=$RPM_BUILD_ROOT
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%post -p /sbin/ldconfig
85%postun -p /sbin/ldconfig
86
87%files
88%defattr(644,root,root,755)
89%doc ChangeLog TODO
90%attr(755,root,root) %{_libdir}/libfaxpp.so.*.*.*
91%attr(755,root,root) %ghost %{_libdir}/libfaxpp.so.2
92
93%files devel
94%defattr(644,root,root,755)
95%attr(755,root,root) %{_libdir}/libfaxpp.so
96%{_libdir}/libfaxpp.la
97%{_includedir}/faxpp
98
99%files static
100%defattr(644,root,root,755)
101%{_libdir}/libfaxpp.a
102
103%if %{with apidocs}
104%files apidocs
105%defattr(644,root,root,755)
106%doc docs/{api,header.html}
107%endif
This page took 0.075423 seconds and 4 git commands to generate.