]> git.pld-linux.org Git - packages/clearsilver.git/commitdiff
- added pic patch, use -fPIC only where needed
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 30 May 2005 20:32:00 +0000 (20:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- .so perms, man3 pages moved to -devel

Changed files:
    clearsilver.spec -> 1.8

clearsilver.spec

index c1d0ca8208f7526913eabd3eb46c8a49bb959b31..3d508054b72b661bee026f677754efc64eb67962 100644 (file)
@@ -7,6 +7,7 @@ License:        Apache License style
 Group:         Development/Libraries
 Source0:       http://www.clearsilver.net/downloads/%{name}-%{version}.tar.gz
 # Source0-md5: 2161936b7828e8cbdc4f45812d15e3f6
+Patch0:                %{name}-pic.patch
 URL:           http://www.clearsilver.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -84,6 +85,7 @@ ClearSilver.
 
 %prep
 %setup -q
+%patch0 -p1
 
 find . -type f -print0 | xargs -0 perl -pi -e "s!/usr/local/bin!/usr/bin!g" 
 
@@ -92,13 +94,12 @@ install /usr/share/automake/config.* .
 %{__aclocal}
 %{__autoconf}
 %configure \
-       CFLAGS="%{rpmcflags} -fPIC" \
-       --enable-apache \
-       --with-python=%{_bindir}/python \
-       --enable-perl \
        --disable-csharp \
+       --disable-java \
        --disable-ruby \
-       --disable-java
+       --enable-apache \
+       --enable-perl \
+       --with-python=%{_bindir}/python
 
 %{__make}
 
@@ -127,13 +128,12 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc CS_LICENSE INSTALL LICENSE README scripts/cs_lint.py contrib/cs-mode.el
 %attr(755,root,root) %{_bindir}/*
-# XXX
-%{_mandir}/man3/*.3.*
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/ClearSilver
 %{_libdir}/libneo_*.a
+%{_includedir}/ClearSilver
+%{_mandir}/man3/[!C]*.3*
 
 %files -n python-clearsilver
 %defattr(644,root,root,755)
@@ -143,8 +143,10 @@ rm -rf $RPM_BUILD_ROOT
 %files -n perl-ClearSilver
 %defattr(644,root,root,755)
 %{perl_vendorarch}/ClearSilver.pm
-%{perl_vendorarch}/auto/ClearSilver
-%{_mandir}/man3/*.3pm*
+%dir %{perl_vendorarch}/auto/ClearSilver
+%{perl_vendorarch}/auto/ClearSilver/ClearSilver.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/ClearSilver/ClearSilver.so
+%{_mandir}/man3/ClearSilver.3pm*
 
 #%files -n ruby
 #%defattr(644,root,root,755)
This page took 0.194618 seconds and 4 git commands to generate.