From d313313a0cabe97d6735d3833c0eb9904c677d23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Go=C5=82aszewski?= Date: Mon, 12 Jul 2004 17:52:56 +0000 Subject: [PATCH] - builds, works... STBR Changed files: bibcursed.spec -> 1.1 --- bibcursed.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 bibcursed.spec diff --git a/bibcursed.spec b/bibcursed.spec new file mode 100644 index 0000000..52d41b2 --- /dev/null +++ b/bibcursed.spec @@ -0,0 +1,44 @@ +# TODO: +# - fix makefile to build it TheRightWay(TM) +Summary: Maintain BibTeX files +Name: bibcursed +Version: 2.0.0 +Release: 1 +License: GPL v2 +Group: Daemons +Source0: http://dl.sourceforge.net/bibcursed/%{name}_%{version}.tar.gz +# Source0-md5: 2579457724f17c23cdac408e4271f2d9 +URL: http://sourceforge.net/projects/bibcursed/ +BuildRequires: ncurses-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Bibcursed is a simple curses-based editor for BibTeX bibliography +files, especially useful for those who have to maintain a large number +of references for a major piece of documentation, like a PhD thesis. +It performs everyday functions such as adding, removing and viewing +reference entries. Intelligent prompting for fields is used when +adding entries so that authors do not have to rely on memory for +knowing which fields can and cannot be used for different entry types. + +%prep +%setup -q -n %{name} + +%build +%{__cc} %{rpmcflags} -I%{_includedir}/ncurses -lncurses -o %{name} bibcursed.c + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} + +install %{name} $RPM_BUILD_ROOT%{_bindir} +install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README INSTALL +%attr(755,root,root) %{_bindir}/* +%{_mandir}/man1/*.1* -- 2.43.0