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