]> git.pld-linux.org Git - packages/netpbm.git/commitdiff
- pl translations, use %%rpmcflags macro netpbm-9_12-2
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 5 Apr 2001 20:42:32 +0000 (20:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- use shared jbigkit instead of statically linked objects
- release 2

Changed files:
    netpbm-system-jbig.patch -> 1.1
    netpbm.spec -> 1.15

netpbm-system-jbig.patch [new file with mode: 0644]
netpbm.spec

diff --git a/netpbm-system-jbig.patch b/netpbm-system-jbig.patch
new file mode 100644 (file)
index 0000000..4f76fb0
--- /dev/null
@@ -0,0 +1,21 @@
+diff -Nur netpbm-9.12.orig/pnm/jbig/Makefile netpbm-9.12/pnm/jbig/Makefile
+--- netpbm-9.12.orig/pnm/jbig/Makefile Wed Feb 21 06:14:38 2001
++++ netpbm-9.12/pnm/jbig/Makefile      Thu Apr  5 21:39:27 2001
+@@ -23,14 +23,14 @@
+            $(PPMDIR)/$(LIBPPM) $(PGMDIR)/$(LIBPGM) $(PBMDIR)/$(LIBPBM) 
+ BINARIES = jbigtopnm pnmtojbig
+-OBJECTS = $(patsubst %, %.o, $(BINARIES)) jbig.o jbig_tab.o
++OBJECTS = $(patsubst %, %.o, $(BINARIES))
+ MANUALS1 = $(BINARIES)
+ all: $(BINARIES)
+-$(BINARIES): %: %.o jbig.o jbig_tab.o $(NETPBMLIBS) $(LIBOPT)
+-      $(LD) $(LDFLAGS) -o $@ $< jbig.o jbig_tab.o `$(LIBOPT) $(NETPBMLIBS)` \
++$(BINARIES): %: %.o $(NETPBMLIBS) $(LIBOPT)
++      $(LD) $(LDFLAGS) -o $@ $< -ljbig `$(LIBOPT) $(NETPBMLIBS)` \
+         $(CDEBUG)
index 1c28ce2569e48e0b8712f82c3483aae146d1d3ed..b9f7f117172baa628fb4136cd69c635a80469b0f 100644 (file)
@@ -1,7 +1,8 @@
 Summary:       A library for handling different graphics file formats
+Summary(pl):   Biblioteki do obs³ugi ró¿nych formatów graficznych
 Name:          netpbm
 Version:       9.12
-Release:       1
+Release:       2
 License:       freeware
 Group:         Libraries
 Group(de):     Libraries
@@ -11,9 +12,11 @@ Group(pl):   Biblioteki
 Source0:       ftp://download.sourceforge.net/pub/sourceforge/netpbm/%{name}-%{version}.tgz
 Patch0:                %{name}-install.patch
 Patch1:                %{name}-paths.patch
+Patch2:                %{name}-system-jbig.patch
 BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel
 BuildRequires: libtiff-devel
+BuildRequires: jbigkit-devel
 Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     libgr
 
@@ -23,8 +26,13 @@ programs for handling various graphics file formats, including .pbm
 (portable bitmaps), .pgm (portable graymaps), .pnm (portable anymaps),
 .ppm (portable pixmaps) and others.
 
+%description -l pl
+Pakiet netpbm zawiera biblioteki funkcji obs³uguj±cych ró¿ne formaty
+graficzne, w tym .pbm, .pgm, .pnm, .ppm.
+
 %package devel
 Summary:       Development tools for programs which will use the netpbm libraries
+Summary(pl):   Biblioteka netpbm - czê¶æ dla programistów
 Group:         Development/Libraries
 Group(de):     Entwicklung/Libraries
 Group(fr):     Development/Librairies
@@ -32,8 +40,23 @@ Group(pl):   Programowanie/Biblioteki
 Requires:      %{name} = %{version}
 Obsoletes:     libgr-devel
 
+%description devel
+The netpbm-devel package contains the header files and programmer's
+documentation for developing programs which can handle the various
+graphics file formats supported by the netpbm libraries.
+
+Install netpbm-devel if you want to develop programs for handling the
+graphics file formats supported by the netpbm libraries. You'll also
+need to have the netpbm package installed.
+
+%description devel -l pl
+Pakiet netpbm-devel zawiera pliki nag³ówkowe i dokumentacjê dla
+programistów do tworzenia programów obs³uguj±cych formaty
+graficzne wspierane przez netpbm.
+
 %package static
 Summary:       Static netpbm libraries
+Summary(pl):   Statyczne biblioteki netpbm
 Group:         Development/Libraries
 Group(de):     Entwicklung/Libraries
 Group(fr):     Development/Librairies
@@ -44,17 +67,12 @@ Obsoletes:  libgr-static
 %description static
 Static netpbm libraries.
 
-%description devel
-The netpbm-devel package contains the header files and static
-libraries, etc., for developing programs which can handle the various
-graphics file formats supported by the netpbm libraries.
-
-Install netpbm-devel if you want to develop programs for handling the
-graphics file formats supported by the netpbm libraries. You'll also
-need to have the netpbm package installed.
+%description static -l pl
+Statyczne biblioteki netpbm.
 
 %package progs
 Summary:       Tools for manipulating graphics files in netpbm supported formats
+Summary(pl):   Narzêdzia do konwersji plików graficznych
 Group:         Applications/Graphics
 Group(de):     Applikationen/Grafik
 Group(pl):     Aplikacje/Grafika
@@ -72,15 +90,20 @@ graphics file format to another.
 If you need to use these conversion scripts, you should install
 netpbm-progs. You'll also need to install the netpbm package.
 
+%description progs -l pl
+Pakiet netpbm-progs zawiera programy konwertuj±ce pliki graficzne
+do oraz z formatów obs³ugiwanych przez biblioteki netpbm.
+
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__make} \
        CC=%{__cc} \
-       CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O0 -g} -fPIC" \
+       CFLAGS="%{rpmcflags} -fPIC" \
        JPEGINC_DIR=%{_includedir} \
        PNGINC_DIR=%{_includedir} \
        TIFFINC_DIR=%{_includedir} \
This page took 0.041843 seconds and 4 git commands to generate.