source: projects/specs/trunk/s/sagcad/sagcad-vl.spec @ 521

Revision 521, 2.0 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define version  0.9.6
2%define release  1%{?_dist_release}
3
4Summary:        SagCAD is CAD/CAM of 2D.
5Summary(ja):    SagCAD - 2次元 CAD/CAM ソフトウエア
6Name:           sagcad
7Version:        %{version}
8Release:        %{release}
9URL:            http://sagcad.sourceforge.jp/index.html
10Group:          Applications/Graphics
11License:        GPL2
12Source:         sagcad-%{version}.tar.gz
13Source10:       sagcad.desktop
14Patch10:        sagcad-0.9.6-gnome-open.patch
15
16Requires:       glib >= 1.2, gtk+ >= 1.2
17BuildRequires:  gtk+-devel >= 1.2
18BuildRoot:      %{_tmppath}/%{name}-%{version}-root
19
20%description
21SagCAD is a CAD/CAM of 2D.
22Designed for the X Window System, it uses the GTK+ 1.2 libraries.
23
24%description -l ja
25SagCAD は 2 次元の CAD/CAM です。
26GTK+ 1.2 ライブラリを使い、X Window 上で動作します。
27
28%prep
29rm -rf $RPM_BUILD_ROOT
30
31%setup -q
32%patch10 -p0 -b .mozilla
33
34%build
35if [ ! -f configure ]; then
36  ./autogen.sh --prefix=%{_prefix}
37fi
38%configure
39%{__make}
40
41%install
42%makeinstall
43
44mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/
45cp -f %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/applications/
46
47%clean
48[ -n $RPM_BUILD_ROOT -a "SRPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(-,root,root)
52%doc AUTHORS* COPYING* README* TODO*
53%doc %{_datadir}/sagcad/doc/*
54%attr(755,root,root) %{_datadir}/sagcad/tool/*
55%attr(-,root,root) %{_bindir}/sagcad
56%{_datadir}/locale/*/LC_MESSAGES/sagcad.mo
57%{_datadir}/sagcad/font/*
58%{_datadir}/sagcad/example/*
59%{_datadir}/applications/
60
61%changelog
62* Wed Aug 27 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.6-1vl5
63- applied new versioning policy, spec in utf-8
64
65* Wed Jul 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.6-0vl4
66- rebuild for VineSeed (4.0)
67
68* Thu May 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.6-0vl2
69- rebuild for Vine Linux 3.x
70
71* Thu May 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.6-0vl3
72- fixed Kanji code of spec file
73- add desktop file
74
75*Thu Feb 12 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.6-0vl1
76- initial build for Vine Linux
77- add patch10 to use mozilla instead of netscape.
Note: See TracBrowser for help on using the repository browser.