|
Revision 6, 1.1 KB
(checked in by jhuntwork, 10 months ago)
|
|
Use a more FHS-compatible info directory location
|
| Line | |
|---|
| 1 | Summary: GNU Streams Editor |
|---|
| 2 | Name: sed |
|---|
| 3 | Version: 4.2.1 |
|---|
| 4 | Release: 2 |
|---|
| 5 | Group: System Environment/Base |
|---|
| 6 | License: GPLv2 |
|---|
| 7 | Distribution: LightCube OS |
|---|
| 8 | Vendor: LightCube Solutions |
|---|
| 9 | URL: http://www.gnu.org/software/sed |
|---|
| 10 | Source: http://dev.lightcube.us/~jhuntwork/sources/%{name}/%{name}-%{version}.tar.bz2 |
|---|
| 11 | |
|---|
| 12 | Requires: base-layout, glibc |
|---|
| 13 | Requires(post): texinfo, bash, ncurses |
|---|
| 14 | |
|---|
| 15 | %description |
|---|
| 16 | Sed is used to filter text and perform modifications on it. |
|---|
| 17 | |
|---|
| 18 | %prep |
|---|
| 19 | %setup -q |
|---|
| 20 | |
|---|
| 21 | %build |
|---|
| 22 | ./configure --prefix=/usr --bindir=/bin |
|---|
| 23 | make |
|---|
| 24 | make check |
|---|
| 25 | |
|---|
| 26 | %install |
|---|
| 27 | make DESTDIR=%{buildroot} install |
|---|
| 28 | rm -f %{buildroot}/usr/share/info/dir |
|---|
| 29 | %find_lang %{name} |
|---|
| 30 | |
|---|
| 31 | %post |
|---|
| 32 | /usr/bin/install-info /usr/share/info/sed.info /usr/share/info/dir |
|---|
| 33 | |
|---|
| 34 | %preun |
|---|
| 35 | /usr/bin/install-info --delete /usr/share/info/sed.info /usr/share/info/dir |
|---|
| 36 | |
|---|
| 37 | %clean |
|---|
| 38 | rm -rf %{buildroot} |
|---|
| 39 | |
|---|
| 40 | %files -f %{name}.lang |
|---|
| 41 | %defattr(-,root,root) |
|---|
| 42 | /bin/sed |
|---|
| 43 | /usr/share/info/sed.info |
|---|
| 44 | /usr/share/man/man1/sed.1 |
|---|
| 45 | |
|---|
| 46 | %changelog |
|---|
| 47 | * Fri Oct 30 2009 Jeremy Huntwork <jhuntwork@lightcubesolutions.com> - 4.2.1-2 |
|---|
| 48 | - Use FHS compatible info directories |
|---|
| 49 | |
|---|
| 50 | * Sat Jul 25 2009 Jeremy Huntwork <jhuntwork@lightcubesolutions.com> - 4.2.1-1 |
|---|
| 51 | - Initial version |
|---|