-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathglick2.spec
67 lines (52 loc) · 1.56 KB
/
glick2.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
Name: glick2
Version: 0.0.1
Release: 1%{?dist}
Summary: An application bundle runtime
License: GPLv2+
URL: http://people.gnome.org/~alexl/glick2/
Source0: http://people.gnome.org/~alexl/glick2/releases/glick2-%{version}.tar.gz
BuildRequires: glib2-devel, fuse-devel
%description
Glick2 is a runtime and a set of tools to create
application bundles for Linux. An application bundle is a single file
that contains all the data and files needed to run an application. The
bundle can be run without installation, or be installed by just
putting the file in a known directory.
%package tools
Summary: Tools to create glick2 bundles
Group: System Environment/Libraries
License: GPLv2+
%description tools
This package contains tools needed to create glick2
bundles.
%prep
%setup -q
%build
%configure --disable-setuid-install
make V=1 %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc README
%{_bindir}/glick-fs
%{_bindir}/glick-runner
%attr(4755,root,root) %{_bindir}/glick-session
%attr(4755,root,root) %{_libexecdir}/glick-helper
%{_datadir}/mime/packages/glick2.xml
%config %{_sysconfdir}/binfmt.d/glick2.conf
%{_sysconfdir}/xdg/autostart/glick.desktop
%dir /opt/bundle
%dir /opt/session
%post
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
%postun
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
%files tools
%{_bindir}/glick-mkbundle
%changelog
* Thu Oct 13 2011 Alexander Larsson <[email protected]> - 0.0.1-1
- Initial version