]>
Commit | Line | Data |
---|---|---|
0b81b7cf | 1 | Summary: ZX Spectrum emulator file format library |
566f31a3 | 2 | Summary(pl.UTF-8): Biblioteka do obsługi formatów plików emulatorów ZX Spectrum |
0b81b7cf | 3 | Name: libspectrum |
813e266a | 4 | Version: 0.3.0 |
fcee2a28 | 5 | Release: 1 |
0b81b7cf | 6 | License: GPL |
7 | Group: Development/Libraries | |
fcee2a28 | 8 | Source0: http://dl.sourceforge.net/fuse-emulator/%{name}-%{version}.tar.gz |
813e266a | 9 | # Source0-md5: d972d76b25ba8f517d597310846005d7 |
fcee2a28 | 10 | URL: http://fuse-emulator.sourceforge.net/libspectrum.php |
0b81b7cf | 11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
38fc28d0 JB |
13 | BuildRequires: bzip2-devel >= 1.0 |
14 | BuildRequires: glib2-devel >= 2.0.0 | |
fcee2a28 | 15 | BuildRequires: libgcrypt-devel |
f2ca5ba9 | 16 | BuildRequires: libtool |
617c6f69 | 17 | BuildRequires: pkgconfig >= 1:0.7 |
d4e1cf5d | 18 | BuildRequires: zlib-devel |
0b81b7cf | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | libspectrum is a library designed to make the input and output of some | |
23 | ZX Spectrum emulator files slightly easier. It is intended to be | |
24 | usable on Unix variants, Win32 and Mac OS X. | |
25 | ||
0fa0fc02 JR |
26 | %description -l pl.UTF-8 |
27 | libspectrum jest biblioteką zaprojektowaną, by ułatwić zapis i odczyt | |
28 | plików wykorzystywanych przez emulatory ZX Spectrum. Można jej używać | |
29 | na różnych wariantach systemu Unix, Win32 i Mac OS X. | |
0b81b7cf | 30 | |
31 | %package devel | |
32 | Summary: ZX Spectrum emulator file format library - development | |
566f31a3 | 33 | Summary(pl.UTF-8): Część dla programistów używających biblioteki libspectrum |
0b81b7cf | 34 | Group: Development/Libraries |
08e9c36b | 35 | Requires: %{name} = %{version}-%{release} |
38fc28d0 JB |
36 | Requires: bzip2-devel >= 1.0 |
37 | Requires: glib2-devel >= 2.0.0 | |
38 | Requires: libgcrypt-devel | |
39 | Requires: zlib-devel | |
0b81b7cf | 40 | |
41 | %description devel | |
42 | The libspectrum-devel package contains the header files and documentation | |
43 | needed to develop applications with libspectrum. | |
44 | ||
0fa0fc02 JR |
45 | %description devel -l pl.UTF-8 |
46 | Pakiet libspectrum-devel zawiera pliki nagłówkowe i dokumentację potrzebne | |
47 | do kompilowania aplikacji korzystających z libspectrum. | |
0b81b7cf | 48 | |
49 | %package static | |
50 | Summary: ZX Spectrum emulator file format static library | |
566f31a3 | 51 | Summary(pl.UTF-8): Statyczna biblioteka libspectrum |
0b81b7cf | 52 | Group: Development/Libraries |
08e9c36b | 53 | Requires: %{name}-devel = %{version}-%{release} |
0b81b7cf | 54 | |
55 | %description static | |
56 | The libspectrum-static package contains the static libraries of libspectrum. | |
57 | ||
0fa0fc02 | 58 | %description static -l pl.UTF-8 |
0b81b7cf | 59 | Statyczna wersja biblioteki libspectrum. |
60 | ||
61 | %prep | |
62 | %setup -q | |
63 | ||
38fc28d0 JB |
64 | # don't BR both glib versions |
65 | echo 'AC_DEFUN([AM_PATH_GLIB],[$3])' >> acinclude.m4 | |
66 | ||
0b81b7cf | 67 | %build |
d4e1cf5d | 68 | %{__libtoolize} |
08e9c36b | 69 | %{__aclocal} |
0b81b7cf | 70 | %{__autoconf} |
08e9c36b | 71 | %{__autoheader} |
0b81b7cf | 72 | %{__automake} |
73 | %configure | |
74 | %{__make} | |
75 | ||
76 | %install | |
77 | rm -rf $RPM_BUILD_ROOT | |
7fe40d88 | 78 | |
f9a26ef1 JB |
79 | %{__make} install \ |
80 | DESTDIR=$RPM_BUILD_ROOT | |
0b81b7cf | 81 | |
82 | %clean | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
7fe40d88 | 85 | %post -p /sbin/ldconfig |
0b81b7cf | 86 | %postun -p /sbin/ldconfig |
87 | ||
88 | %files | |
89 | %defattr(644,root,root,755) | |
f9a26ef1 | 90 | %doc AUTHORS ChangeLog README THANKS |
7fe40d88 | 91 | %attr(755,root,root) %{_libdir}/libspectrum.so.*.* |
0b81b7cf | 92 | |
93 | %files devel | |
94 | %defattr(644,root,root,755) | |
08e9c36b | 95 | %doc doc/libspectrum.txt |
0b81b7cf | 96 | %attr(755,root,root) %{_libdir}/lib*.so |
97 | %{_libdir}/libspectrum.la | |
08e9c36b JB |
98 | %{_includedir}/libspectrum.h |
99 | %{_mandir}/man3/libspectrum.3* | |
0b81b7cf | 100 | |
101 | %files static | |
102 | %defattr(644,root,root,755) | |
103 | %{_libdir}/lib*.a |