-
Notifications
You must be signed in to change notification settings - Fork 3
/
camunits.spec.in
60 lines (47 loc) · 1.32 KB
/
camunits.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: @PACKAGE@
Version: @VERSION@
Release: 1%{?dist}
Summary: Image acquisition library for machine vision researchers
Group: Development/Libraries
License: LGPL
URL: http://code.google.com/p/camunits/
Source0: http://camunits.googlecode.com/files/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
Write me
%package devel
Summary: Headers and libraries for camunits application development
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
The camunits-devel package contains the libraries and include files
that you can use to develop camunits applications.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=%{buildroot} INSTALL="%{__install} -c -p" install
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_bindir}/*
%{_libdir}/lib*.so.*
# %{_datadir}/locale/*/LC_MESSAGES/*.mo
%files devel
%defattr(-,root,root)
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/camunits
%{_datadir}/gtk-doc/html/camunits
%changelog
* Mon Nov 12 2007 David Moore <dcm@acm.org> 0.0.1-1
- Initial version