]> git.pld-linux.org Git - packages/libsidplay2.git/blob - libsidplay2.spec
- tabs in preamble
[packages/libsidplay2.git] / libsidplay2.spec
1 Summary:        A Commodore 64 music player and SID chip emulator library
2 Summary(pl.UTF-8):      Biblioteka odtwarzająca muzyczki z Commodore 64 i emulująca układ SID
3 Name:           libsidplay2
4 Version:        2.1.1
5 Release:        2
6 License:        GPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/sidplay2/sidplay-libs-%{version}.tar.gz
9 # Source0-md5:  7ea0ba5dc1da4604d15eaae001f7d2a7
10 Patch0:         %{name}-gcc34.patch
11 URL:            http://sidplay2.sourceforge.net/
12 BuildRequires:  automake
13 BuildRequires:  libstdc++-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Sidplay 2 is the second in the Sidplay series originally developed by
18 Michael Schwendt. This version is written by Simon White and is cycle
19 accurate for improved sound reproduction. Sidplay 2 is capable of
20 playing all C64 mono and stereo file formats.
21
22 %description -l pl.UTF-8
23 Sidplay 2 to druga wersja z serii Sidplay oryginalnie stworzonej przez
24 Michaela Schwendta. Ta wersja została napisana przez Simona White'a i
25 jest dokładna co do cyklu w celu zwiększonej wierności reprodukcji
26 dźwięku. Sidplay 2 może odtwarzać wszystkie formaty plików mono i
27 stereo z C64.
28
29 %package devel
30 Summary:        Header files for compiling apps that use libsidplay
31 Summary(pl.UTF-8):      Pliki nagłówkowe do budowania aplikacji używających libsidplay
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Requires:       libstdc++-devel
35
36 %description devel
37 This package contains the header files for compiling applications that
38 use libsidplay.
39
40 %description devel -l pl.UTF-8
41 Ten pakiet zawiera pliki nagłówkowe do budowania aplikacji używających
42 biblioteki libsidplay.
43
44 %package static
45 Summary:        Static libsidplay library
46 Summary(pl.UTF-8):      Statyczna biblioteka libsidplay
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}-%{release}
49
50 %description static
51 This package contains static version of libsidplay.
52
53 %description static -l pl.UTF-8
54 Ten pakiet zawiera statyczną wersję libsidplay.
55
56 %prep
57 %setup -q -n sidplay-libs-%{version}
58 %patch0 -p1
59
60 %build
61 cp -f /usr/share/automake/config.* unix
62 cp -f /usr/share/automake/config.* libsidplay/unix
63 cp -f /usr/share/automake/config.* libsidutils/unix
64 cp -f /usr/share/automake/config.* resid
65 %configure
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post   -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
79
80 %files
81 %defattr(644,root,root,755)
82 %doc libsidplay/{AUTHORS,ChangeLog,TODO}
83 %attr(755,root,root) %{_libdir}/libsidplay2.so.*.*.*
84 %attr(755,root,root) %{_libdir}/libsidutils.so.*.*.*
85
86 %files devel
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/libsidplay2.so
89 %attr(755,root,root) %{_libdir}/libsidutils.so
90 %{_libdir}/libsidplay2.la
91 %{_libdir}/libsidutils.la
92 %{_libdir}/sidplay
93 %{_includedir}/sidplay
94 %{_pkgconfigdir}/libsidplay2.pc
95 %{_pkgconfigdir}/libsidutils.pc
96
97 %files static
98 %defattr(644,root,root,755)
99 %{_libdir}/libsidplay2.a
100 %{_libdir}/libsidutils.a
This page took 0.061809 seconds and 3 git commands to generate.