automatic update by autodist [release 2.4.47-1mamba;Thu May 23 2013]

This commit is contained in:
Automatic Build System 2024-01-05 20:38:05 +01:00
parent 360bfa9f64
commit 4c5b167b82
3 changed files with 206 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# attr # attr
Commands for Manipulating Filesystem Extended Attributes.

38
attr-2.4.46-build.patch Normal file
View File

@ -0,0 +1,38 @@
diff -ru attr-2.4.46/include/builddefs.in attr-2.4.46-build/include/builddefs.in
--- attr-2.4.46/include/builddefs.in 2010-01-22 23:55:11.000000000 +0100
+++ attr-2.4.46-build/include/builddefs.in 2012-01-29 22:57:50.000000000 +0100
@@ -40,14 +40,14 @@
PKG_VERSION = @pkg_version@
PKG_PLATFORM = @pkg_platform@
PKG_DISTRIBUTION= @pkg_distribution@
-PKG_BIN_DIR = @bindir@
-PKG_SBIN_DIR = @sbindir@
-PKG_LIB_DIR = @libdir@@libdirsuffix@
-PKG_DEVLIB_DIR = @libexecdir@@libdirsuffix@
-PKG_INC_DIR = @includedir@/attr
-PKG_MAN_DIR = @mandir@
-PKG_DOC_DIR = @datadir@/doc/@pkg_name@
-PKG_LOCALE_DIR = @datadir@/locale
+PKG_BIN_DIR = $(DESTDIR)@bindir@
+PKG_SBIN_DIR = $(DESTDIR)@sbindir@
+PKG_LIB_DIR = $(DESTDIR)@libdir@@libdirsuffix@
+PKG_DEVLIB_DIR = $(DESTDIR)@libexecdir@@libdirsuffix@
+PKG_INC_DIR = $(DESTDIR)@includedir@/attr
+PKG_MAN_DIR = $(DESTDIR)@mandir@
+PKG_DOC_DIR = $(DESTDIR)@datadir@/doc/@pkg_name@
+PKG_LOCALE_DIR = $(DESTDIR)@datadir@/locale
CC = @cc@
AWK = @awk@
diff -ru attr-2.4.46/include/buildmacros attr-2.4.46-build/include/buildmacros
--- attr-2.4.46/include/buildmacros 2010-01-22 23:55:11.000000000 +0100
+++ attr-2.4.46-build/include/buildmacros 2012-01-29 22:56:01.000000000 +0100
@@ -40,7 +40,7 @@
$(LFILES:.l=.o) \
$(YFILES:%.y=%.tab.o)
-INSTALL = $(TOPDIR)/include/install-sh -o $(PKG_USER) -g $(PKG_GROUP)
+INSTALL = $(TOPDIR)/include/install-sh
SHELL = /bin/sh
IMAGES_DIR = $(TOPDIR)/all-images

166
attr.spec Normal file
View File

@ -0,0 +1,166 @@
Name: attr
Version: 2.4.47
Release: 1mamba
Summary: Commands for Manipulating Filesystem Extended Attributes
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://savannah.nongnu.org/projects/attr
Source: http://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.src.tar.gz
Patch0: %{name}-2.4.46-build.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%ifarch x86_64
BuildRequires: gcc-multilib
BuildRequires: glibc-multilib-devel
%endif
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%debug_package
%description
Commands for Manipulating Filesystem Extended Attributes.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for handling POSIX extended attributes.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%package -n lib32-lib%{name}
Summary: Commands for Manipulating Filesystem Extended Attributes
Group: System/Libraries
%description -n lib32-lib%{name}
Commands for Manipulating Filesystem Extended Attributes (32 bit).
%package -n lib32-lib%{name}-devel
Summary: Devel package for lib32-lib%{name}
Group: Development/Libraries
Requires: lib32-lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: lib%{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib32-lib%{name}-devel
This package contains static libraries and header files needed for development.
%prep
%setup -q
#%patch0 -p1
%build
%configure \
--libdir=/%{_lib} \
--libexecdir=/%{_lib}
# --disable-static
%make \
%if "%{_host}" != "%{_build}"
LIBTOOL="/usr/%{_host}/usr/bin/libtool --tag CXX"
%endif
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%makeinstall install-dev
%makeinstall install-lib
%find_lang %{name}
# remove unpackaged files
rm -fr %{buildroot}%{_datadir}/doc/attr
# already provided by manpages
rm -f %{buildroot}%{_mandir}/man2/*attr.2*
%ifarch x86_64
# x86_64 lib32 support
make clean
./configure \
--prefix=%{_prefix} \
--libdir=/lib \
--libexecdir=/lib \
CC="%{_target_platform}-gcc -m32"
make
make install DESTDIR=`pwd`/lib32
make install DESTDIR=`pwd`/lib32 install-dev
make install DESTDIR=`pwd`/lib32 install-lib
cp -a lib32/lib %{buildroot}/
%endif
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/%{name}
%{_bindir}/getfattr
%{_bindir}/setfattr
%{_mandir}/man1/%{name}.*
%{_mandir}/man1/getfattr.*
%{_mandir}/man1/setfattr.*
%{_mandir}/man5/attr.*
%doc doc/COPYING
%files -n lib%{name}
%defattr(-,root,root)
/%{_lib}/lib%{name}.so.*
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/%{name}
/%{_lib}/lib%{name}.a
/%{_lib}/lib%{name}.la
/%{_lib}/lib%{name}.so
#%{_mandir}/man2/*attr.2*
%{_mandir}/man3/attr_*
%doc README doc/PORTING doc/CHANGES.gz
%ifarch x86_64
%files -n lib32-lib%{name}
%defattr(-,root,root)
/lib/lib%{name}.so.*
%doc doc/COPYING
%files -n lib32-lib%{name}-devel
%defattr(-,root,root)
/lib/lib%{name}.a
/lib/lib%{name}.la
/lib/lib%{name}.so
%endif
%changelog
* Thu May 23 2013 Automatic Build System <autodist@mambasoft.it> 2.4.47-1mamba
- automatic update by autodist
* Mon Jan 30 2012 Davide Madrisan <davide.madrisan@gmail.com> 2.4.46-2mamba
- remove manpages conflicting with manpages
* Sun Jan 29 2012 Davide Madrisan <davide.madrisan@gmail.com> 2.4.46-1mamba
- update tp 2.4.46
- specfile recreated using autospec
- move libraries to /%%{_lib}
* Wed Jul 16 2008 gil <puntogil@libero.it> 2.4.43-1mamba
- update to 2.4.43
* Wed Nov 28 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1-1mamba
- package created by autospec