]> git.pld-linux.org Git - packages/libwps.git/blob - libwps.spec
- rel 1
[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.0
5 Release:        1
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/libwps/%{name}-%{version}.tar.bz2
9 # Source0-md5:  996ea73e1a2c07e4074d227a43c00b2e
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}/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
This page took 0.049101 seconds and 4 git commands to generate.