]>
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 |
580e1a6b | 5 | Release: 2 |
503ed217 | 6 | License: GPL |
7 | Group: Libraries | |
e5e95c7b | 8 | Source0: http://dl.sourceforge.net/sidplay2/sidplay-libs-%{version}.tar.gz |
750ea11e | 9 | # Source0-md5: 7ea0ba5dc1da4604d15eaae001f7d2a7 |
07832d2b | 10 | Patch0: %{name}-gcc34.patch |
503ed217 | 11 | URL: http://sidplay2.sourceforge.net/ |
d1066748 | 12 | BuildRequires: automake |
750ea11e | 13 | BuildRequires: libstdc++-devel |
503ed217 | 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 | ||
c31fcbba | 22 | %description -l pl.UTF-8 |
e5e95c7b | 23 | Sidplay 2 to druga wersja z serii Sidplay oryginalnie stworzonej przez |
c31fcbba JR |
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 | |
e5e95c7b JB |
27 | stereo z C64. |
28 | ||
503ed217 | 29 | %package devel |
30 | Summary: Header files for compiling apps that use libsidplay | |
31c58761 | 31 | Summary(pl.UTF-8): Pliki nagłówkowe do budowania aplikacji używających libsidplay |
e5e95c7b | 32 | Group: Development/Libraries |
750ea11e JB |
33 | Requires: %{name} = %{version}-%{release} |
34 | Requires: libstdc++-devel | |
503ed217 | 35 | |
36 | %description devel | |
37 | This package contains the header files for compiling applications that | |
38 | use libsidplay. | |
39 | ||
c31fcbba JR |
40 | %description devel -l pl.UTF-8 |
41 | Ten pakiet zawiera pliki nagłówkowe do budowania aplikacji używających | |
503ed217 | 42 | biblioteki libsidplay. |
43 | ||
44 | %package static | |
45 | Summary: Static libsidplay library | |
31c58761 | 46 | Summary(pl.UTF-8): Statyczna biblioteka libsidplay |
e5e95c7b | 47 | Group: Development/Libraries |
750ea11e | 48 | Requires: %{name}-devel = %{version}-%{release} |
503ed217 | 49 | |
50 | %description static | |
51 | This package contains static version of libsidplay. | |
52 | ||
c31fcbba JR |
53 | %description static -l pl.UTF-8 |
54 | Ten pakiet zawiera statyczną wersję libsidplay. | |
503ed217 | 55 | |
56 | %prep | |
57 | %setup -q -n sidplay-libs-%{version} | |
07832d2b | 58 | %patch0 -p1 |
503ed217 | 59 | |
60 | %build | |
580e1a6b JB |
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 | |
503ed217 | 65 | %configure |
66 | %{__make} | |
67 | ||
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
e5e95c7b JB |
70 | |
71 | %{__make} install \ | |
72 | DESTDIR=$RPM_BUILD_ROOT | |
503ed217 | 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} | |
750ea11e JB |
83 | %attr(755,root,root) %{_libdir}/libsidplay2.so.*.*.* |
84 | %attr(755,root,root) %{_libdir}/libsidutils.so.*.*.* | |
503ed217 | 85 | |
86 | %files devel | |
87 | %defattr(644,root,root,755) | |
88 | %attr(755,root,root) %{_libdir}/libsidplay2.so | |
750ea11e | 89 | %attr(755,root,root) %{_libdir}/libsidutils.so |
503ed217 | 90 | %{_libdir}/libsidplay2.la |
750ea11e | 91 | %{_libdir}/libsidutils.la |
0ac86697 | 92 | %{_libdir}/sidplay |
503ed217 | 93 | %{_includedir}/sidplay |
e5e95c7b | 94 | %{_pkgconfigdir}/libsidplay2.pc |
750ea11e | 95 | %{_pkgconfigdir}/libsidutils.pc |
503ed217 | 96 | |
97 | %files static | |
98 | %defattr(644,root,root,755) | |
99 | %{_libdir}/libsidplay2.a | |
750ea11e | 100 | %{_libdir}/libsidutils.a |