-
Notifications
You must be signed in to change notification settings - Fork 14
/
motor.spec
47 lines (37 loc) · 1.37 KB
/
motor.spec
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
44
45
46
47
Summary: Text mode based programming IDE for Linux
Name: motor
Version: 3.4.0
Release: 1
Copyright: GPL
Group: Development/Tools
Source: http://konst.org.ua/download/%{name}-%{version}.tar.gz
URL: http://konst.org.ua/motor/
Packager: Konstantin Klyagin <[email protected]>
BuildRoot: /var/tmp/%{name}-buildroot/
%description
Motor is a text mode based programming environment for Linux. It
consists of a powerful editor with syntax highlight feature, project
manager, makefile generator, gcc and gdb front-end, etc. Deep CVS
integration is also provided. It can also generate distribution packages
in any format. Almost everything is done using templates, thus any kind
of language or distribution can be added easily.
%prep
%setup
%build
./configure --prefix=/usr
make
%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc install
find $RPM_BUILD_ROOT/usr/ -type f -print | \
egrep -v '(README|COPYING|INSTALL|TODO|ChangeLog|FAQ)$|tutorial\/.*|share\/motor\/templates\/.*' | \
sed "s@^$RPM_BUILD_ROOT@@g" | sed 's/^\(.\+\/man.\+\)$/\1*/g' \
> %{name}-%{version}-filelist
echo "/usr/share/motor/templates/*" \
>> %{name}-%{version}-filelist
%clean
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version}
%files -f %{name}-%{version}-filelist
%defattr(-, root, root)
%doc README COPYING INSTALL TODO ChangeLog FAQ tutorial/*
%changelog