]> git.pld-linux.org Git - packages/libspectrum.git/blob - libspectrum.spec
- moved base docs to base
[packages/libspectrum.git] / libspectrum.spec
1 Summary:        ZX Spectrum emulator file format library
2 Summary(pl):    Biblioteka do obs³ugi formatów plików emulatorów ZX Spectrum
3 Name:           libspectrum
4 Version:        0.1.1
5 Release:        1
6 License:        GPL
7 Group:          Development/Libraries
8 Source0:        http://www.srcf.ucam.org/~pak21/spectrum/%{name}-%{version}.tar.gz
9 # Source0-md5:  48f59f6ae6683a16fa45d5510f8dca45
10 URL:            http://www.srcf.ucam.org/~pak21/spectrum/libspectrum.html
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  glib-devel
14 BuildRequires:  zlib-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 libspectrum is a library designed to make the input and output of some
19 ZX Spectrum emulator files slightly easier. It is intended to be
20 usable on Unix variants, Win32 and Mac OS X.
21
22 %description -l pl
23 libspectrum jest bibliotek± zaprojektowan±, by u³atwiæ zapis i odczyt
24 plików wykorzystywanych przez emulatory ZX Spectrum. Mo¿na jej u¿ywaæ
25 na ró¿nych wariantach systemu Unix, Win32 i Mac OS X.
26
27 %package devel
28 Summary:        ZX Spectrum emulator file format library - development
29 Summary(pl):    Czê¶æ dla programistów u¿ywaj±cych biblioteki libspectrum
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}
32
33 %description devel
34 The libspectrum-devel package contains the header files and documentation
35 needed to develop applications with libspectrum.
36
37 %description devel -l pl
38 Pakiet libspectrum-devel zawiera pliki nag³ówkowe i dokumentacjê potrzebne
39 do kompilowania aplikacji korzystaj±cych z libspectrum.
40
41 %package static
42 Summary:        ZX Spectrum emulator file format static library
43 Summary(pl):    Statyczna biblioteka libspectrum
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{version}
46
47 %description static
48 The libspectrum-static package contains the static libraries of libspectrum.
49
50 %description static -l pl
51 Statyczna wersja biblioteki libspectrum.
52
53 %prep
54 %setup -q
55
56 %build
57 rm -f missing
58 %{__aclocal}
59 %{__libtoolize}
60 %{__autoheader}
61 %{__autoconf}
62 %{__automake}
63 %configure
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %files
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog README THANKS
81 %attr(755,root,root) %{_libdir}/libspectrum.so.*.*
82
83 %files devel
84 %defattr(644,root,root,755)
85 %doc doc/*
86 %attr(755,root,root) %{_libdir}/lib*.so
87 %{_libdir}/libspectrum.la
88 %{_includedir}/*
89
90 %files static
91 %defattr(644,root,root,755)
92 %{_libdir}/lib*.a
This page took 0.082883 seconds and 3 git commands to generate.