-
Notifications
You must be signed in to change notification settings - Fork 5
/
labrea.spec
54 lines (41 loc) · 1.22 KB
/
labrea.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
Name: labrea
Version: 0.1
Release: 1
Summary: Scripting Other People's Programs
Group: Development
License: MIT
URL: https://github.com/dustin/labrea/wiki
Source: labrea-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python
%description
La Brea allows you to inject scripts into an existing application without
recompiling.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} PREFIX=%{_prefix} LIBS=%{_libexecdir}
# Don't install the .la-files
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
# Default configs
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README.markdown
%{_bindir}/labrea
%{_libexecdir}/labrea.so
%{_datadir}/labrea-init.lua
%{_datadir}/labrea/examples/*lua
%attr (0755, root, bin) %{_libexecdir}/labrea.so
%attr (0644, root, bin) %{_datadir}/labrea-init.lua
%attr (0644, root, bin) %{_datadir}/labrea/examples/*.lua
%dir %attr (0755, root, bin) %{_libexecdir}
%dir %attr (0755, root, bin) %{_datadir}
%changelog
* Tue Dec 7 2010 Dustin Sallings <[email protected]>
- Initial spec file created