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