]>
Commit | Line | Data |
---|---|---|
503ed217 | 1 | Summary: A Commodore 64 music player and SID chip emulator library |
31c58761 | 2 | Summary(pl.UTF-8): Biblioteka odtwarzająca muzyczki z Commodore 64 i emulująca układ SID |
503ed217 | 3 | Name: libsidplay2 |
750ea11e | 4 | Version: 2.1.1 |
5e186ed0 | 5 | Release: 7 |
503ed217 | 6 | License: GPL |
7 | Group: Libraries | |
162b0bf7 | 8 | Source0: http://downloads.sourceforge.net/sidplay2/sidplay-libs-%{version}.tar.gz |
750ea11e | 9 | # Source0-md5: 7ea0ba5dc1da4604d15eaae001f7d2a7 |
f8449d47 AF |
10 | Patch0: gcc4-fixes.patch |
11 | Patch1: configure-fixes.patch | |
12 | Patch2: pkg-config.patch | |
503ed217 | 13 | URL: http://sidplay2.sourceforge.net/ |
0920fc2b | 14 | BuildRequires: autoconf >= 2.50 |
d1066748 | 15 | BuildRequires: automake |
750ea11e | 16 | BuildRequires: libstdc++-devel |
0920fc2b | 17 | BuildRequires: libtool >= 2:1.5 |
503ed217 | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | Sidplay 2 is the second in the Sidplay series originally developed by | |
22 | Michael Schwendt. This version is written by Simon White and is cycle | |
23 | accurate for improved sound reproduction. Sidplay 2 is capable of | |
24 | playing all C64 mono and stereo file formats. | |
25 | ||
c31fcbba | 26 | %description -l pl.UTF-8 |
e5e95c7b | 27 | Sidplay 2 to druga wersja z serii Sidplay oryginalnie stworzonej przez |
c31fcbba JR |
28 | Michaela Schwendta. Ta wersja została napisana przez Simona White'a i |
29 | jest dokładna co do cyklu w celu zwiększonej wierności reprodukcji | |
30 | dźwięku. Sidplay 2 może odtwarzać wszystkie formaty plików mono i | |
e5e95c7b JB |
31 | stereo z C64. |
32 | ||
503ed217 | 33 | %package devel |
34 | Summary: Header files for compiling apps that use libsidplay | |
31c58761 | 35 | Summary(pl.UTF-8): Pliki nagłówkowe do budowania aplikacji używających libsidplay |
e5e95c7b | 36 | Group: Development/Libraries |
750ea11e JB |
37 | Requires: %{name} = %{version}-%{release} |
38 | Requires: libstdc++-devel | |
503ed217 | 39 | |
40 | %description devel | |
41 | This package contains the header files for compiling applications that | |
42 | use libsidplay. | |
43 | ||
c31fcbba JR |
44 | %description devel -l pl.UTF-8 |
45 | Ten pakiet zawiera pliki nagłówkowe do budowania aplikacji używających | |
503ed217 | 46 | biblioteki libsidplay. |
47 | ||
48 | %package static | |
49 | Summary: Static libsidplay library | |
31c58761 | 50 | Summary(pl.UTF-8): Statyczna biblioteka libsidplay |
e5e95c7b | 51 | Group: Development/Libraries |
750ea11e | 52 | Requires: %{name}-devel = %{version}-%{release} |
503ed217 | 53 | |
54 | %description static | |
55 | This package contains static version of libsidplay. | |
56 | ||
c31fcbba JR |
57 | %description static -l pl.UTF-8 |
58 | Ten pakiet zawiera statyczną wersję libsidplay. | |
503ed217 | 59 | |
60 | %prep | |
61 | %setup -q -n sidplay-libs-%{version} | |
07832d2b | 62 | %patch0 -p1 |
f8449d47 AF |
63 | %patch1 -p1 |
64 | %patch2 -p1 | |
503ed217 | 65 | |
66 | %build | |
f8449d47 AF |
67 | cd libsidplay |
68 | %{__libtoolize} | |
69 | %{__aclocal} | |
70 | %{__autoheader} | |
71 | %{__autoconf} | |
72 | %{__automake} | |
73 | cd ../libsidutils | |
74 | %{__libtoolize} | |
75 | %{__aclocal} | |
76 | %{__autoheader} | |
77 | %{__autoconf} | |
78 | %{__automake} | |
79 | cd ../resid | |
80 | %{__libtoolize} | |
81 | %{__aclocal} | |
82 | %{__autoconf} | |
83 | %{__automake} | |
84 | cd ../builders/hardsid-builder | |
85 | %{__libtoolize} | |
86 | %{__aclocal} | |
87 | %{__autoheader} | |
88 | %{__autoconf} | |
89 | %{__automake} | |
90 | cd ../resid-builder | |
91 | %{__libtoolize} | |
92 | %{__aclocal} | |
93 | %{__autoheader} | |
94 | %{__autoconf} | |
95 | %{__automake} | |
96 | cd ../.. | |
97 | %{__libtoolize} | |
98 | %{__aclocal} | |
99 | %{__autoconf} | |
100 | %{__automake} | |
101 | %configure \ | |
102 | --enable-shared \ | |
103 | --enable-static | |
503ed217 | 104 | %{__make} |
105 | ||
106 | %install | |
107 | rm -rf $RPM_BUILD_ROOT | |
e5e95c7b JB |
108 | |
109 | %{__make} install \ | |
110 | DESTDIR=$RPM_BUILD_ROOT | |
503ed217 | 111 | |
f8449d47 AF |
112 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
113 | ||
503ed217 | 114 | %clean |
115 | rm -rf $RPM_BUILD_ROOT | |
116 | ||
117 | %post -p /sbin/ldconfig | |
118 | %postun -p /sbin/ldconfig | |
119 | ||
120 | %files | |
121 | %defattr(644,root,root,755) | |
122 | %doc libsidplay/{AUTHORS,ChangeLog,TODO} | |
162b0bf7 | 123 | %attr(755,root,root) %ghost %{_libdir}/libsidplay2.so.1 |
750ea11e | 124 | %attr(755,root,root) %{_libdir}/libsidplay2.so.*.*.* |
162b0bf7 | 125 | %attr(755,root,root) %ghost %{_libdir}/libsidutils.so.0 |
750ea11e | 126 | %attr(755,root,root) %{_libdir}/libsidutils.so.*.*.* |
f8449d47 AF |
127 | %attr(755,root,root) %ghost %{_libdir}/libhardsid-builder.so.0 |
128 | %attr(755,root,root) %{_libdir}/libhardsid-builder.so.*.*.* | |
129 | %attr(755,root,root) %ghost %{_libdir}/libresid-builder.so.0 | |
130 | %attr(755,root,root) %{_libdir}/libresid-builder.so.*.*.* | |
503ed217 | 131 | |
132 | %files devel | |
133 | %defattr(644,root,root,755) | |
134 | %attr(755,root,root) %{_libdir}/libsidplay2.so | |
750ea11e | 135 | %attr(755,root,root) %{_libdir}/libsidutils.so |
f8449d47 AF |
136 | %attr(755,root,root) %{_libdir}/libhardsid-builder.so |
137 | %attr(755,root,root) %{_libdir}/libresid-builder.so | |
503ed217 | 138 | %{_includedir}/sidplay |
e5e95c7b | 139 | %{_pkgconfigdir}/libsidplay2.pc |
750ea11e | 140 | %{_pkgconfigdir}/libsidutils.pc |
503ed217 | 141 | |
142 | %files static | |
143 | %defattr(644,root,root,755) | |
162b0bf7 KK |
144 | %{_libdir}/libhardsid-builder.a |
145 | %{_libdir}/libresid-builder.a | |
503ed217 | 146 | %{_libdir}/libsidplay2.a |
750ea11e | 147 | %{_libdir}/libsidutils.a |