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