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