-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpvm-actrepo.spec.in
57 lines (41 loc) · 1.15 KB
/
pvm-actrepo.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
Name: @PACKAGE_RPMNAME@
Version: @PACKAGE_RPMVERSION@
Release: @RELEASE_VERSION@%{?dist}
Summary: Actrepo library from CloudAvid
Group: pvm-core
License: Pre
URL: http://www.cloudavid.com/
Source0: @PACKAGE_RPMNAME@-@PACKAGE_RPMVERSION@.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildRequires:
Requires: pvm-plogger pvm-putil pvm-pparam pvm-ipc
%description
%package devel
Summary: Headers and libraries for actrepo
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
%prep
%setup -q
%build
%configure --prefix=@prefix@
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
@libdir@/libpactrepo.la
@libdir@/libpactrepo.so
@libdir@/libpactrepo.so.@MAJOR_VERSION@
@libdir@/libpactrepo.so.@VERSION@
%files devel
%defattr(-,root,root,-)
@libdir@/pkgconfig/@PACKAGE@.pc
@includedir@/pvm/actrepo/plogger.hpp
@includedir@/pvm/actrepo/actrepo.hpp
@includedir@/pvm/actrepo/fireloop.hpp
%postun -p /sbin/ldconfig
%changelog