File: libdshconfig.spec

package info (click to toggle)
libdshconfig 0.20.12-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,476 kB
  • ctags: 40
  • sloc: sh: 8,710; ansic: 230; makefile: 89
file content (64 lines) | stat: -rw-r--r-- 1,871 bytes parent folder | download | duplicates (2)
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
63
64
%define name	libdshconfig
%define ver		0.20.9
%define rel		1

Summary		: Library for parsing dsh-style configuration files.
Name			: %{name}
Version		: %{ver}
Release		: %{rel}
Copyright	: GPL
Group			: Applications/Internet
URL			: http://www.netfort.gr.jp/~dancer/software/downloads/list.cgi
Source		: %{name}-%{ver}.tar.gz
BuildRoot	: /var/tmp/%{name}-buildroot
#Requires		: 

%package devel
Summary: Library for parsing dsh-style configuration files.
Requires: libdshconfig = %{version}-%{release}
Group: Applications/Internet

%description
Library for parsing dsh-style configuration files.
Required by dsh and other applications.

%description devel
Library for parsing dsh-style configuration files.
Required by dsh and other applications.

%prep
%setup -q

%build
%configure
make

%install
rm -rf "$RPM_BUILD_ROOT"
make DESTDIR="$RPM_BUILD_ROOT" install
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/libdshconfig-%{ver}
cp -p AUTHORS COPYING ChangeLog INSTALL NEWS README $RPM_BUILD_ROOT/usr/share/doc/libdshconfig-%{ver}

%files
%defattr(-,root,root)
%attr(0755,root,root) /usr/lib/libdshconfig.so.1.0.0
%attr(0755,root,root) /usr/lib/libdshconfig.so.1
%attr(0644,root,root) /usr/share/doc/libdshconfig-0.20.9/AUTHORS
%attr(0644,root,root) /usr/share/doc/libdshconfig-0.20.9/COPYING
%attr(0644,root,root) /usr/share/doc/libdshconfig-0.20.9/ChangeLog
%attr(0644,root,root) /usr/share/doc/libdshconfig-0.20.9/INSTALL
%attr(0644,root,root) /usr/share/doc/libdshconfig-0.20.9/NEWS
%attr(0644,root,root) /usr/share/doc/libdshconfig-0.20.9/README

%files devel
%defattr(-,root,root)
%attr(0755,root,root) /usr/lib/libdshconfig.a
%attr(0755,root,root) /usr/lib/libdshconfig.la
%attr(0755,root,root) /usr/lib/libdshconfig.so
%attr(0644,root,root) /usr/include/libdshconfig.h

%changelog
* Mon May 10 2004 Erik Wasser <ew@iquer.net>
- Initial spec-file
- Please don't hurt me.