Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:repabuild
bibextract
bibextract.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bibextract.spec of Package bibextract
Name: bibextract Version: 1.09 Release: 3%{?dist} Summary: Extracts a subset of bibfile entries Group: Applications/Text License: GPL URL: http://www.math.utah.edu/pub/bibextract/ Source0: http://www.math.utah.edu/pub/bibextract/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: sed, gzip Requires: sed, gawk, gzip %description This directory, bibextract, contains UNIX shell and awk programs for extracting citation tags from LaTeX source and .aux files, and for using those tags to extract bibliography entries from a list of BibTeX .bib files. %prep %setup -q %build %configure make %{?_smp_mflags} check %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_datadir}/%{name} install -d $RPM_BUILD_ROOT%{_bindir} install -d $RPM_BUILD_ROOT%{_mandir}/man1 #make install prefix=$RPM_BUILD_ROOT%{_prefix} \ # MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \ # LIBDIR=$RPM_BUILD_ROOT%{_datadir}/%{name} for f in bibextract citefind citetags; do sed -e "s=@LIBDIR@=%{_datadir}/%{name}=g s=@BINDIR@=%{_bindir}=g s=nawk=awk= s=sort=sort -u=" <$f.sh >$RPM_BUILD_ROOT%{_bindir}/$f chmod 775 $RPM_BUILD_ROOT%{_bindir}/$f sed -e "s=@LIBDIR@=%{_datadir}/%{name}=g s=@BINDIR@=%{_bindir}=g" <$f.awk >$RPM_BUILD_ROOT%{_datadir}/%{name}/$f.awk sed -e "s=@LIBDIR@=%{_datadir}/%{name}=g s=@BINDIR@=%{_bindir}=g" <$f.man >$RPM_BUILD_ROOT%{_mandir}/man1/$f.1 done gzip $RPM_BUILD_ROOT%{_mandir}/man1/*.1 %clean #rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README COPYING *.ps %{_bindir}/citefind %{_bindir}/bibextract %{_bindir}/citetags %{_datadir}/%{name} %{_mandir}/man1/* %{_bindir}/citefind %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor