]> git.pld-linux.org Git - packages/eel.git/commitdiff
- adapterized
authorPaweł Gołaszewski <blues@pld-linux.org>
Sat, 21 Jul 2001 15:21:03 +0000 (15:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- some cosmetics

Changed files:
    eel.spec -> 1.2

eel.spec

index 6787c64d580cd6795182b14e76ea6866c72a490c..053073d7b3e06a2f4d19595b729d933fd26b7504 100644 (file)
--- a/eel.spec
+++ b/eel.spec
@@ -1,35 +1,23 @@
 # Note that this is NOT a relocatable package
-%define name           eel
-%define ver            1.0
 %define RELEASE                0_cvs_0
 %define rel            %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
 %define prefix         /usr
 %define sysconfdir     /etc
 
-Name:          %name
-Vendor:                GNOME
-Distribution:  CVS
 Summary:       Eazel Extensions Library
-Version:       %ver
-Release:       %rel
-Copyright:     GPL
-Group:         System Environment/Libraries
-Source:        %{name}-%{ver}.tar.gz
-URL:           http://nautilus.eazel.com/
-BuildRoot:     /var/tmp/%{name}-%{ver}-root
-Docdir:        %{prefix}/doc
-Requires:      glib >= 1.2.9
-Requires:      gtk+ >= 1.2.9
-Requires:      libxml >= 1.8.10
-Requires:      gnome-libs >= 1.2.11
-Requires:      gnome-vfs >= 1.0
-Requires:      gdk-pixbuf >= 0.10.0
-Requires:      freetype >= 2.0.1
-Requires:      libpng
-Requires:      GConf >= 0.12
-Requires:      oaf >= 0.6.5
-Requires:      librsvg >= 1.0.0
-
+Summary(pl):   Biblioteka rozszerzeñ Eazel
+Name:          name
+Version:       1.0
+Release:       %rel
+Vendor:                GNOME
+License:       GPL
+Group:         Libraries
+Group(de):     Libraries
+Group(es):     Bibliotecas
+Group(fr):     Librairies
+Group(pl):     Biblioteki
+Source0:       %{%{name}}-%{ver}.tar.gz
+URL:           http://nautilus.eazel.com/
 BuildRequires: glib-devel >= 1.2.9
 BuildRequires: gtk+-devel >= 1.2.9
 BuildRequires: libxml-devel >= 1.8.10
@@ -40,6 +28,8 @@ BuildRequires:        gnome-vfs-devel >= 1.0
 BuildRequires: gdk-pixbuf-devel >= 0.10.0
 BuildRequires: libpng-devel
 BuildRequires: librsvg-devel >= 1.0.0
+Requires:      freetype >= 2.0.1
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Eazel Extensions Library
@@ -47,18 +37,17 @@ Eazel Extensions Library
 %package devel
 Summary:       Libraries and include files for developing with Eel.
 Group:         Development/Libraries
+Group(de):     Entwicklung/Libraries
+Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
 Requires:      %name = %{PACKAGE_VERSION}
 
 %description devel
 This package provides the necessary development libraries and include
 files to allow you to develop with Eel.
 
-%changelog
-* Wed Apr 04 2000 Ramiro Estrugo <ramiro@eazel.com>
-- created this thing
-
 %prep
-%setup
+%setup -q
 
 %build
 %ifarch alpha
@@ -72,15 +61,18 @@ export LC_ALL LINGUAS LANG
 
 ## Warning!  Make sure there are no spaces or tabs after the \ 
 ## continuation character, or else the rpm demons will eat you.
-CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS --prefix=%{prefix} \
+CFLAGS="$RPM_OPT_FLAGS" 
+%configure $MYARCH_FLAGS \
+       --prefix=%{prefix} \
        --sysconfdir=%{sysconfdir}
 
 make -k
 make check
 
 %install
+rm -rf $RPM_BUILD_ROOT
 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
-make -k prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} install
+%{__make} -k prefix=$RPM_BUILD_ROOT%{_prefix} sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} install
 for FILE in "$RPM_BUILD_ROOT/bin/*"; do
        file "$FILE" | grep -q not\ stripped && strip $FILE
 done
@@ -97,23 +89,25 @@ fi
 %postun -p /sbin/ldconfig
 
 %files
+%defattr(644,root,root,755)
 
 %defattr(0555, bin, bin)
 %doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README
-%{prefix}/lib/*.so*
+%{_libdir}/*.so*
 
 %defattr (0444, bin, bin)
-%{prefix}/share/eel/fonts/urw/*.dir
-%{prefix}/share/eel/fonts/urw/*.pfb
-%{prefix}/share/eel/fonts/urw/*.afm
-%{prefix}/share/eel/fonts/urw/*.pfm
+%{_datadir}/eel/fonts/urw/*.dir
+%{_datadir}/eel/fonts/urw/*.pfb
+%{_datadir}/eel/fonts/urw/*.afm
+%{_datadir}/eel/fonts/urw/*.pfm
 
 %files devel
+%defattr(644,root,root,755)
 
 %defattr(0555, bin, bin)
-%{prefix}/lib/*.la
-%{prefix}/lib/*.sh
-%{prefix}/bin/eel-config
+%{_libdir}/*.la
+%{_libdir}/*.sh
+%attr(755,root,root) %{_bindir}/eel-config
 
 %defattr(0444, bin, bin)
-%{prefix}/include/eel/*.h
+%{_includedir}/eel/*.h
This page took 0.062379 seconds and 4 git commands to generate.