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