]>
Commit | Line | Data |
---|---|---|
85c6a199 | 1 | Summary: Library for reading and converting WordPerfect(TM) documents |
05c40254 | 2 | Summary(pl.UTF-8): Biblioteka do odczytu i konwersji dokumentów WordPerfecta(TM) |
85c6a199 | 3 | Name: libwpd |
cb060c3f | 4 | Version: 0.8.8 |
79046f67 | 5 | Release: 1 |
85c6a199 JB |
6 | License: LGPL |
7 | Group: Libraries | |
8 | Source0: http://dl.sourceforge.net/libwpd/%{name}-%{version}.tar.gz | |
cb060c3f | 9 | # Source0-md5: cd5997284f4ba1e8dde5d1e5869fc342 |
398405d8 | 10 | URL: http://libwpd.sourceforge.net/ |
85c6a199 JB |
11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
83e37cdc | 13 | BuildRequires: glib2-devel >= 1:2.12.0 |
14 | BuildRequires: libgsf-devel >= 1.14.1 | |
85c6a199 | 15 | BuildRequires: libstdc++-devel |
b184f180 | 16 | BuildRequires: libtool >= 2:1.5 |
85c6a199 | 17 | BuildRequires: pkgconfig |
83e37cdc | 18 | Requires: glib2 >= 1:2.12.0 |
19 | Requires: libgsf >= 1.14.1 | |
85c6a199 JB |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | Library that handles WordPerfect documents. | |
24 | ||
99061e4a JR |
25 | %description -l pl.UTF-8 |
26 | Biblioteka obsługująca dokumenty WordPerfecta. | |
85c6a199 JB |
27 | |
28 | %package devel | |
29 | Summary: Header files for libwpd library | |
05c40254 | 30 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libwpd |
85c6a199 | 31 | Group: Development/Libraries |
e75bba20 | 32 | Requires: %{name} = %{version}-%{release} |
83e37cdc | 33 | Requires: glib2-devel >= 1:2.12.0 |
34 | Requires: libgsf-devel >= 1.14.1 | |
85c6a199 JB |
35 | Requires: libstdc++-devel |
36 | ||
37 | %description devel | |
38 | Header files for libwpd library. | |
39 | ||
99061e4a JR |
40 | %description devel -l pl.UTF-8 |
41 | Pliki nagłówkowe biblioteki libwpd. | |
85c6a199 JB |
42 | |
43 | %package static | |
44 | Summary: Static libwpd library | |
05c40254 | 45 | Summary(pl.UTF-8): Statyczna biblioteka libwpd |
85c6a199 | 46 | Group: Development/Libraries |
e75bba20 | 47 | Requires: %{name}-devel = %{version}-%{release} |
85c6a199 JB |
48 | |
49 | %description static | |
50 | Static libwpd library. | |
51 | ||
99061e4a | 52 | %description static -l pl.UTF-8 |
85c6a199 JB |
53 | Statyczna biblioteka libwpd. |
54 | ||
55 | %package tools | |
56 | Summary: Tools to transform WordPerfect Documents into other formats | |
05c40254 | 57 | Summary(pl.UTF-8): Narzędzia do przekształcania dokumentów WordPerfecta na inne formaty |
85c6a199 | 58 | Group: Applications/Publishing |
e75bba20 | 59 | Requires: %{name} = %{version}-%{release} |
85c6a199 JB |
60 | |
61 | %description tools | |
62 | Tools to transform WordPerfect Documents (WPD) into other formats. | |
63 | Currently supported: html, raw, text. | |
64 | ||
99061e4a JR |
65 | %description tools -l pl.UTF-8 |
66 | Narzędzia do przekształcania dokumentów WordPerfecta (WPD) na inne | |
67 | formaty. Aktualnie obsługiwane są: html, raw, text. | |
85c6a199 JB |
68 | |
69 | %prep | |
70 | %setup -q | |
71 | ||
72 | %build | |
85c6a199 JB |
73 | %{__libtoolize} |
74 | %{__aclocal} | |
75 | %{__autoconf} | |
76 | %{__autoheader} | |
77 | %{__automake} | |
78 | %configure \ | |
79 | --enable-static | |
80 | %{__make} | |
81 | ||
82 | %install | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %{__make} install \ | |
86 | DESTDIR=$RPM_BUILD_ROOT | |
87 | ||
88 | %clean | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
91 | %post -p /sbin/ldconfig | |
92 | %postun -p /sbin/ldconfig | |
93 | ||
94 | %files | |
95 | %defattr(644,root,root,755) | |
96 | %doc CHANGES TODO | |
97 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
98 | ||
99 | %files devel | |
100 | %defattr(644,root,root,755) | |
101 | %attr(755,root,root) %{_libdir}/lib*.so | |
102 | %{_libdir}/lib*.la | |
103 | %{_includedir}/libwpd* | |
104 | %{_pkgconfigdir}/*.pc | |
105 | ||
106 | %files static | |
107 | %defattr(644,root,root,755) | |
108 | %{_libdir}/lib*.a | |
109 | ||
110 | %files tools | |
111 | %defattr(644,root,root,755) | |
112 | %attr(755,root,root) %{_bindir}/* |