]>
Commit | Line | Data |
---|---|---|
911ee803 | 1 | Summary: A library for importing MS Works documents |
db92e1d7 | 2 | Summary(pl.UTF-8): Biblioteka importu dokumentów MS Works |
2467fca3 | 3 | Name: libwps |
5c28620b | 4 | Version: 0.2.0 |
4667f18d | 5 | Release: 1 |
2186285f | 6 | License: LGPL v2+ |
2467fca3 | 7 | Group: Libraries |
5c28620b CM |
8 | Source0: http://downloads.sourceforge.net/libwps/%{name}-%{version}.tar.gz |
9 | # Source0-md5: b569376fb0aefc5284b10a695bd2daa6 | |
2467fca3 | 10 | URL: http://libwps.sourceforge.net/ |
909d22de | 11 | BuildRequires: automake |
d1655cfa | 12 | BuildRequires: doxygen |
2186285f | 13 | BuildRequires: libstdc++-devel |
5c28620b | 14 | BuildRequires: libwpd-devel >= 0.9 |
2186285f | 15 | BuildRequires: pkgconfig |
5c28620b | 16 | Requires: libwpd >= 0.9 |
2467fca3 ER |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
20 | libwps is a Microsoft Works file format import filter based on top of | |
21 | the libwpd (which is already used in three word processors). | |
22 | Currently, libwps is a new project, but it imports all Works formats | |
23 | since about 1995 with some success. | |
24 | ||
911ee803 | 25 | %description -l pl.UTF-8 |
db92e1d7 | 26 | libwps jest filtrem importu plików w formacie MS Works, bazującym na |
911ee803 | 27 | bibliotece libwpd używanej już w trzech procesorach tekstu. Obecnie |
28 | libwps jest nowym projektem, jednakże od ok. roku 1995 jest z pewnym | |
db92e1d7 | 29 | sukcesem używany do importowania wszystkich formatów MS Works. |
911ee803 | 30 | |
2467fca3 ER |
31 | %package devel |
32 | Summary: Header files for libwps library | |
911ee803 | 33 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libwps |
2467fca3 ER |
34 | Group: Development/Libraries |
35 | Requires: %{name} = %{version}-%{release} | |
2186285f | 36 | Requires: libstdc++-devel |
5c28620b | 37 | Requires: libwpd-devel >= 0.9 |
2467fca3 ER |
38 | |
39 | %description devel | |
40 | Header files for libwps library. | |
41 | ||
911ee803 | 42 | %description devel -l pl.UTF-8 |
43 | Pliki nagłówkowe biblioteki libwps. | |
2467fca3 ER |
44 | |
45 | %package static | |
46 | Summary: Static libwps library | |
47 | Summary(pl): Statyczna biblioteka libwps | |
48 | Group: Development/Libraries | |
49 | Requires: %{name}-devel = %{version}-%{release} | |
50 | ||
51 | %description static | |
52 | Static libwps library. | |
53 | ||
911ee803 | 54 | %description static -l pl.UTF-8 |
2467fca3 ER |
55 | Statyczna biblioteka libwps. |
56 | ||
57 | %package tools | |
58 | Summary: Tools to transform Works Documents into other formats | |
911ee803 | 59 | Summary(pl.UTF-8): Narzędzia przekształcające dokumenty MS Works na inne formaty |
2467fca3 ER |
60 | Group: Applications/Publishing |
61 | Requires: %{name} = %{version}-%{release} | |
62 | ||
63 | %description tools | |
64 | Tools to transform Works Documents (WPS) into other formats. Currently | |
65 | supported: html, raw, text. | |
66 | ||
911ee803 | 67 | %description tools -l pl.UTF-8 |
68 | Narzędzia przekształcające dokumenty MS Works (WPS) do innych | |
69 | formatów. Obecnie obsługiwane: html, raw, tekst. | |
70 | ||
2467fca3 ER |
71 | %prep |
72 | %setup -q | |
73 | ||
74 | %build | |
909d22de | 75 | cp /usr/share/automake/config.sub . |
2467fca3 ER |
76 | %configure \ |
77 | --enable-static | |
78 | %{__make} | |
79 | ||
80 | %install | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %{__make} install \ | |
84 | DESTDIR=$RPM_BUILD_ROOT | |
85 | ||
86 | %clean | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %post -p /sbin/ldconfig | |
90 | %postun -p /sbin/ldconfig | |
91 | ||
92 | %files | |
93 | %defattr(644,root,root,755) | |
4ef02430 | 94 | %doc CHANGES CREDITS HACKING README |
5c28620b CM |
95 | %attr(755,root,root) %{_libdir}/libwps-0.2.so.*.*.* |
96 | %attr(755,root,root) %ghost %{_libdir}/libwps-0.2.so.2 | |
97 | #%attr(755,root,root) %{_libdir}/libwps-stream-0.2.so.*.*.* | |
98 | #%attr(755,root,root) %ghost %{_libdir}/libwps-stream-0.2.so.1 | |
2467fca3 ER |
99 | |
100 | %files devel | |
101 | %defattr(644,root,root,755) | |
102 | %doc docs/doxygen/html | |
5c28620b CM |
103 | %attr(755,root,root) %{_libdir}/libwps-0.2.so |
104 | #%attr(755,root,root) %{_libdir}/libwps-stream-0.2.so | |
105 | %{_libdir}/libwps-0.2.la | |
106 | #%{_libdir}/libwps-stream-0.2.la | |
107 | %{_includedir}/libwps-0.2 | |
108 | %{_pkgconfigdir}/libwps-0.2.pc | |
109 | #%{_pkgconfigdir}/libwps-stream-0.2.pc | |
2467fca3 ER |
110 | |
111 | %files static | |
112 | %defattr(644,root,root,755) | |
5c28620b CM |
113 | %{_libdir}/libwps-0.2.a |
114 | #%{_libdir}/libwps-stream-0.2.a | |
2467fca3 ER |
115 | |
116 | %files tools | |
117 | %defattr(644,root,root,755) | |
118 | %attr(755,root,root) %{_bindir}/wps2html | |
119 | %attr(755,root,root) %{_bindir}/wps2raw | |
120 | %attr(755,root,root) %{_bindir}/wps2text |