- updated to 0.4.4
authorKrzysztof Goliński <dirdival@pld-linux.org>
Sun, 27 Feb 2011 14:28:53 +0000 (14:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added file_lang
- fixed doc directory path
- removed *.la *.a libraries and deadbeef.h

Changed files:
    deadbeef.spec -> 1.2

deadbeef.spec

index 6ea9a39..563fb58 100644 (file)
@@ -1,11 +1,11 @@
 Summary:       Ultimate Music Player
 Name:          deadbeef
-Version:       0.4.1
-Release:       0.2
+Version:       0.4.4
+Release:       0.1
 License:       GPL v2 and LGPL v2.1
 Group:         X11/Applications/Multimedia
 Source0:       http://downloads.sourceforge.net/project/deadbeef/%{name}-%{version}.tar.bz2
-# Source0-md5: 69383c6490461751c2ec6281158a8624
+# Source0-md5: 546e63d456d6a5625461019b15501e38
 URL:           http://deadbeef.sourceforge.net/
 BuildRequires: alsa-lib-devel
 BuildRequires: curl-devel
@@ -52,7 +52,9 @@ Mad plugin.
 %setup -q
 
 %build
-%configure --enable-gtkui
+%configure \
+       --enable-gtkui \
+       --docdir=%{_docdir}/%{name}-%{version}
 %{__make}
 
 %install
@@ -61,19 +63,31 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -rf %{_docdir}/%{name}
+#rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
+
+#remove *.la *.a libraries and deadbeef.h
+rm -f $RPM_BUILD_ROOT%{_libdir}/deadbeef/*.a
+rm -f $RPM_BUILD_ROOT%{_libdir}/deadbeef/*.la
+rm -f $RPM_BUILD_ROOT%{_includedir}/deadbeef/deadbeef.h
+
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README about.txt help.txt
 %dir %{dblibdir}
 %attr(755,root,root) %{_bindir}/%{name}
 %{_desktopdir}/%{name}.desktop
 %{_iconsdir}/hicolor/*/apps/deadbeef.png
+%{_iconsdir}/hicolor/*/apps/deadbeef.svg
 %{_datadir}/deadbeef
+%dir %{_libdir}/deadbeef
+%attr(755,root,root)%{_libdir}/deadbeef/*.so
+%attr(755,root,root)%{_libdir}/deadbeef/*.so.0
+%attr(755,root,root)%{_libdir}/deadbeef/*.so.0.0.0
 
 %files plugin-alsa
 %defattr(644,root,root,755)
This page took 0.085004 seconds and 4 git commands to generate.