]> git.pld-linux.org Git - packages/psiconv.git/blob - psiconv.spec
- noted download URL
[packages/psiconv.git] / psiconv.spec
1 Summary:        Psion 5 data format library
2 Summary(pl.UTF-8):      Biblioteka obsługi plików Psion 5
3 Name:           psiconv
4 Version:        0.9.9
5 Release:        7
6 License:        GPL v2+
7 Group:          Libraries
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
18 BuildRequires:  bc
19 BuildRequires:  libtool
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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.
31
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.
41
42 %package devel
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}
47
48 %description devel
49 Header files for psiconv and Psion 5 file format documentation.
50
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe psiconv oraz dokumentacja formatu plików Psion 5.
53
54 %package static
55 Summary:        Static psiconv library
56 Summary(pl.UTF-8):      Statyczna biblioteka psiconv
57 Group:          Development/Libraries
58 Requires:       %{name}-devel = %{version}-%{release}
59
60 %description static
61 Static psiconv library.
62
63 %description static -l pl.UTF-8
64 Statyczna biblioteka psiconv.
65
66 %prep
67 %setup -q
68 %patch0 -p1
69 %patch1 -p1
70
71 %build
72 %{__libtoolize}
73 %{__aclocal}
74 %{__autoconf}
75 %{__autoheader}
76 %{__automake}
77 %configure \
78         MAGICKCONFIG=MagickCore-config
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT
86
87 %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/psiconv.conf.eg
88
89 %{__rm} -r formats/xhtml/.temp
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
96
97 %files
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*
110
111 %files devel
112 %defattr(644,root,root,755)
113 %doc formats/xhtml/*
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*
119
120 %files static
121 %defattr(644,root,root,755)
122 %{_libdir}/libpsiconv.a
This page took 0.104283 seconds and 3 git commands to generate.