]> git.pld-linux.org Git - packages/bmpx.git/commitdiff
- static supackage, work in progress
authorfreetz <freetz@pld-linux.org>
Wed, 26 Oct 2005 16:59:26 +0000 (16:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bmpx.spec -> 1.21

bmpx.spec

index b3a6665cd51f2d9b4fc5118a2a58312d624be003..da17f79f31f27cbdec398273bc782d6ad6d0b154 100644 (file)
--- a/bmpx.spec
+++ b/bmpx.spec
@@ -68,6 +68,18 @@ Header files required for compiling BMPx media player plugins.
 Pliki nag³ówkowe potrzebne do kompilowania wtyczek odtwarzacza
 multimedialnego BMPx.
 
+%package static
+Summary:       Static BMPx library
+Summary(pl):   Statyczna biblioteka BMPx
+Group:         X11/Development/Libraries
+Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
+
+%description static
+Static BMPx library.
+
+%description static -l pl
+Statyczna biblioteka BMPx.
+
 %package plugin-container
 Summary:       Container plugin for BMPx
 Summary(pl):   Wtyczka Container dla BMPx
@@ -123,7 +135,7 @@ rm -rf autom4te.cache
        --enable-xine \
 %endif
        --enable-shared \
-       --disable-static
+       --enable-static
 %{__make}
 
 %install
@@ -139,7 +151,7 @@ install -d $RPM_BUILD_ROOT%{_pixmapsdir}
 mv -f $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/bmpx.png \
        $RPM_BUILD_ROOT%{_pixmapsdir}
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/bmpx/plugins/*/*.la
+rm -f $RPM_BUILD_ROOT%{_libdir}/bmpx/plugins/*/*.{a,la}
 
 %find_lang %{name}
 
@@ -194,6 +206,9 @@ fi
 %{_libdir}/libskinned.la
 %{_includedir}/bmpx
 
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/*.a
 
 %files plugin-container
 %defattr(644,root,root,755)
This page took 0.067167 seconds and 4 git commands to generate.