source: projects/specs/branches/6/g/glade/glade-vl.spec @ 5648

Revision 5648, 4.1 KB checked in by Takemikaduchi, 12 years ago (diff)

arpscan, aslookup, audacity, black-box, bookview, bumprace, gimp-help, js: new upstream release
libsrtp, gstreamer-filters: new package
others: rebuild

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