]> git.pld-linux.org Git - packages/bibcursed.git/blob - bibcursed.spec
- builds, works... STBR
[packages/bibcursed.git] / bibcursed.spec
1 # TODO:
2 # - fix makefile to build it TheRightWay(TM)
3 Summary:        Maintain BibTeX files
4 Name:           bibcursed
5 Version:        2.0.0
6 Release:        1
7 License:        GPL v2
8 Group:          Daemons
9 Source0:        http://dl.sourceforge.net/bibcursed/%{name}_%{version}.tar.gz
10 # Source0-md5:  2579457724f17c23cdac408e4271f2d9
11 URL:            http://sourceforge.net/projects/bibcursed/
12 BuildRequires:  ncurses-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Bibcursed is a simple curses-based editor for BibTeX bibliography
17 files, especially useful for those who have to maintain a large number
18 of references for a major piece of documentation, like a PhD thesis.
19 It performs everyday functions such as adding, removing and viewing
20 reference entries. Intelligent prompting for fields is used when
21 adding entries so that authors do not have to rely on memory for
22 knowing which fields can and cannot be used for different entry types.
23
24 %prep
25 %setup  -q -n %{name}
26
27 %build
28 %{__cc} %{rpmcflags} -I%{_includedir}/ncurses -lncurses -o %{name} bibcursed.c
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
33
34 install %{name} $RPM_BUILD_ROOT%{_bindir}
35 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc README INSTALL
43 %attr(755,root,root) %{_bindir}/*
44 %{_mandir}/man1/*.1*
This page took 0.08897 seconds and 3 git commands to generate.