source: projects/specs/trunk/g/glade/glade-vl.spec @ 521

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

import VineSeed package specs

Line 
1%define ver     0.6.4
2%define rel     12%{?_dist_release}
3
4Summary:        Gtk+ GUI builder
5Summary(ja):    Gtk+ GUI ビルダ
6Name:           glade
7Version:        %{ver}
8Release:        %{rel}
9License:        GPL
10Group:          Applications/Development
11URL:            http://glade.gnome.org/
12
13Source:         http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.6/%{name}-%{ver}.tar.gz
14Patch:          glade-scrollkeeper-dtd.patch
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17BuildRequires:  gnome-libs-devel >= 1.4.2-2vl5
18BuildRequires:  gtk+-devel >= 1.2
19BuildRequires:  bonobo-devel >= 0.27
20BuildRequires:  gnome-print-devel >= 0.37-2vl5
21BuildRequires:  desktop-file-utils, scrollkeeper
22Prereq:         scrollkeeper
23
24Vendor: Project Vine
25Distribution: Vine Linux
26
27%description
28Glade is a RAD tool to enable quick & easy development of user interfaces
29for the GTK+ toolkit and the Gnome desktop environment. It also contains
30built-in support for generating the C source code needed to recreate the
31interfaces.
32
33%description -l ja
34Glade は Gtk+ ツールキットおよび Gnome デスクトップ環境での
35ユーザインタフェースを、簡単に素早く作るための RAD ツールです。
36C、C++、Perl、Python 向けのソースコードを作れます。
37
38
39%prep
40%setup -q
41%patch -p0 -b .scrollkeeper-dtd
42
43%build
44%configure --with-bonobo
45
46make %{?_smp_mflags} PACKAGE_PIXMAPS_DIR=%{_datadir}/pixmaps/glade
47
48tar czf examples.tgz examples
49mv doc/*.txt ./
50
51
52%install
53[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
54%makeinstall PACKAGE_PIXMAPS_DIR=$RPM_BUILD_ROOT%{_datadir}/pixmaps/glade
55
56mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
57desktop-file-install --vendor net --delete-original         \
58  --dir $RPM_BUILD_ROOT%{_datadir}/applications             \
59  --add-category X-Red-Hat-Extra                            \
60  --add-category Application                                \
61  --add-category Development                                \
62  $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Development/glade.desktop
63
64perl -pi -e 's/GTK+/GTK+ 1.2/' $RPM_BUILD_ROOT%{_datadir}/applications/net-glade.desktop
65
66%find_lang %{name}
67
68rm -rf $RPM_BUILD_ROOT%{_localstatedir}/{scrollkeeper,lib/scrollkeeper}
69
70%clean
71[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
72
73%post
74scrollkeeper-update > /dev/null 2>&1 || :
75
76%postun
77scrollkeeper-update > /dev/null 2>&1 || :
78
79
80%files -f %{name}.lang
81%defattr(-, root, root)
82%doc AUTHORS COPYING ChangeLog INSTALL README NEWS TODO
83%doc examples.tgz *.txt
84%{_bindir}/glade
85%{_datadir}/applications
86%{_datadir}/glade
87%{_datadir}/gnome/help/glade
88%{_datadir}/omf/glade
89%{_datadir}/pixmaps/*
90
91
92%changelog
93* Sat May  2 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.4-12
94- rebuilt with gnome-libs-1.4.2-2vl5 (linking with db-4.6.21)
95- spec in UTF-8
96
97* Sat Jul 26 2008 Shu KONNO <owa@bg.wakwak.com> 0.6.4-11vl5
98- applied new versioning policy
99
100* Sat Dec 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.4-10vl3
101- added BuildRequires: gnome-print-devel
102- added Prereq: scrollkeeper
103- changed Group to Applications/Development
104
105* Sat Nov  6 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.6.4-10vl2
106- rebuilt with db4-4.2.52
107
108* Sun Jan 25 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.4-10vl1
109- rebuild with new toolchains
110- based on Fedora 0.6.4-10
111- remove Requires: gnome-db and BuildPreReq: gnome-db-devel
112- add BuildPreReq: desktop-file-utils
113- modified spec file to add  %post and %postun section
114- s/Copyright/License/
115
116* Thu Mar 28 2002 Jun Nishii <jun@vinelinux.org> 0.6.4-0vl2
117- added Prereq: scrollkeeper
118
119* Thu Mar 07 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.6.4-0vl1
120- updated to new upstream release
121
122* Wed May 09 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
123- 0.6.2-0vl1
124- New upstream release.
125
126* Wed Mar 28 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.6.1-0vl1
127- New upstream release.
128
129* Tue Mar  6 2001 Shoji Matsumoto <shom@vinelinux.org> 0.5.11-0vl1
130- created
131
Note: See TracBrowser for help on using the repository browser.