]> git.pld-linux.org Git - packages/attr.git/commitdiff
utilities and library to manipulate extended attributes
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 1 May 2001 20:46:51 +0000 (20:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    attr.spec -> 1.1

attr.spec [new file with mode: 0644]

diff --git a/attr.spec b/attr.spec
new file mode 100644 (file)
index 0000000..1e2b57b
--- /dev/null
+++ b/attr.spec
@@ -0,0 +1,82 @@
+Summary:       Utility for managing filesystem extended attributes.
+Summary(pl):   Narzêdzia do zarz±dzania rozszerzonymi atrybutami fs.
+Name:          attr
+Version:       1.0.1
+Release:       1
+License:       GPL
+Group:         Applications/System
+Source0:       ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
+Patch0:                %{name}-miscfix.patch
+BuildRequires: e2fsprogs-devel
+BuildRequires: xfsprogs-devel
+URL:           http://oss.sgi.com/projects/xfs/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+An *experimental* command (attr) to manipulate extended attributes
+under Linux.
+
+%description -l pl
+*Eksperymentalna* komenda (attr) to zarz±dzania rozszerzonymi
+atrybutami pod systemem Linux.
+
+%package devel
+Summary:        Header files and libraries to use extended attributes
+Summary(pl):    Pliki nag³ówkowe i biblioteki
+Group:          Development/Libraries
+Group(de):      Entwicklung/Libraries
+Group(fr):      Development/Librairies
+Group(pl):      Programowanie/Biblioteki
+
+%description devel
+Header files and libraries to develop software which manipulate extended
+attributes.
+
+%description -l pl devel
+Pliki nag³ówkowe i biblioteki potrzebne do rozwoju oprogramowania
+manipuluj±cego rozszerzonymi atrybutami.
+
+%prep
+%setup  -q
+%patch0 -p1
+
+%build
+DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
+autoconf
+%configure 
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+DIST_ROOT="$RPM_BUILD_ROOT"
+DIST_INSTALL=`pwd`/install.manifest
+DIST_INSTALL_DEV=`pwd`/install-dev.manifest
+export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV 
+%{__make} install DIST_MANIFEST="$DIST_INSTALL"
+%{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
+
+rm -f  $RPM_BUILD_ROOT%{_mandir}/man3/{attr_getf,attr_listf}.3
+rm -f  $RPM_BUILD_ROOT%{_mandir}/man3/{attr_multif,attr_removef,attr_setf}.3
+echo ".so man3/attr_get.3"     > $RPM_BUILD_ROOT%{_mandir}/man3/attr_getf.3
+echo ".so man3/attr_list.3"    > $RPM_BUILD_ROOT%{_mandir}/man3/attr_listf.3
+echo ".so man3/attr_multi.3"   > $RPM_BUILD_ROOT%{_mandir}/man3/attr_multif.3
+echo ".so man3/attr_remove.3"  > $RPM_BUILD_ROOT%{_mandir}/man3/attr_removef.3
+echo ".so man3/attr_set.3"     > $RPM_BUILD_ROOT%{_mandir}/man3/attr_setf.3
+
+gzip -9nf doc/CHANGES
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc/*.gz
+%attr(755,root,root) /bin/*
+%{_mandir}/man[18]/*
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+%{_includedir}/attr
This page took 0.133009 seconds and 4 git commands to generate.