commit 943defea92629f0e3f37c6269d41aee92277a8da
Author: Jakub Bogusz <[email protected]>
Date:   Sun Feb 24 19:27:41 2013 +0100

    - updated to 1.11
    - build libpotrace

 potrace.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 44 insertions(+), 4 deletions(-)
---
diff --git a/potrace.spec b/potrace.spec
index 0d4ca3c..cf9707d 100644
--- a/potrace.spec
+++ b/potrace.spec
@@ -1,12 +1,12 @@
 Summary:       Potrace - a utility for tracing a bitmap
 Summary(pl.UTF-8):     Potrace - narzędzie służące do "trasowania" bitmap
 Name:          potrace
-Version:       1.10
+Version:       1.11
 Release:       1
 License:       GPL v2+
 Group:         Applications/Graphics
 Source0:       
http://potrace.sourceforge.net/download/%{name}-%{version}.tar.gz
-# Source0-md5: c6a7227ed0a6291a95f38c7d4352ba53
+# Source0-md5: 1d76e350ff277959e1f6b580d818d48f
 URL:           http://potrace.sourceforge.net/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
@@ -26,6 +26,30 @@ konwertowania obrazów rastrowych do gładkich i skalowanych 
obrazów
 wektorowych. Wejściem dla programu jest przenośna bitmapa (PBM), a
 domyślnym wyjściem jest plik encapsulated PostScript (EPS).
 
+%package devel
+Summary:       Header file for potrace library
+Summary(pl.UTF-8):     Plik nagłówkowy biblioteki potrace
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{version}
+
+%description devel
+Header file for potrace library.
+
+%description devel -l pl.UTF-8
+Plik nagłówkowy biblioteki potrace.
+
+%package static
+Summary:       Static potrace library
+Summary(pl.UTF-8):     Statyczna biblioteka potrace
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{version}
+
+%description static
+Static potrace library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka potrace.
+
 %prep
 %setup -q
 
@@ -37,7 +61,8 @@ domyślnym wyjściem jest plik encapsulated PostScript (EPS).
 %{__automake}
 %configure \
        --enable-a4 \
-       --enable-metric
+       --enable-metric \
+       --with-libpotrace
 
 %{__make}
 
@@ -50,10 +75,25 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
+%doc AUTHORS ChangeLog NEWS README doc/placement.pdf
 %attr(755,root,root) %{_bindir}/mkbitmap
 %attr(755,root,root) %{_bindir}/potrace
+%attr(755,root,root) %{_libdir}/libpotrace.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpotrace.so.0
 %{_mandir}/man1/mkbitmap.1*
 %{_mandir}/man1/potrace.1*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libpotrace.so
+%{_libdir}/libpotrace.la
+%{_includedir}/potracelib.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libpotrace.a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/potrace.git/commitdiff/943defea92629f0e3f37c6269d41aee92277a8da

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to