]> git.pld-linux.org Git - SPECS.git/blob - prcs.spec
SPECS updated Sun 1 Aug 15:50:02 CEST 2021
[SPECS.git] / prcs.spec
1 Summary:        Project Revision Control System
2 Summary(pl.UTF-8):      System kontroli wersji dla projektów
3 Name:           prcs
4 Version:        1.3.2
5 Release:        3
6 License:        GPL
7 Group:          Development/Version Control
8 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  e18a0566d512ea4ef7018a9b4158ff8f
10 Patch0:         %{name}-man.patch
11 Patch1:         %{name}-perl.patch
12 Patch2:         %{name}-gcc3.patch
13 URL:            http://prcs.sourceforge.net/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libstdc++-devel
17 BuildRequires:  xemacs-ediff-pkg
18 BuildRequires:  xemacs-emerge-pkg
19 BuildRequires:  xemacs-vc-pkg
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 PRCS is a simplified directory tree project oriented revision control
24 system.
25
26 %description -l pl.UTF-8
27 PRCS to uproszczony, zorientowany na drzewo katalogowe system kontroli
28 wersji.
29
30 %package -n xemacs-prcs-pkg
31 Summary:        PRCS mode for EMACS
32 Summary(pl.UTF-8):      Tryb PRCS dla EMACS-a
33 Group:          Development/Version Control
34 Requires:       %{name} = %{version}-%{release}
35 Requires:       xemacs
36 Obsoletes:      prcs-el
37
38 %description -n xemacs-prcs-pkg
39 PRCS mode for EMACS.
40
41 %description -n xemacs-prcs-pkg -l pl.UTF-8
42 Tryb PRCS dla EMACS-a.
43
44 %prep
45 %setup -q
46 %patch0 -p1
47 %patch1 -p1
48 %patch2 -p1
49
50 rm -f emacs/*.elc
51
52 %build
53 %{__aclocal}
54 %{__autoheader}
55 %{__autoconf}
56 %{__automake}
57 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
58 %configure \
59         SYS_RCS_COMMAND_PATH="/usr/bin/rcs" \
60         SYS_CI_COMMAND_PATH="/usr/bin/ci" \
61         SYS_CO_COMMAND_PATH="/usr/bin/co" \
62         SYS_RLOG_COMMAND_PATH="/usr/bin/rlog"
63
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT \
71         lispdir=%{_datadir}/xemacs/site-lisp
72
73 install man/* $RPM_BUILD_ROOT%{_mandir}/man1
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post   -p      /sbin/postshell
79 -/usr/sbin/fix-info-dir -c %{_infodir}
80
81 %postun -p      /sbin/postshell
82 -/usr/sbin/fix-info-dir -c %{_infodir}
83
84 %files
85 %defattr(644,root,root,755)
86 %doc AUTHORS NEWS README README.BE FAQ ChangeLog
87 %attr(755,root,root) %{_bindir}/*
88 %{_mandir}/man1/*
89 %{_infodir}/*info*
90
91 %files -n xemacs-prcs-pkg
92 %defattr(644,root,root,755)
93 %{_datadir}/xemacs/site-lisp/*
This page took 0.210367 seconds and 3 git commands to generate.