-
Notifications
You must be signed in to change notification settings - Fork 0
/
valhalla.spec.in
60 lines (46 loc) · 1.2 KB
/
valhalla.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
Name: valhalla
Version: @VERSION@
Release: 1
Summary: File upload manager
Group: Applications/Internet
License: GPLv3
URL: https://github.com/Bob131/valhalla
Source0: %{url}/archive/%{version}.zip
BuildRequires: vala vala-tools gtk3-devel libgee-devel sqlite-devel
BuildRequires: libnotify-devel zlib-devel libsoup-devel nautilus-devel
BuildRequires: gnome-desktop3-devel
%description
Utility for sharing files
%package devel
Summary: Headers for developing Valhalla plugins
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Valhalla is a utility for sharing files. This package allows you to develop
plugins for Valhalla
%prep
%autosetup
%build
NOCONFIGURE=1 ./autogen.sh
%configure
make
%install
make install DESTDIR=%{buildroot}
libtool --finish %{buildroot}%{_libdir}/valhalla
%files
%{_bindir}/*
%{_datadir}/*
%{_libdir}/*
%exclude %{_libdir}/*.la
%exclude %{_libdir}/*.a
%exclude %{_libdir}/nautilus/extensions-3.0/*.la
%exclude %{_libdir}/nautilus/extensions-3.0/*.a
%exclude %{_libdir}/%{name}/*.la
%exclude %{_libdir}/%{name}/*.a
%files devel
%{_datadir}/vala/vapi/valhalla.vapi
%{_includedir}/valhalla.h
%post
/sbin/ldconfig
%postun
/sbin/ldconfig