]> git.pld-linux.org Git - packages/potrace.git/commitdiff
- updated to 1.11 auto/th/potrace-1.11-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 24 Feb 2013 18:27:41 +0000 (19:27 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 24 Feb 2013 18:27:41 +0000 (19:27 +0100)
- build libpotrace

potrace.spec

index 0d4ca3c81b087d55095f4227b628d2ac6d55b85a..cf9707dde893141de7ccc452f8d1d6138ae4930d 100644 (file)
@@ -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
This page took 0.136129 seconds and 4 git commands to generate.