Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
136 - 1
Name:
2
Version:
3
Release:        1%{?dist}
4
Summary:
5
 
6
Group:          System Environment/Libraries
7
License:
8
URL:
9
Source0:
10
 
11
BuildRequires:
12
Requires:
13
 
14
%description
15
 
16
 
17
%package        devel
18
Summary:        Development files for %{name}
19
Group:          Development/Libraries
20
Requires:       %{name} = %{version}-%{release}
21
 
22
%description    devel
23
The %{name}-devel package contains libraries and header files for
24
developing applications that use %{name}.
25
 
26
 
27
%prep
28
%setup -q
29
 
30
 
31
%build
32
%configure --disable-static
33
make %{?_smp_mflags}
34
 
35
 
36
%install
37
rm -rf $RPM_BUILD_ROOT
38
make install DESTDIR=$RPM_BUILD_ROOT
39
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
40
 
41
 
42
%clean
43
rm -rf $RPM_BUILD_ROOT
44
 
45
 
46
%post -p /sbin/ldconfig
47
 
48
%postun -p /sbin/ldconfig
49
 
50
 
51
%files
52
%defattr(-,root,root,-)
53
%doc
54
%{_libdir}/*.so.*
55
 
56
%files devel
57
%defattr(-,root,root,-)
58
%doc
59
%{_includedir}/*
60
%{_libdir}/*.so
61
 
62
 
63
%changelog