1 Summary: Psion 5 data format library
2 Summary(pl.UTF-8): Biblioteka obsługi plików Psion 5
8 #Source0Download: https://frodo.looijaard.name/node/16/release
9 Source0: https://www.frodo.looijaard.name/system/files/software/psiconv/%{name}-%{version}.tar.gz
10 # Source0-md5: 286e427b10f4d10aaeef1944210a2ea6
11 Patch0: %{name}-magick.patch
12 Patch1: %{name}-extern.patch
13 URL: https://frodo.looijaard.name/project/psiconv
14 BuildRequires: ImageMagick-devel >= 1:6
15 BuildRequires: autoconf
16 BuildRequires: automake
17 # for formats/index_html.sh
19 BuildRequires: libtool
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This package is meant to make the Psion 5 series of PDAs, as well as
24 other small computers running Epoc 32, more usable to non-Windows
25 users. The package consists of several parts:
26 - Documentation about Psion 5 data formats;
27 - A library which can be linked against application that have to read
28 (and in the future, perhaps write) Psion 5 files;
29 - An example command-line program which reads Psion files and writes
30 more commonly used formats.
32 %description -l pl.UTF-8
33 Ten pakiet ma za zadanie uczynić PDA serii Psion 5 oraz inne małe
34 komputery na Epoc 32 bardziej użytecznymi dla użytkowników systemów
35 innych niż Windows. Pakiet zawiera:
36 - dokumentację o formatach danych Psion 5,
37 - bibliotekę dla aplikacji, która może czytać (w przyszłości być może
38 także zapisywać) pliki Psion 5,
39 - przykładowy program czytający pliki Psion 5 i zapisujący w częściej
40 spotykanych formatach.
43 Summary: Development part of psiconv
44 Summary(pl.UTF-8): Część psiconv przeznaczona dla programistów
45 Group: Development/Libraries
46 Requires: %{name} = %{version}-%{release}
49 Header files for psiconv and Psion 5 file format documentation.
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe psiconv oraz dokumentacja formatu plików Psion 5.
55 Summary: Static psiconv library
56 Summary(pl.UTF-8): Statyczna biblioteka psiconv
57 Group: Development/Libraries
58 Requires: %{name}-devel = %{version}-%{release}
61 Static psiconv library.
63 %description static -l pl.UTF-8
64 Statyczna biblioteka psiconv.
78 MAGICKCONFIG=MagickCore-config
82 rm -rf $RPM_BUILD_ROOT
85 DESTDIR=$RPM_BUILD_ROOT
87 %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/psiconv.conf.eg
89 %{__rm} -r formats/xhtml/.temp
92 rm -rf $RPM_BUILD_ROOT
94 %post -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
98 %defattr(644,root,root,755)
99 %doc AUTHORS ChangeLog NEWS README TODO
100 %attr(755,root,root) %{_bindir}/psiconv
101 %attr(755,root,root) %{_libdir}/libpsiconv.so.*.*.*
102 %attr(755,root,root) %ghost %{_libdir}/libpsiconv.so.6
103 %dir %{_sysconfdir}/%{name}
104 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/psiconv.conf
105 %dir %{_datadir}/%{name}
106 %{_datadir}/%{name}/psion
107 %{_datadir}/%{name}/xhtml
108 %{_mandir}/man1/psiconv.1*
109 %{_mandir}/man5/psiconv.conf.5*
112 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_bindir}/psiconv-config
115 %attr(755,root,root) %{_libdir}/libpsiconv.so
116 %{_libdir}/libpsiconv.la
117 %{_includedir}/psiconv
118 %{_mandir}/man1/psiconv-config.1*
121 %defattr(644,root,root,755)
122 %{_libdir}/libpsiconv.a