]> git.pld-linux.org Git - packages/libwps.git/blob - libwps.spec
- Small translation fixes
[packages/libwps.git] / libwps.spec
1 Summary:        A library for importing MS Works documents
2 Summary(pl.UTF-8):      Biblioteka importu dokumentów MS Works
3 Name:           libwps
4 Version:        0.1.0
5 Release:        0.1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/libwps/%{name}-%{version}.tar.bz2
9 # Source0-md5:  996ea73e1a2c07e4074d227a43c00b2e
10 URL:            http://libwps.sourceforge.net/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 libwps is a Microsoft Works file format import filter based on top of
15 the libwpd (which is already used in three word processors).
16 Currently, libwps is a new project, but it imports all Works formats
17 since about 1995 with some success.
18
19 %description -l pl.UTF-8
20 libwps jest filtrem importu plików w formacie MS Works, bazującym na
21 bibliotece libwpd używanej już w trzech procesorach tekstu. Obecnie
22 libwps jest nowym projektem, jednakże od ok. roku 1995 jest z pewnym
23 sukcesem używany do importowania wszystkich formatów MS Works.
24
25 %package devel
26 Summary:        Header files for libwps library
27 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libwps
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}-%{release}
30
31 %description devel
32 Header files for libwps library.
33
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe biblioteki libwps.
36
37 %package static
38 Summary:        Static libwps library
39 Summary(pl):    Statyczna biblioteka libwps
40 Group:          Development/Libraries
41 Requires:       %{name}-devel = %{version}-%{release}
42
43 %description static
44 Static libwps library.
45
46 %description static -l pl.UTF-8
47 Statyczna biblioteka libwps.
48
49 %package tools
50 Summary:        Tools to transform Works Documents into other formats
51 Summary(pl.UTF-8):      Narzędzia przekształcające dokumenty MS Works na inne formaty
52 Group:          Applications/Publishing
53 Requires:       %{name} = %{version}-%{release}
54
55 %description tools
56 Tools to transform Works Documents (WPS) into other formats. Currently
57 supported: html, raw, text.
58
59 %description tools -l pl.UTF-8
60 Narzędzia przekształcające dokumenty MS Works (WPS) do innych
61 formatów. Obecnie obsługiwane: html, raw, tekst.
62
63 %prep
64 %setup -q
65
66 %build
67 %configure \
68         --enable-static
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files
84 %defattr(644,root,root,755)
85 %doc CHANGES CREDITS HACKING  README
86 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
87
88 %files devel
89 %defattr(644,root,root,755)
90 %doc docs/doxygen/html
91 %attr(755,root,root) %{_libdir}/lib*.so
92 %{_libdir}/lib*.la
93 %{_includedir}/libwps*
94 %{_pkgconfigdir}/*.pc
95
96 %files static
97 %defattr(644,root,root,755)
98 %{_libdir}/lib*.a
99
100 %files tools
101 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_bindir}/wps2html
103 %attr(755,root,root) %{_bindir}/wps2raw
104 %attr(755,root,root) %{_bindir}/wps2text
This page took 0.03291 seconds and 4 git commands to generate.