~ubuntu-branches/ubuntu/utopic/ardour3/utopic

« back to all changes in this revision

Viewing changes to libs/pbd/libpbd.spec.in

  • Committer: Package Import Robot
  • Author(s): Felipe Sateler
  • Date: 2013-09-21 19:05:02 UTC
  • Revision ID: package-import@ubuntu.com-20130921190502-8gsftrku6jnzhd7v
Tags: upstream-3.4~dfsg
ImportĀ upstreamĀ versionĀ 3.4~dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Summary: A general purpose programming library
 
2
%define lib_name pbd
 
3
Name: lib%{lib_name}
 
4
Version: @VERSION@
 
5
Release: 2
 
6
Copyright: GPL
 
7
Source: .
 
8
Url: http://www.quasimodo.org
 
9
Vendor: Paul Davis <paul@linuxaudiosystems.com>
 
10
Packager: jfm3 <jfm3@acm.org>
 
11
Group: System Environment/Libraries
 
12
Prefix: %{_prefix}
 
13
BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
14
 
 
15
%description
 
16
 
 
17
This library implements a number of programming utilities used by Paul
 
18
Davis (formerly Paul Barton-Davis, hence the name).  It is used in
 
19
some of his Open Source software projects.  See
 
20
http://ardour.sf.net/ for examples.
 
21
 
 
22
%prep
 
23
%setup -q
 
24
 
 
25
%build
 
26
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure $ARCH_FLAGS --prefix=%{prefix}
 
27
make
 
28
 
 
29
%install
 
30
rm -rf $RPM_BUILD_ROOT
 
31
install -d -m 755 $RPM_BUILD_ROOT%{prefix}/{{include,lib}/%{lib_name}}
 
32
make install INSTALL="%(which install) -p" prefix=$RPM_BUILD_ROOT%{prefix}
 
33
 
 
34
%post
 
35
/sbin/ldconfig
 
36
 
 
37
%postun
 
38
/sbin/ldconfig
 
39
 
 
40
%clean
 
41
rm -rf $RPM_BUILD_ROOT
 
42
 
 
43
%files
 
44
%defattr(-,root,root)
 
45
%doc README AUTHORS NEWS COPYING*
 
46
%{prefix}/lib/libpbd.so*
 
47
 
 
48
%package devel
 
49
Summary: A general purpose programming library -- developer version.
 
50
Group: System Environment/Libraries
 
51
 
 
52
%description devel
 
53
 
 
54
This library implements a number of programming utilities used by Paul
 
55
Davis (formerly Paul Barton-Davis, hence the name).  It is used in
 
56
some of his Open Source software projects.  See
 
57
http://ardour.sf.net/ for examples.
 
58
 
 
59
This package holds static libraries and headers needed by developers
 
60
who wish to use libpbd in their programs.
 
61
 
 
62
%files devel
 
63
%defattr(-,root,root)
 
64
%{prefix}/include/pbd/*
 
65
%{prefix}/lib/libpbd.a
 
66
%{prefix}/lib/libpbd.la
 
67
%{prefix}/bin/pbd-config
 
68
%{prefix}/share/aclocal/pbd.m4
 
69
%{prefix}/share/aclocal/unique_args.m4
 
70