]>
Commit | Line | Data |
---|---|---|
472db518 | 1 | Summary: Psion 5 data format library |
ddfcae4b | 2 | Summary(pl.UTF-8): Biblioteka obsługi plików Psion 5 |
472db518 | 3 | Name: psiconv |
cbedd125 | 4 | Version: 0.9.8 |
baf8a5de | 5 | Release: 2 |
472db518 JB |
6 | License: GPL |
7 | Group: Libraries | |
cbedd125 JR |
8 | Source0: http://software.frodo.looijaard.name/psiconv/files/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 8d7548e3c6b9cd408544736133728acd | |
10 | URL: http://software.frodo.looijaard.name/psiconv/ | |
fa7c7992 | 11 | BuildRequires: ImageMagick-devel |
e6b66212 | 12 | BuildRequires: automake |
e62cec5f | 13 | BuildRequires: bc |
beeaa2e5 | 14 | BuildRequires: gcc-c++ |
472db518 JB |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | This package is meant to make the Psion 5 series of PDAs, as well as | |
19 | other small computers running Epoc 32, more usable to non-Windows | |
20 | users. The package consists of several parts: | |
6057f9e5 | 21 | - Documentation about Psion 5 data formats; |
22 | - A library which can be linked against application that have to read | |
23 | (and in the future, perhaps write) Psion 5 files; | |
24 | - An example command-line program which reads Psion files and writes | |
25 | more commonly used formats. | |
472db518 | 26 | |
0db537cb JR |
27 | %description -l pl.UTF-8 |
28 | Ten pakiet ma za zadanie uczynić PDA serii Psion 5 oraz inne małe | |
29 | komputery na Epoc 32 bardziej użytecznymi dla użytkowników systemów | |
30 | innych niż Windows. Pakiet zawiera: | |
31 | - dokumentację o formatach danych Psion 5, | |
32 | - bibliotekę dla aplikacji, która może czytać (w przyszłości być może | |
33 | także zapisywać) pliki Psion 5, | |
34 | - przykładowy program czytający pliki Psion 5 i zapisujący w częściej | |
6057f9e5 | 35 | spotykanych formatach. |
472db518 JB |
36 | |
37 | %package devel | |
38 | Summary: Development part of psiconv | |
ddfcae4b | 39 | Summary(pl.UTF-8): Część psiconv przeznaczona dla programistów |
472db518 | 40 | Group: Development/Libraries |
fa7c7992 | 41 | Requires: %{name} = %{version}-%{release} |
472db518 JB |
42 | |
43 | %description devel | |
44 | Header files for psiconv and Psion 5 file format documentation. | |
45 | ||
0db537cb JR |
46 | %description devel -l pl.UTF-8 |
47 | Pliki nagłówkowe psiconv oraz dokumentacja formatu plików Psion 5. | |
472db518 JB |
48 | |
49 | %package static | |
50 | Summary: Static psiconv library | |
ddfcae4b | 51 | Summary(pl.UTF-8): Statyczna biblioteka psiconv |
472db518 | 52 | Group: Development/Libraries |
fa7c7992 | 53 | Requires: %{name}-devel = %{version}-%{release} |
472db518 JB |
54 | |
55 | %description static | |
56 | Static psiconv library. | |
57 | ||
0db537cb | 58 | %description static -l pl.UTF-8 |
472db518 JB |
59 | Statyczna biblioteka psiconv. |
60 | ||
61 | %prep | |
62 | %setup -q | |
63 | ||
64 | %build | |
e6b66212 | 65 | cp -f /usr/share/automake/config.sub . |
472db518 JB |
66 | %configure |
67 | %{__make} | |
68 | ||
69 | %install | |
70 | rm -rf $RPM_BUILD_ROOT | |
2d114d83 | 71 | |
fa7c7992 | 72 | %{__make} install \ |
73 | DESTDIR=$RPM_BUILD_ROOT | |
472db518 | 74 | |
e62cec5f | 75 | rm -rf formats/xhtml/.temp |
2d114d83 | 76 | |
472db518 JB |
77 | %clean |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
6057f9e5 | 80 | %post -p /sbin/ldconfig |
81 | %postun -p /sbin/ldconfig | |
2d114d83 | 82 | |
472db518 JB |
83 | %files |
84 | %defattr(644,root,root,755) | |
7bd62695 | 85 | %doc AUTHORS NEWS README TODO |
beeaa2e5 | 86 | %attr(755,root,root) %{_bindir}/psiconv |
87 | %attr(755,root,root) %{_libdir}/libpsiconv.so.*.*.* | |
88 | %attr(755,root,root) %ghost %{_libdir}/libpsiconv.so.? | |
e62cec5f | 89 | %dir %{_sysconfdir}/%{name} |
b25f0142 | 90 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/* |
e62cec5f | 91 | %dir %{_datadir}/%{name} |
92 | %{_datadir}/%{name}/psion | |
e78a7ea6 | 93 | %{_datadir}/%{name}/xhtml |
beeaa2e5 | 94 | %{_mandir}/man1/psiconv.1* |
472db518 JB |
95 | |
96 | %files devel | |
97 | %defattr(644,root,root,755) | |
e62cec5f | 98 | %doc formats/xhtml/* |
beeaa2e5 | 99 | %attr(755,root,root) %{_bindir}/psiconv-config |
472db518 | 100 | %attr(755,root,root) %{_libdir}/libpsiconv.so |
00afa8d3 | 101 | %{_libdir}/libpsiconv.la |
472db518 | 102 | %{_includedir}/psiconv |
beeaa2e5 | 103 | %{_mandir}/man1/psiconv-config.1* |
472db518 JB |
104 | |
105 | %files static | |
106 | %defattr(644,root,root,755) | |
107 | %{_libdir}/libpsiconv.a |