summaryrefslogtreecommitdiff
path: root/libsidplay2/sidplay-libs-2.1.0/libsidutils/unix/libsidutils.spec
blob: 4337cd46ff16be25ab578d09f6149e3aabdf9d1b (plain)
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
78
79
80
81
82
83
84
85
86
87
%define major    1
%define oname    libsidutils
#define name     %{oname}%{major}
%define version  1.0.2
%define frelease 1
%define release  %{frelease}
%define libsidplay2 2.1.0

Summary:        General utility library for use in sidplayers.
Name:           %{oname}
Version:        %{version}
Release:        %{release}
Source:         %{oname}-%{version}-%{frelease}.tar.bz2
Copyright:      GPL
Group:          System/Libraries
URL:            http://sidplay2.sourceforge.net/
BuildRoot:      %{_tmppath}/%{name}-buildroot
Prefix:         %{_prefix}
Requires:       libsidplay2 >= %{libsidplay2}
BuildRequires:  libsidplay2-devel >= %{libsidplay2}

%description
This library provides general utilities that are not considered core
to the C64 emulation.  Utilities include decoding and obtaining tune
lengths from the songlength database, INI file format parser and SID
filter files (types 1 and 2).

%package devel
Summary:        Development headers and libraries for %{name}
Group:          Development/C++
Requires:       %{oname} = %{version}
Provides:       %{oname}-devel = %{version}

%description devel
This package includes the header and library files necessary
for developing applications to use %{name}.


%prep
rm -rf $RPM_BUILD_ROOT 
%setup -q

%build
%configure
%make

%install
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%postun -p /sbin/ldconfig

%post -p /sbin/ldconfig

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

%files devel
%defattr(-,root,root)
%doc COPYING
%{_includedir}/sidplay/utils/*
%{_libdir}/*.la
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/pkgconfig/*

%changelog
* Fri Nov 30 2001 Simon White <s_a_white@email.com> 1.0.2-1
- Moved filter struct to libsidplay for sidbuilder classes.
  Synced against libini-1.1.8 for bug fixes.

* Wed Apr 10 2001 Simon White <s_a_white@email.com> 1.0.1-1
- Use non Mandrake specific release number.  Bug fixes in INI
  file parser.

* Wed Apr 4 2001 Simon White <s_a_white@email.com> 1.0.0-2mdk
- Updated --prefix and make install so la file does not end up with
  a bad install path.

* Sun Apr 1 2001 Simon White <s_a_white@email.com> 1.0.0-1mdk
- First spec file.

# end of file