source: projects/specs/trunk/nonfree/self-build-libdca/libdca-vl.spec @ 620

Revision 620, 2.4 KB checked in by munepi, 14 years ago (diff)

added many self-build-* specs

Line 
1%define name libdca
2%define version 0.0.5
3%define release 4%{?_dist_release}
4
5Summary: DTS Coherent Acoustics decoder library
6Name: %{name}
7Version: %{version}
8Release: %{release}
9Source: http://download.videolan.org/pub/videolan/libdca/0.0.5/%{name}-%{version}.tar.bz2
10Patch0: libdca-0.0.5-relsymlinks.patch
11URL: http://www.videolan.org/developers/libdca.html
12License: GPLv2+
13Group: System Environment/Libraries
14
15#Requires:
16BuildRequires: automake, libtool
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18
19%description
20libdca is a free library for decoding DTS Coherent Acoustics streams. It is
21released under the terms of the GPL license. The DTS Coherent Acoustics
22standard is used in a variety of applications, including DVD, DTS audio CD and
23radio broadcasting.
24
25%package devel
26Summary: Development files for %{name}
27Group: Development/Libraries
28Requires: %{name} = %{version}-%{release}
29Requires: pkgconfig
30
31%description devel
32Development files for %{name}.
33
34Install %{name}-devel if you wish to develop or compile
35applications that use %{name}.
36
37%package tools
38Summary: Various tools for use with %{name}
39Group: Applications/Multimedia
40
41%description tools
42Various tools that use %{name}.
43
44%prep
45rm -rf $RPM_BUILD_ROOT
46
47%setup -q
48%patch0 -p1 -b .relsymlinks
49
50%build
51%configure
52%{__make} %{?_smp_mflags} OPT_CFLAGS="$RPM_OPT_FLAGS"
53
54%install
55rm -rf $RPM_BUILD_ROOT
56make DESTDIR=$RPM_BUILD_ROOT install
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%post -p /sbin/ldconfig
62
63%postun -p /sbin/ldconfig
64
65%files
66%defattr(-,root,root,0755)
67%doc AUTHORS COPYING ChangeLog NEWS README
68%{_libdir}/*.so.*
69
70%files tools
71%defattr(-,root,root,0755)
72%{_bindir}/*
73%{_mandir}/man1/*
74
75%files devel
76%defattr(-,root,root,-)
77%doc TODO doc/%{name}.txt
78%{_libdir}/pkgconfig/libd??.pc
79%{_includedir}/d??.h
80%{_libdir}/%{name}.so
81%{_libdir}/libd??.a
82%exclude %{_libdir}/libd??.la
83
84%changelog
85* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.5-4
86- change release to sync with self-build-libdca
87
88* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.5-3
89- change release to sync with self-build-libdca
90
91* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.5-2
92- spec in utf8
93- remove *.la
94
95* Sun May 18 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.0.5-1
96- apply new versioning policy
97
98* Sat Mar 1 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.5-0vl1
99- initial build for Vine Linux 4.2
100
101### end of file
Note: See TracBrowser for help on using the repository browser.