-
Notifications
You must be signed in to change notification settings - Fork 0
/
cue-munger.spec.in
71 lines (49 loc) · 1.4 KB
/
cue-munger.spec.in
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
Name: cue-munger
Version: @VERSION@
Release: 1%{?dist}
Summary: Cue sheet handling utility
License: GPL
URL: https://github.com/Bob131/cue-munger
Source0: %{url}/archive/%{version}.tar.gz
BuildRequires: vala
BuildRequires: glib2-devel
BuildRequires: libgee-devel
BuildRequires: gobject-introspection-devel
BuildRequires: ragel
BuildRequires: uchardet-devel
%description
cue-munger is a CLI application that aims to ease some of the pain of working
with cue sheets.
%package -n libgue
Summary: GObject cue sheet parsing library
%description -n libgue
libgue is a GObject cue sheet parser, part of cue-munger.
%package -n libgue-devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n libgue-devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup
%build
NOCONFIGURE=1 ./autogen.sh
%configure --disable-static
%make_build
%install
rm -rf $RPM_BUILD_ROOT
%make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%{_bindir}/cue-munger
%files -n libgue
%license LICENSE
%{_libdir}/*.so
%{_libdir}/girepository-1.0/*
%{_datadir}/gir-1.0/*
%files -n libgue-devel
%{_includedir}/*
%{_libdir}/pkgconfig/*
%{_datadir}/vala/vapi/*