| 1 | %define name unionfs-utils |
|---|
| 2 | %define origname unionfs_utils |
|---|
| 3 | |
|---|
| 4 | Summary: Utilities for Unionfs a stackable unification file system. |
|---|
| 5 | Summary(ja): Unionfs (スタック可能な単一化ファイルシステム) 用ユーティリティ |
|---|
| 6 | Name: %{name} |
|---|
| 7 | |
|---|
| 8 | Version: 0.2.1 |
|---|
| 9 | Release: 3%{?_dist_release} |
|---|
| 10 | Epoch: 1 |
|---|
| 11 | |
|---|
| 12 | License: GPL |
|---|
| 13 | Group: Applications/System |
|---|
| 14 | URL: http://www.fsl.cs.sunysb.edu/project-unionfs.html |
|---|
| 15 | Source: http://download.filesystems.org/unionfs/unionfs-utils-0.x/%{origname}-%{version}.tar.gz |
|---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 17 | |
|---|
| 18 | BuildRequires: libuuid-devel |
|---|
| 19 | |
|---|
| 20 | %description |
|---|
| 21 | Unionfs is a stackable unification file system, which can appear to |
|---|
| 22 | merge the contents of several directories (branches), while keeping |
|---|
| 23 | their physical content separate. Unionfs is useful for unified source |
|---|
| 24 | tree management, merged contents of split CD-ROM, merged separate |
|---|
| 25 | software package directories, data grids, and more. Unionfs allows |
|---|
| 26 | any mix of read-only and read-write branches, as well as insertion and |
|---|
| 27 | deletion of branches anywhere in the fan-out. |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | %package devel |
|---|
| 31 | Summary: Development tools for programs using Unionfs |
|---|
| 32 | Summary(ja): Unionfs を使うプログラム用開発ツール |
|---|
| 33 | Group: Development/Libraries |
|---|
| 34 | Requires: %{name} = %{epoch}:%{version}-%{release} |
|---|
| 35 | |
|---|
| 36 | %description devel |
|---|
| 37 | Unionfs is a stackable unification file system. |
|---|
| 38 | |
|---|
| 39 | This package contains the header files and libraries needed for |
|---|
| 40 | developing programs using the Unionfs utilities library. |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | %prep |
|---|
| 44 | %setup -q -n %{origname}-%{version} |
|---|
| 45 | |
|---|
| 46 | |
|---|
| 47 | %build |
|---|
| 48 | ./bootstrap |
|---|
| 49 | %configure |
|---|
| 50 | %__make LIBTOOL=%{_bindir}/libtool |
|---|
| 51 | |
|---|
| 52 | |
|---|
| 53 | %install |
|---|
| 54 | rm -rf $RPM_BUILD_ROOT |
|---|
| 55 | %__make install DESTDIR=$RPM_BUILD_ROOT LIBTOOL=%{_bindir}/libtool |
|---|
| 56 | |
|---|
| 57 | rm $RPM_BUILD_ROOT%{_libdir}/lib*.{la,a} |
|---|
| 58 | |
|---|
| 59 | |
|---|
| 60 | %clean |
|---|
| 61 | rm -rf $RPM_BUILD_ROOT |
|---|
| 62 | %__make clean |
|---|
| 63 | |
|---|
| 64 | |
|---|
| 65 | %files |
|---|
| 66 | %defattr(-,root,root) |
|---|
| 67 | %doc AUTHORS ChangeLog COPYING NEWS README |
|---|
| 68 | %{_bindir}/* |
|---|
| 69 | %{_libdir}/*.so.* |
|---|
| 70 | %{_mandir}/man8/* |
|---|
| 71 | |
|---|
| 72 | |
|---|
| 73 | %files devel |
|---|
| 74 | %defattr(-,root,root) |
|---|
| 75 | %{_includedir}/* |
|---|
| 76 | %{_libdir}/*.so |
|---|
| 77 | %{_mandir}/man3/* |
|---|
| 78 | |
|---|
| 79 | |
|---|
| 80 | %changelog |
|---|
| 81 | * Wed Apr 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1:0.2.1-3 |
|---|
| 82 | - add BuildRequires: libuuid-devel |
|---|
| 83 | |
|---|
| 84 | * Tue Apr 05 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1:0.2.1-2 |
|---|
| 85 | - rebuild for Vine 6 |
|---|
| 86 | - remove static libs |
|---|
| 87 | |
|---|
| 88 | * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 1:0.2.1-1vl5 |
|---|
| 89 | - applied new versioning policy, spec in utf-8 |
|---|
| 90 | |
|---|
| 91 | * Mon Oct 22 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1:0.2.1-0vl1 |
|---|
| 92 | - updated to unionfs_utils 0.2.1 (separated from unionfs kernel patch itself) |
|---|
| 93 | - add Epoch: 1 |
|---|
| 94 | - add devel subpackage |
|---|
| 95 | |
|---|
| 96 | * Sat Dec 9 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-0vl2 |
|---|
| 97 | - changed Group to Applications/System |
|---|
| 98 | |
|---|
| 99 | * Thu Aug 31 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2-0vl1 |
|---|
| 100 | - new upstream release |
|---|
| 101 | |
|---|
| 102 | * Thu Aug 18 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.13-0vl1 |
|---|
| 103 | - initial build |
|---|
| 104 | |
|---|
| 105 | * Tue Jun 12 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12a-0vl1 |
|---|
| 106 | - initial build |
|---|