File: libdshconfig.spec

package info (click to toggle)
libdshconfig 0.20.13-1.2
  • links: PTS
  • area: main
  • in suites: buster, sid, stretch
  • size: 1,512 kB
  • ctags: 44
  • sloc: sh: 8,855; ansic: 230; makefile: 48
file content (77 lines) | stat: -rw-r--r-- 2,030 bytes parent folder | download | duplicates (3)
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
65
66
67
68
69
70
71
72
73
74
75
76
77
Summary: 	Library for parsing dsh-style configuration files
Name: 		libdshconfig
Version: 	0.20.12
Release: 	2%{?disttag}
License: 	GPL
Group: 		System Environment/Libraries
URL: 		http://www.netfort.gr.jp/~dancer/software/dsh.html.en
Source0: 	http://www.netfort.gr.jp/~dancer/software/downloads/%{name}-%{version}.tar.gz
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)

%package devel
Summary:	Development files for libdshconfig
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release}

# -----------------------------------------------------------------------------

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

%description devel
Development files for libdshconfig

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

# -----------------------------------------------------------------------------

%prep
%setup -q

# -----------------------------------------------------------------------------

%build
%configure
make %{?_smp_mflags}

# -----------------------------------------------------------------------------

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
rm -Rf $RPM_BUILD_ROOT%{_libdir}/*.la

# -----------------------------------------------------------------------------

%clean
rm -rf $RPM_BUILD_ROOT

# -----------------------------------------------------------------------------

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc COPYING AUTHORS ChangeLog NEWS README
%{_libdir}/libdshconfig.so.*

%files devel
%defattr(-,root,root,-)
%{_includedir}/libdshconfig.h
%{_libdir}/libdshconfig.a
%{_libdir}/libdshconfig.so

# -----------------------------------------------------------------------------

%changelog
* Tue Feb 14 2006 Dams <anvil[AT]livna.org> - 0.20.12-1
- Updated to 0.20.12

* Wed Jan 26 2005 Dams <anvil[AT]livna.org> 0.20.11-1
- Updated to 0.20.11

* Thu Jun  3 2004 Dams <anvil[AT]livna.org> 
- Initial build.