forked from lcnetdev/marc2bibframe2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
marc2bibframe2.spec
84 lines (60 loc) · 2.22 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
%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
%docdir %{_docdir}/marc2bibframe2
%changelog
* Thu Jan 30 2020 Wayne Schneider <wayne@indexdata.com> - 1.5.2-1.indexdata
- Release 1.5.2
* Thu Jun 13 2019 Wayne Schneider <wayne@indexdata.com> - 1.5.1-1.indexdata
- Release 1.5.1
* Wed Jun 12 2019 Wayne Schneider <wayne@indexdata.com> - 1.5.0-1.indexdata
- Release 1.5.0
* Fri Feb 15 2019 Wayne Schneider <wayne@indexdata.com> - 1.4.0-1.indexdata
- Release 1.4.0
* Fri Jun 15 2018 Wayne Schneider <wayne@indexdata.com> - 1.3.2-1.indexdata
- Release 1.3.2
* Sat Oct 7 2017 Wayne Schneider <wayne@indexdata.com> - 1.3.1-1.indexdata
- Release 1.3.1
* Sat Oct 7 2017 Wayne Schneider <wayne@indexdata.com> - 1.3.0-1.indexdata
- Release 1.3.0
* Thu Jun 15 2017 Wayne Schneider <wayne@indexdata.com> - 1.2.2-1.indexdata
- Release 1.2.2
* Tue Jun 13 2017 Wayne Schneider <wayne@indexdata.com> - 1.2.1-1.indexdata
- Release 1.2.1
* Mon Jun 12 2017 Wayne Schneider <wayne@indexdata.com> - 1.2.0-1.indexdata
- Release 1.2.0
* Thu Apr 6 2017 Wayne Schneider <wayne@indexdata.com> - 1.1.0-1.indexdata
- Release 1.1.0
* Thu Mar 16 2017 Wayne Schneider <wayne@indexdata.com> - 1.0.1-1.indexdata
- Release 1.0.1
* Thu Mar 9 2017 Wayne Schneider <wayne@indexdata.com> - 1.0.0-1.indexdata
- First public release.
* Sat Feb 18 2017 Wayne Schneider <wayne@indexdata.com> - 0.1.0-1.indexdata
- Initial build.