packages: libconfuse/libconfuse.spec, libconfuse/libconfuse-no_tests.patch ...
qboosh
qboosh at pld-linux.org
Wed Sep 22 09:03:15 CEST 2010
Author: qboosh Date: Wed Sep 22 07:03:15 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- dropped outdated no_tests patch (nobody cared)
- s/_name/pname/ (_underscored macros are reserved)
---- Files affected:
packages/libconfuse:
libconfuse.spec (1.11 -> 1.12) , libconfuse-no_tests.patch (1.1 -> NONE) (REMOVED)
---- Diffs:
================================================================
Index: packages/libconfuse/libconfuse.spec
diff -u packages/libconfuse/libconfuse.spec:1.11 packages/libconfuse/libconfuse.spec:1.12
--- packages/libconfuse/libconfuse.spec:1.11 Mon Sep 20 22:46:58 2010
+++ packages/libconfuse/libconfuse.spec Wed Sep 22 09:03:06 2010
@@ -3,7 +3,7 @@
# Conditional build:
%bcond_without static_libs # don't build static library
#
-%define _name confuse
+%define pname confuse
Summary: libConfuse - a library for parsing configuration files
Summary(pl.UTF-8): libConfuse - biblioteka do analizy plików konfiguracyjnych
Name: libconfuse
@@ -11,9 +11,8 @@
Release: 1
License: MIT
Group: Libraries
-Source0: http://savannah.nongnu.org/download/%{_name}/%{_name}-%{version}.tar.gz
+Source0: http://savannah.nongnu.org/download/confuse/%{pname}-%{version}.tar.gz
# Source0-md5: 45932fdeeccbb9ef4228f1c1a25e9c8f
-Patch0: %{name}-no_tests.patch
URL: http://www.nongnu.org/confuse/
BuildRequires: autoconf >= 2.50
BuildRequires: automake > 1.6.3
@@ -52,8 +51,7 @@
Requires: %{name} = %{version}-%{release}
%description devel
-This is the package containing the header files for libConfuse
-library.
+This package contains the header files for libConfuse library.
%description devel -l pl.UTF-8
Ten pakiet zawiera pliki nagłówkowe biblioteki libConfuse.
@@ -71,16 +69,16 @@
Statyczna biblioteka libConfuse.
%prep
-%setup -q -n %{_name}-%{version}
-# %patch0 -p1
+%setup -q -n %{pname}-%{version}
%build
+%{__gettextize}
%{__libtoolize}
%{__aclocal} -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
-CPPFLAGS="-DYY_NO_INPUT"
+CPPFLAGS="%{rpmcppflags} -DYY_NO_INPUT"
%configure \
%{!?with_static_libs:--disable-static} \
--enable-shared
@@ -99,7 +97,7 @@
rm -rf examples/{ftpconf,reread,simple,*.o}
install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-%find_lang %{_name}
+%find_lang %{pname}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -107,7 +105,7 @@
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-%files -f %{_name}.lang
+%files -f %{pname}.lang
%defattr(644,root,root,755)
%doc AUTHORS NEWS README
%attr(755,root,root) %{_libdir}/libconfuse.so.*.*.*
@@ -136,6 +134,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.12 2010/09/22 07:03:06 qboosh
+- dropped outdated no_tests patch (nobody cared)
+- s/_name/pname/ (_underscored macros are reserved)
+
Revision 1.11 2010/09/20 20:46:58 uzsolt
- 2.7
- change Source0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libconfuse/libconfuse.spec?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list