forked from lcnetdev/marc2bibframe2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
marc2bibframe2.spec
54 lines (40 loc) · 1.32 KB
/
marc2bibframe2.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
%define distnum %(/usr/lib/rpm/redhat/dist.sh --distnum)
%define idmetaversion %(. ./IDMETA; echo $VERSION)
Summary: MARCXML to BIBFRAME2 conversion
Name: marc2bibframe2
Version: %{idmetaversion}
Release: 1.indexdata
License: Public Domain
Group: Applications/Internet
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: libxml2,libxslt
%description
marc2bibframe2 is an XSLT 1.0 application for converting MARCXML
records to RDF/XML, using the BIBFRAME 2.0 and MADSRDF ontologies.
%prep
%setup -q
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/marc2bibframe2
cp -a xsl/* ${RPM_BUILD_ROOT}/%{_datadir}/marc2bibframe2
mkdir -p ${RPM_BUILD_ROOT}/%{_docdir}/marc2bibframe2
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_datadir}/marc2bibframe2
%{_docdir}/marc2bibframe2
%doc NEWS README.md LICENSE.md
%docdir %{_docdir}/marc2bibframe2
%changelog
* Thu Apr 6 2017 Wayne Schneider <[email protected]> - 1.1.0-1.indexdata
- Release 1.1.0
* Thu Mar 16 2017 Wayne Schneider <[email protected]> - 1.0.1-1.indexdata
- Release 1.0.1
* Thu Mar 9 2017 Wayne Schneider <[email protected]> - 1.0.0-1.indexdata
- First public release.
* Sat Feb 18 2017 Wayne Schneider <[email protected]> - 0.1.0-1.indexdata
- Initial build.