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