]> git.pld-linux.org Git - packages/libsidplayfp.git/blob - libsidplayfp.spec
- initial
[packages/libsidplayfp.git] / libsidplayfp.spec
1 Summary:        A library to play Commodore 64 music
2 Name:           libsidplayfp
3 Version:        1.0.2
4 Release:        1
5 License:        GPL
6 Group:          Libraries
7 Source0:        http://downloads.sourceforge.net/sidplay-residfp/libsidplayfp/1.0/%{name}-%{version}.tar.gz
8 # Source0-md5:  49f67b0556eb147d10a66855dd90aea7
9 URL:            http://sourceforge.net/projects/sidplay-residfp/
10 BuildRequires:  autoconf >= 2.50
11 BuildRequires:  automake
12 BuildRequires:  libstdc++-devel
13 BuildRequires:  libtool >= 2:1.5
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Libsidplayfp (and its console frontend sidplayfp) is a fork of
18 sidplay2 born with the aim to improve the quality of emulating the
19 6581, 8580 chips and the surrounding C64 system in order to play SID
20 music better.
21
22 %package devel
23 Summary:        Header files for compiling apps that use libsidplayfp
24 Summary(pl.UTF-8):      Pliki nagłówkowe do budowania aplikacji używających libsidplayfp
25 Group:          Development/Libraries
26 Requires:       %{name} = %{version}-%{release}
27 Requires:       libstdc++-devel
28
29 %description devel
30 This package contains the header files for compiling applications that
31 use libsidplayfp.
32
33 %description devel -l pl.UTF-8
34 Ten pakiet zawiera pliki nagłówkowe do budowania aplikacji używających
35 biblioteki libsidplayfp.
36
37 %package static
38 Summary:        Static libsidplayfp library
39 Summary(pl.UTF-8):      Statyczna biblioteka libsidplayfp
40 Group:          Development/Libraries
41 Requires:       %{name}-devel = %{version}-%{release}
42
43 %description static
44 This package contains static version of libsidplayfp.
45
46 %description static -l pl.UTF-8
47 Ten pakiet zawiera statyczną wersję libsidplayfp.
48
49 %prep
50 %setup -q
51
52 %build
53 %configure \
54         --enable-shared \
55         --enable-static
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post   -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS NEWS README TODO
75 %attr(755,root,root) %ghost %{_libdir}/libsidplayfp.so.3
76 %attr(755,root,root) %{_libdir}/libsidplayfp.so.*.*.*
77 %attr(755,root,root) %ghost %{_libdir}/libstilview.so.0
78 %attr(755,root,root) %{_libdir}/libstilview.so.*.*.*
79
80 %files devel
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/libsidplayfp.so
83 %attr(755,root,root) %{_libdir}/libstilview.so
84 %{_includedir}/sidplayfp
85 %{_includedir}/stilview
86 %{_pkgconfigdir}/libsidplayfp.pc
87 %{_pkgconfigdir}/libstilview.pc
88
89 %files static
90 %defattr(644,root,root,755)
91 %{_libdir}/libsidplayfp.a
92 %{_libdir}/libstilview.a
This page took 0.092917 seconds and 3 git commands to generate.