Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 5065ae18ef9f34f6b6b68648b25b1b53 > files > 3

cdecl-2.5-22mdk.src.rpm

%define name cdecl
%define version 2.5
%define release 22mdk


Summary: Programs for encoding and decoding C and C++ function declarations.
Name: %name
Version: %version
Release: %release
License: Distributable
Group: Development/C
Source: %{name}-%{version}.tar.bz2
Url: ftp://sunsite.unc.edu/pub/Linux/devel/lang/c/
Patch: cdecl-2.5.misc_conflicts.patch.bz2
BuildRequires: readline-devel
BuildRequires: libtermcap-devel
BuildRequires: byacc
BuildRequires: flex
BuildRoot: %{_tmppath}/%{name}-root

%description
The cdecl package includes the cdecl and c++decl utilities, which are
used to translate English to C or C++ function declarations and vice
versa.

You should install the cdecl package if you intend to do C and/or C++
programming.

%prep

%setup -q

%patch -p1

%build

%make

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
%makeinstall \
	BINDIR=$RPM_BUILD_ROOT%{_bindir} \
	MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1/

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/cdecl
%{_bindir}/c++decl
%{_mandir}/man1/cdecl.1.bz2
%{_mandir}/man1/c++decl.1.bz2

%changelog
* Sun Apr 03 2005 Michael Scherer <misc@mandrake.org> 2.5-22mdk
- Rebuild for readline

* Sun Nov 30 2003 Franck Villaume <fvill@freesurf.fr> 2.5-21mdk
- add BuildRequires flex

* Thu Nov 27 2003 Franck Villaume <fvill@freesurf.fr> 2.5-20mdk
- add BuildRequires byacc

* Fri Jan  3 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 2.5-19mdk
- Rebuild

* Wed Jul 24 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.5-18mdk
- rebuild for new readline

* Tue Jun 11 2002 Lenny Cartier <lenny@mandrakesoft.com> 2.5-17mdk
- patch0: fix conflicting types & merge with previous patch (missing header)

* Mon Oct 22 2001 Ludovic Francois <lfrancois@mandrakesoft.com> 2.5-16mdk
- rebuild for rpmlint

* Thu Jun 28 2001 Lenny Cartier <lenny@mandrakesoft.com> 2.5-15mdk
- rebuild

* Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 2.5-14mdk
- automatically added BuildRequires

* Tue Aug 01 2000 Stefan van der Eijk <s.vandereijk@chello.nl> 2.5-13mdk
- macroszifications
- spec file cleanup
- BM

* Sat Mar 25 2000 Daouda Lo <daouda@mandrakesoft.com> 2.5-12mdk
- change group

* Sun Nov 28 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
- SMP build macro

* Tue May 11 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.com>
- Mandrake adaptions

* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
- auto rebuild in the new build environment (release 9)

* Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com>
- built for glibc 2.1

* Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
- build root

* Tue May 05 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr

* Fri Oct 10 1997 Erik Troan <ewt@redhat.com>
- built against readline lib w/ proper soname

* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
- built against glibc