]> git.pld-linux.org Git - SPECS.git/blob - xemacs-forms-pkg.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / xemacs-forms-pkg.spec
1 Summary:        Forms editing support (obsolete, use Widget instead)
2 Summary(pl.UTF-8):      Wsparcie do edycji formularzy (przestarzałe, lepiej używać Widget)
3 Name:           xemacs-forms-pkg
4 %define         srcname forms
5 Version:        1.15
6 Release:        2
7 License:        GPL
8 Group:          Applications/Editors/Emacs
9 Source0:        http://ftp.xemacs.org/xemacs/packages/%{srcname}-%{version}-pkg.tar.gz
10 # Source0-md5:  5f5cc842399040018bab20f776cf1cf8
11 Patch0:         %{name}-info.patch
12 URL:            http://www.xemacs.org/
13 BuildRequires:  texinfo
14 Requires:       xemacs
15 Conflicts:      xemacs-sumo
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Forms editing support (obsolete, use Widget instead).
21
22 %description -l pl.UTF-8
23 Wsparcie do edycji formularzy (przestarzałe, zamiast tego lepiej
24 używać Widget).
25
26 %prep
27 %setup -q -c
28 %patch0 -p1
29
30 %build
31 cd man/forms
32 awk '/^\\input texinfo/ {print FILENAME}' * | xargs makeinfo
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_datadir}/xemacs-packages,%{_infodir}}
37
38 cp -a * $RPM_BUILD_ROOT%{_datadir}/xemacs-packages
39 mv -f  $RPM_BUILD_ROOT%{_datadir}/xemacs-packages/info/*.info* $RPM_BUILD_ROOT%{_infodir}
40 rm -fr $RPM_BUILD_ROOT%{_datadir}/xemacs-packages/info
41
42 # remove .el file if corresponding .elc file exists
43 find $RPM_BUILD_ROOT -type f -name "*.el" | while read i; do test ! -f ${i}c || rm -f $i; done
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %post   -p      /sbin/postshell
49 -/usr/sbin/fix-info-dir -c %{_infodir}
50
51 %postun -p      /sbin/postshell
52 -/usr/sbin/fix-info-dir -c %{_infodir}
53
54 %files
55 %defattr(644,root,root,755)
56 %doc lisp/forms/ChangeLog
57 %{_datadir}/xemacs-packages/etc/*
58 %dir %{_datadir}/xemacs-packages/lisp/*
59 %{_datadir}/xemacs-packages/lisp/*/*.el*
60 %{_infodir}/*.info*
This page took 0.246216 seconds and 3 git commands to generate.