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