File: mp.spec

package info (click to toggle)
mped 3.3.17-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,288 kB
  • ctags: 1,635
  • sloc: ansic: 13,150; sh: 393; makefile: 232; perl: 66
file content (43 lines) | stat: -rw-r--r-- 556 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Skeletton RPM

Summary: Simple yet useful Editor, text and Gtk mode
Name: mp
Version: 3.2.0
Release: 1
Copyright: GPL
Group: System Environment/Libraries
#URL:
Source: %{name}-%{version}.tar.gz
#Source1:
#Patch:
BuildRoot:   /var/tmp/%{name}-%{version}-root


%description

Simple yet useful Editor, text and Gtk mode


%prep
case "${RPM_COMMAND:-all}" in
all)
%setup -q
#%patch -p1
;;
esac


%build

export CFLAGS="$RPM_OPT_FLAGS"
make


%install

mkdir -p $RPM_BUILD_ROOT/usr/bin
make PREFIX=$RPM_BUILD_ROOT/usr install

%clean

rm -rf $RPM_BUILD_ROOT