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