-
Notifications
You must be signed in to change notification settings - Fork 0
/
OpenSP.spec
54 lines (48 loc) · 1.04 KB
/
OpenSP.spec
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
Name: OpenSP
Summary: OpenSP
Version: 1.5
Release: 6
Source: OpenSP-%{version}.tar.gz
Copyright: Other
Group: Applications/XML
BuildRoot: /var/tmp/%{name}-root
%description
OpenSP
%prep
%setup -q
%build
./configure --prefix=/usr/local --exec-prefix=/usr/local --with-libxml-libs-prefix=/usr/local/lib/
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/local
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
/usr/local/bin
/usr/local/bin/onsgmls
/usr/local/bin/osgmlnorm
/usr/local/bin/ospam
/usr/local/bin/ospcat
/usr/local/bin/ospent
/usr/local/bin/osx
/usr/local/doc
/usr/local/doc/OpenSP/*
/usr/local/include
/usr/local/include/OpenSP/*
/usr/local/lib/libosp.a
/usr/local/lib/libosp.la
/usr/local/lib/libosp.so
/usr/local/lib/libosp.so.3
/usr/local/lib/libosp.so.3.0.0
/usr/local/man
/usr/local/man/man1
/usr/local/man/man1/onsgmls.1
/usr/local/man/man1/osgmlnorm.1
/usr/local/man/man1/ospam.1
/usr/local/man/man1/ospent.1
/usr/local/man/man1/osx.1
/usr/local/share/OpenSP/*
/usr/local/share/doc/*