]> git.pld-linux.org Git - packages/libsidplay2.git/blame - libsidplay2.spec
- remove bad, unnecessary hunk from patch
[packages/libsidplay2.git] / libsidplay2.spec
CommitLineData
503ed217 1Summary: A Commodore 64 music player and SID chip emulator library
31c58761 2Summary(pl.UTF-8): Biblioteka odtwarzająca muzyczki z Commodore 64 i emulująca układ SID
503ed217 3Name: libsidplay2
750ea11e 4Version: 2.1.1
5e186ed0 5Release: 7
503ed217 6License: GPL
7Group: Libraries
162b0bf7 8Source0: http://downloads.sourceforge.net/sidplay2/sidplay-libs-%{version}.tar.gz
750ea11e 9# Source0-md5: 7ea0ba5dc1da4604d15eaae001f7d2a7
f8449d47
AF
10Patch0: gcc4-fixes.patch
11Patch1: configure-fixes.patch
12Patch2: pkg-config.patch
503ed217 13URL: http://sidplay2.sourceforge.net/
0920fc2b 14BuildRequires: autoconf >= 2.50
d1066748 15BuildRequires: automake
750ea11e 16BuildRequires: libstdc++-devel
0920fc2b 17BuildRequires: libtool >= 2:1.5
503ed217 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21Sidplay 2 is the second in the Sidplay series originally developed by
22Michael Schwendt. This version is written by Simon White and is cycle
23accurate for improved sound reproduction. Sidplay 2 is capable of
24playing all C64 mono and stereo file formats.
25
c31fcbba 26%description -l pl.UTF-8
e5e95c7b 27Sidplay 2 to druga wersja z serii Sidplay oryginalnie stworzonej przez
c31fcbba
JR
28Michaela Schwendta. Ta wersja została napisana przez Simona White'a i
29jest dokładna co do cyklu w celu zwiększonej wierności reprodukcji
30dźwięku. Sidplay 2 może odtwarzać wszystkie formaty plików mono i
e5e95c7b
JB
31stereo z C64.
32
503ed217 33%package devel
34Summary: Header files for compiling apps that use libsidplay
31c58761 35Summary(pl.UTF-8): Pliki nagłówkowe do budowania aplikacji używających libsidplay
e5e95c7b 36Group: Development/Libraries
750ea11e
JB
37Requires: %{name} = %{version}-%{release}
38Requires: libstdc++-devel
503ed217 39
40%description devel
41This package contains the header files for compiling applications that
42use libsidplay.
43
c31fcbba
JR
44%description devel -l pl.UTF-8
45Ten pakiet zawiera pliki nagłówkowe do budowania aplikacji używających
503ed217 46biblioteki libsidplay.
47
48%package static
49Summary: Static libsidplay library
31c58761 50Summary(pl.UTF-8): Statyczna biblioteka libsidplay
e5e95c7b 51Group: Development/Libraries
750ea11e 52Requires: %{name}-devel = %{version}-%{release}
503ed217 53
54%description static
55This package contains static version of libsidplay.
56
c31fcbba
JR
57%description static -l pl.UTF-8
58Ten 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
67cd libsidplay
68%{__libtoolize}
69%{__aclocal}
70%{__autoheader}
71%{__autoconf}
72%{__automake}
73cd ../libsidutils
74%{__libtoolize}
75%{__aclocal}
76%{__autoheader}
77%{__autoconf}
78%{__automake}
79cd ../resid
80%{__libtoolize}
81%{__aclocal}
82%{__autoconf}
83%{__automake}
84cd ../builders/hardsid-builder
85%{__libtoolize}
86%{__aclocal}
87%{__autoheader}
88%{__autoconf}
89%{__automake}
90cd ../resid-builder
91%{__libtoolize}
92%{__aclocal}
93%{__autoheader}
94%{__autoconf}
95%{__automake}
96cd ../..
97%{__libtoolize}
98%{__aclocal}
99%{__autoconf}
100%{__automake}
101%configure \
102 --enable-shared \
103 --enable-static
503ed217 104%{__make}
105
106%install
107rm -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
115rm -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
This page took 0.09066 seconds and 4 git commands to generate.