]> git.pld-linux.org Git - packages/beast.git/blobdiff - beast.spec
- fix building with gcc-3.4
[packages/beast.git] / beast.spec
index 123c23d3b229a9e28ed8088fd429edc15f013a1b..ca10c242d4edf5aac64d99730c33a1e487a9ac94 100644 (file)
@@ -1,22 +1,24 @@
 Summary:       BEAST (the Bedevilled Audio System)
 Summary(pl):   System d¼wiêku BEAST (Bedevilled Audio System)
 Name:          beast
-Version:       0.5.2
-Release:       1
+Version:       0.6.1
+Release:       0.1
 License:       GPL
 Group:         Applications
-Source0:       http://beast.gtk.org/beast-ftp/v0.5/%{name}-%{version}.tar.gz
-# Source0-md5: 2f1aa0f0a5f1fe7f43dfa8532a0d85f5
-Patch0:                %{name}-ac.patch
+Source0:       http://beast.gtk.org/beast-ftp/v0.6/%{name}-%{version}.tar.gz
+# Source0-md5: 4c09a330b174d9df2d45a94334f06ff8
+Source1:       %{name}.desktop
+Patch0:                %{name}-glib24.patch
+Patch1:                %{name}-gcc34.patch
 URL:           http://beast.gtk.org/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: gtk+2-devel >=  2.0.0
+BuildRequires: gtk+2-devel >=  2.2.0
 BuildRequires: guile-devel >= 1.6
 BuildRequires: libgnomecanvas-devel >= 2.0.0
+BuildRequires: libmad-devel >= 0.14.2
 BuildRequires: libtool
 BuildRequires: libvorbis-devel >= 1.0
-BuildRequires: mad-devel >= 0.14.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,7 +35,7 @@ potrzebnym do symulacji syntezy d
 rzeczywistym oraz umo¿liwienia komponowania piosenek.
 
 %package devel
-Summary:       Header files for Beast
+Summary:       Header files for Beast
 Summary(pl):   Pliki nag³ówkowe dla Beast
 Group:         Development/Libraries
 Requires:      %{name} = %{version}
@@ -47,6 +49,7 @@ Pliki nag
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 rm -f aclocal.m4
@@ -61,25 +64,37 @@ rm -f aclocal.m4
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+install -c %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+
+%find_lang %{name} --all-name
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post  -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
-%files
+
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
 %dir %{_libdir}/bse
 %dir %{_libdir}/bse/v%{version}
 %dir %{_libdir}/bse/v%{version}/plugins
+%{_mandir}/man1/*
 %attr(755,root,root) %{_libdir}/bse/v%{version}/plugins/*.so
 %{_datadir}/%{name}
+%{_datadir}/bse
+%{_datadir}/application-registry/%{name}.applications
+%{_datadir}/mime-info/bse.*
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/*.png
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.076034 seconds and 4 git commands to generate.