]> git.pld-linux.org Git - packages/pango.git/commitdiff
- fixed lib*.so symlinks.
authorkloczek <kloczek@pld-linux.org>
Thu, 4 May 2000 03:42:53 +0000 (03:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pango.spec -> 1.2

pango.spec

index 6895c9c761b349708bddba584e747fbe310a44c9..17d4efaf4d04d612d40d54b879d855de4f5f667e 100644 (file)
@@ -1,72 +1,67 @@
-%define prefix /usr
+Summary:       System for layout and rendering of internationalized text
+Name:          pango
+Version:       0.9
+Release:       1
+License:       LGPL
+Group:         Libraries
+Source0:       http://www.pango.org/download/%{name}-%{version}.tar.gz
+URL:           http://www.pango.org/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-Summary: System for layout and rendering of internationalized text
-Name: pango
-Version: 0.9
-Release: 1
-Copyright: LGPL
-Group: System Environment/Libraries
-Source: http://www.pango.org/download/pango-%{version}.tar.gz
-BuildRoot: /var/tmp/pango-%{PACKAGE_VERSION}-root
+%define                _prefix         /usr/X11R6
+%define                _sysconfdir     /etc/X11/GNOME
 
 %description
 System for layout and rendering of internationalized text.
 
 %package devel
-Summary:  System for layout and rendering of internationalized text
-Group: Development/Libraries
-Requires: pango = %{PACKAGE_VERSION}
-Requires: libunicode-devel
-Requires: fribidi-devel
-Requires: XFree86-devel
+Summary:       System for layout and rendering of internationalized text
+Group:         Development/Libraries
+Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
+Requires:      libunicode-devel
+Requires:      fribidi-devel
+Requires:      XFree86-devel
+Requires:      %{name} = %{version}
 
 %description devel
-The pango-devel package includes the static libraries and header files
-for the pango package.
-
-Install pango-devel if you want to develop programs which will use
-pango.
-
-%changelog
-* Fri Feb 11 2000 Owen Taylor <otaylor@redhat.com>
-- Created spec file
 
 %prep
-%setup
+%setup -q
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --sysconfdir=/etc --localstatedir=/var
+LDFLAGS="-s"; export LDFLAGS
+%configure
+make
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{prefix}
 
-make install DESTDIR=$RPM_BUILD_ROOT
+make install \
+       DESTDIR=$RPM_BUILD_ROOT
 
+gzip -9nf README AUTHORS ChangeLog TODO examples/HELLO.utf8
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/ldconfig
-if ! test -d /var/lib/pango ; then
-  mkdir -p /var/lib/pango/
-fi
 /usr/bin/pango-querymodules /usr/lib/pango/modules/*.so > /var/lib/pango/pango.modules
 
 %postun -p /sbin/ldconfig
 
 %files
-%doc README AUTHORS COPYING ChangeLog TODO
-%doc examples/HELLO.utf8
-%{prefix}/lib/libpango*-*.so
-%{prefix}/bin/pango-querymodules
-%{prefix}/bin/pango-viewer
-%{prefix}/lib/pango/modules/*
-%config /etc/pango/pangox_aliases
+%defattr(644,root,root,755)
+%doc *.gz examples/*gz
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_bindir}/pango-querymodules
+%{_bindir}/pango-viewer
+%{_libdir}/pango/modules/*
+%config %{_sysconfdir}/pango/pangox_aliases
 
 %files devel
-%defattr(-, root, root)
-%{prefix}/lib/libpango*.so
-%{prefix}/bin/pango-config
-%{prefix}/lib/libpango*.a
-%{prefix}/include/*
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_bindir}/pango-config
+%{_libdir}/libpango*.a
+%{_includedir}/*
This page took 0.203932 seconds and 4 git commands to generate.