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