]> git.pld-linux.org Git - packages/libspectrum.git/blob - libspectrum.spec
- updated to 0.3.0 (new soname)
[packages/libspectrum.git] / libspectrum.spec
1 Summary:        ZX Spectrum emulator file format library
2 Summary(pl.UTF-8):      Biblioteka do obsługi formatów plików emulatorów ZX Spectrum
3 Name:           libspectrum
4 Version:        0.3.0
5 Release:        1
6 License:        GPL
7 Group:          Development/Libraries
8 Source0:        http://dl.sourceforge.net/fuse-emulator/%{name}-%{version}.tar.gz
9 # Source0-md5:  d972d76b25ba8f517d597310846005d7
10 URL:            http://fuse-emulator.sourceforge.net/libspectrum.php
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  bzip2-devel >= 1.0
14 BuildRequires:  glib2-devel >= 2.0.0
15 BuildRequires:  libgcrypt-devel
16 BuildRequires:  libtool
17 BuildRequires:  pkgconfig >= 1:0.7
18 BuildRequires:  zlib-devel
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
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.
30
31 %package devel
32 Summary:        ZX Spectrum emulator file format library - development
33 Summary(pl.UTF-8):      Część dla programistów używających biblioteki libspectrum
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36 Requires:       bzip2-devel >= 1.0
37 Requires:       glib2-devel >= 2.0.0
38 Requires:       libgcrypt-devel
39 Requires:       zlib-devel
40
41 %description devel
42 The libspectrum-devel package contains the header files and documentation
43 needed to develop applications with libspectrum.
44
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.
48
49 %package static
50 Summary:        ZX Spectrum emulator file format static library
51 Summary(pl.UTF-8):      Statyczna biblioteka libspectrum
52 Group:          Development/Libraries
53 Requires:       %{name}-devel = %{version}-%{release}
54
55 %description static
56 The libspectrum-static package contains the static libraries of libspectrum.
57
58 %description static -l pl.UTF-8
59 Statyczna wersja biblioteki libspectrum.
60
61 %prep
62 %setup -q
63
64 # don't BR both glib versions
65 echo 'AC_DEFUN([AM_PATH_GLIB],[$3])' >> acinclude.m4
66
67 %build
68 %{__libtoolize}
69 %{__aclocal}
70 %{__autoconf}
71 %{__autoheader}
72 %{__automake}
73 %configure
74 %{__make}
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78
79 %{__make} install \
80         DESTDIR=$RPM_BUILD_ROOT
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %post   -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
87
88 %files
89 %defattr(644,root,root,755)
90 %doc AUTHORS ChangeLog README THANKS
91 %attr(755,root,root) %{_libdir}/libspectrum.so.*.*
92
93 %files devel
94 %defattr(644,root,root,755)
95 %doc doc/libspectrum.txt
96 %attr(755,root,root) %{_libdir}/lib*.so
97 %{_libdir}/libspectrum.la
98 %{_includedir}/libspectrum.h
99 %{_mandir}/man3/libspectrum.3*
100
101 %files static
102 %defattr(644,root,root,755)
103 %{_libdir}/lib*.a
This page took 0.107514 seconds and 4 git commands to generate.