From 734d489265367427b5cc72d7369c5055cfd70aa3 Mon Sep 17 00:00:00 2001 From: HyungKyu Song Date: Sat, 16 Feb 2013 00:07:13 +0900 Subject: [PATCH] Tizen 2.0 Release --- debian/changelog | 18 +++++++++- debian/control | 2 +- examples/cpp/encode/file/main.cpp | 1 + packaging/libflac.spec | 69 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 88 insertions(+), 2 deletions(-) create mode 100644 packaging/libflac.spec diff --git a/debian/changelog b/debian/changelog index 0ed1e55..5b9d49f 100755 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,21 @@ +libflac (1.2.1+slp2+build02) unstable; urgency=low + + * Upload Package. + * Git: slp/pkgs/l/libflac + * Tag: libflac_1.2.1+slp2+build02 + + -- Hyoyoung Chang Thu, 07 Jun 2012 14:44:59 +0900 + +libflac (1.2.1-1slp2) unstable; urgency=low + + * Upload Package. + * Git: slp/pkgs/l/libflac + * Tag: libflac_1.2.1-1slp2 + + -- Daniel Juyung Seo Wed, 09 May 2012 20:16:17 +0900 + libflac (1.2.1) unstable; urgency=low * Initial Version. - -- Prince Kumar Dubey Thur, 13 Oct 2011 15:00:00 +0900 \ No newline at end of file + -- Prince Kumar Dubey Thur, 13 Oct 2011 15:00:00 +0900 diff --git a/debian/control b/debian/control index aa89a17..8149ca9 100755 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ Source: libflac Section: libs Priority: optional -Uploaders: Prince Kumar Dubey +Uploaders: Prince Kumar Dubey, Daniel Juyung Seo , Hyoyoung Chang Maintainer: Josh Coalson Build-Depends: cdbs, libogg-dev, pkg-config, libtool Standards-Version: 1.2.1 diff --git a/examples/cpp/encode/file/main.cpp b/examples/cpp/encode/file/main.cpp index 22448bb..343ee87 100644 --- a/examples/cpp/encode/file/main.cpp +++ b/examples/cpp/encode/file/main.cpp @@ -30,6 +30,7 @@ #include #include +#include #include "FLAC++/metadata.h" #include "FLAC++/encoder.h" diff --git a/packaging/libflac.spec b/packaging/libflac.spec new file mode 100644 index 0000000..6f0ffb5 --- /dev/null +++ b/packaging/libflac.spec @@ -0,0 +1,69 @@ +%define prefix /usr + +Name: libflac +Summary: An Open Source lossless audio codec +Version: 1.2.1+slp2+build03 +Release: 1 +Group: Libraries/Sound +License: BSD +URL: http://flac.sourceforge.net/ +Source0: %{name}-%{version}.tar.gz +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: libogg +BuildRequires: gettext + +%description +An Open Source lossless audio codec + +%package devel +Summary: an open source lossless audio codec +Group: Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +an open source lossless audio codec + +%prep +%setup -q + +%build +./autogen.sh --prefix=%{prefix} +make + +%install +if [ -d %{buildroot} ]; then rm -rf %{buildroot}; fi +mkdir -p %{buildroot}$ +make install DESTDIR=%{buildroot} +mkdir -p %{buildroot}/usr/share/license +cat %{_builddir}/%{buildsubdir}/COPYING.* > %{buildroot}/usr/share/license/%{name} + +%clean +if [ -d %{buildroot} ]; then rm -rf %{buildroot}; fi + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING.GPL COPYING.LGPL COPYING.Xiph README +%prefix/lib/libFLAC.so.* +/usr/share/license/%{name} + +%files devel +%defattr(-,root,root,-) +%{prefix}/include/* +%{prefix}/lib/lib*.la +%{prefix}/lib/lib*.a +%{prefix}/lib/libFLAC.so +%{prefix}/lib/libFLAC++.so* +%{prefix}/lib/pkgconfig/* + +%exclude +/usr/bin/flac +/usr/bin/metaflac +/usr/share/aclocal/libFLAC++.m4 +/usr/share/aclocal/libFLAC.m4 +/usr/share/man/man1/flac.1.gz +/usr/share/man/man1/metaflac.1.gz -- 2.7.4