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