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