File: wpd2sxw.spec

package info (click to toggle)
writerperfect 0.7.0-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,960 kB
  • ctags: 2,538
  • sloc: sh: 8,498; cpp: 4,063; makefile: 149; xml: 53
file content (62 lines) | stat: -rw-r--r-- 1,680 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
%define name wpd2sxw
%define sourcename writerperfect
%define version 0.7.0
%define  RELEASE 1
%define  release     %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}

Name: %{name}
Summary: Tool for converting WordPerfect(tm) documents into OpenOffice.org Writer format.
Version: %{version}
Release: %{release}
Source: ftp://ftp.sourceforge.net/pub/sourceforge/libwpd/%{sourcename}-%{version}.tar.gz
Group: Applications
URL: http://libwpd.sf.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
License: LGPL
Requires: libwpd >= 0.8.0
Requires: glib2 >= 2.0.0
Requires: libgsf >= 1.6.0
BuildRequires: libwpd-devel >= 0.8.0
BuildRequires: glib2-devel >= 2.0.0
BuildRequires: libgsf-devel >= 1.6.0

%description
Tool for converting Word Perfect documents into OpenOffice.org Writer format.

%prep
%__rm -rf $RPM_BUILD_ROOT

%setup -q -n %{sourcename}-%{version}

%build
./configure --prefix=%{_prefix} --exec-prefix=%{_prefix} \
	%{?_with_debug:--enable-debug}  \

%__make

%install
umask 022

%__make DESTDIR=$RPM_BUILD_ROOT install

%clean
%__rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/file.list.%{name}

%files
%defattr(755,root,root,755)
%{_bindir}/*

%changelog
* Wed Nov 17 2004 Fridrich Strba <fridrich.strba@bluewin.ch>
- Remove execution of autogen.sh
- Source tarball is writerperfect-X.Y.Z.tar.gz

* Tue Sep  9 2003 Fridrich Strba <fridrich.strba@bluewin.ch>
- Add execution of autogen.sh before ./configure

* Mon May 26 2003 Rui M. Seabra <rms@1407.org>
- Change spec to spec.in
- Remove Prefix: since we're using whatever the distribution uses by default

* Thu May  8 2003 Fridrich Strba <fridrich.strba@bluewin.ch>
- Create rpm spec using libwpd .spec of Rui M. Seabra