]> git.pld-linux.org Git - packages/libwps.git/blob - libwps.spec
- ver. 0.1.2
[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.2
5 Release:        1
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/libwps/%{name}-%{version}.tar.gz
9 # Source0-md5:  799fc3b835a79adce8c88a3fee0150c1
10 URL:            http://libwps.sourceforge.net/
11 BuildRequires:  automake
12 BuildRequires:  libstdc++-devel
13 BuildRequires:  libwpd-devel >= 0.8
14 BuildRequires:  pkgconfig
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
23 %description -l pl.UTF-8
24 libwps jest filtrem importu plików w formacie MS Works, bazującym na
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
27 sukcesem używany do importowania wszystkich formatów MS Works.
28
29 %package devel
30 Summary:        Header files for libwps library
31 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libwps
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Requires:       libstdc++-devel
35 Requires:       libwpd-devel >= 0.8
36
37 %description devel
38 Header files for libwps library.
39
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe biblioteki libwps.
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
52 %description static -l pl.UTF-8
53 Statyczna biblioteka libwps.
54
55 %package tools
56 Summary:        Tools to transform Works Documents into other formats
57 Summary(pl.UTF-8):      Narzędzia przekształcające dokumenty MS Works na inne formaty
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
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
69 %prep
70 %setup -q
71
72 %build
73 cp /usr/share/automake/config.sub .
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}/libwps-0.1.so.*.*.*
94 %attr(755,root,root) %ghost %{_libdir}/libwps-0.1.so.1
95 %attr(755,root,root) %{_libdir}/libwps-stream-0.1.so.*.*.*
96 %attr(755,root,root) %ghost %{_libdir}/libwps-stream-0.1.so.1
97
98 %files devel
99 %defattr(644,root,root,755)
100 %doc docs/doxygen/html
101 %attr(755,root,root) %{_libdir}/libwps-0.1.so
102 %attr(755,root,root) %{_libdir}/libwps-stream-0.1.so
103 %{_libdir}/libwps-0.1.la
104 %{_libdir}/libwps-stream-0.1.la
105 %{_includedir}/libwps-0.1
106 %{_pkgconfigdir}/libwps-0.1.pc
107 %{_pkgconfigdir}/libwps-stream-0.1.pc
108
109 %files static
110 %defattr(644,root,root,755)
111 %{_libdir}/libwps-0.1.a
112 %{_libdir}/libwps-stream-0.1.a
113
114 %files tools
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_bindir}/wps2html
117 %attr(755,root,root) %{_bindir}/wps2raw
118 %attr(755,root,root) %{_bindir}/wps2text
This page took 0.076476 seconds and 4 git commands to generate.