]> git.pld-linux.org Git - packages/libsidplay2.git/blame_incremental - libsidplay2.spec
- release 8 (by relup.sh)
[packages/libsidplay2.git] / libsidplay2.spec
... / ...
CommitLineData
1Summary: A Commodore 64 music player and SID chip emulator library
2Summary(pl.UTF-8): Biblioteka odtwarzająca muzyczki z Commodore 64 i emulująca układ SID
3Name: libsidplay2
4Version: 2.1.1
5Release: 8
6License: GPL
7Group: Libraries
8Source0: http://downloads.sourceforge.net/sidplay2/sidplay-libs-%{version}.tar.gz
9# Source0-md5: 7ea0ba5dc1da4604d15eaae001f7d2a7
10Patch0: gcc4-fixes.patch
11Patch1: configure-fixes.patch
12Patch2: pkg-config.patch
13URL: http://sidplay2.sourceforge.net/
14BuildRequires: autoconf >= 2.50
15BuildRequires: automake
16BuildRequires: libstdc++-devel
17BuildRequires: libtool >= 2:1.5
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
26%description -l pl.UTF-8
27Sidplay 2 to druga wersja z serii Sidplay oryginalnie stworzonej przez
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
31stereo z C64.
32
33%package devel
34Summary: Header files for compiling apps that use libsidplay
35Summary(pl.UTF-8): Pliki nagłówkowe do budowania aplikacji używających libsidplay
36Group: Development/Libraries
37Requires: %{name} = %{version}-%{release}
38Requires: libstdc++-devel
39
40%description devel
41This package contains the header files for compiling applications that
42use libsidplay.
43
44%description devel -l pl.UTF-8
45Ten pakiet zawiera pliki nagłówkowe do budowania aplikacji używających
46biblioteki libsidplay.
47
48%package static
49Summary: Static libsidplay library
50Summary(pl.UTF-8): Statyczna biblioteka libsidplay
51Group: Development/Libraries
52Requires: %{name}-devel = %{version}-%{release}
53
54%description static
55This package contains static version of libsidplay.
56
57%description static -l pl.UTF-8
58Ten pakiet zawiera statyczną wersję libsidplay.
59
60%prep
61%setup -q -n sidplay-libs-%{version}
62%patch0 -p1
63%patch1 -p1
64%patch2 -p1
65
66%build
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
104%{__make}
105
106%install
107rm -rf $RPM_BUILD_ROOT
108
109%{__make} install \
110 DESTDIR=$RPM_BUILD_ROOT
111
112%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
113
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}
123%attr(755,root,root) %ghost %{_libdir}/libsidplay2.so.1
124%attr(755,root,root) %{_libdir}/libsidplay2.so.*.*.*
125%attr(755,root,root) %ghost %{_libdir}/libsidutils.so.0
126%attr(755,root,root) %{_libdir}/libsidutils.so.*.*.*
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.*.*.*
131
132%files devel
133%defattr(644,root,root,755)
134%attr(755,root,root) %{_libdir}/libsidplay2.so
135%attr(755,root,root) %{_libdir}/libsidutils.so
136%attr(755,root,root) %{_libdir}/libhardsid-builder.so
137%attr(755,root,root) %{_libdir}/libresid-builder.so
138%{_includedir}/sidplay
139%{_pkgconfigdir}/libsidplay2.pc
140%{_pkgconfigdir}/libsidutils.pc
141
142%files static
143%defattr(644,root,root,755)
144%{_libdir}/libhardsid-builder.a
145%{_libdir}/libresid-builder.a
146%{_libdir}/libsidplay2.a
147%{_libdir}/libsidutils.a
This page took 0.059815 seconds and 4 git commands to generate.