source: projects/specs/trunk/d/dia/dia-vl.spec @ 5316

Revision 5316, 7.3 KB checked in by Takemikaduchi, 12 years ago (diff)

mate: change category
fontconfig: rebuild
others: new upstream release

Line 
1# %%define extraver 1
2
3%define _gtk_ver 2.10.0
4%define _glib_ver 2.12.0
5%define _pango_ver 1.16.0
6%define _freetype_ver 2.3.0
7%define _libxml_ver 2.6.27
8%define _cairo_ver 1.4.6
9
10Summary: A gtk+ based diagram creation program.
11Summary(ja): Gtk+ ベースのダイアグラム作成プログラム
12Name: dia
13Version: 0.97.2
14Release: 1%{?_dist_release}
15License: GPL
16Group: Applications/Graphics
17
18Source: http://ftp.gnome.org/pub/GNOME/sources/dia/%{version}/dia-%{version}%{?extraver:-%extraver}.tar.xz
19
20URL: http://www.gnome.org/projects/dia/
21BuildRoot: %{_tmppath}/%{name}-%{version}-root
22Requires(post): desktop-file-utils, scrollkeeper
23Requires(postun): desktop-file-utils, scrollkeeper
24BuildRequires: gtk2-devel >= %{_gtk_ver}, glib2-devel >= %{_glib_ver}
25BuildRequires: pango-devel >= %{_pango_ver}
26BuildRequires: libgnome-devel, libgnomeui-devel
27BuildRequires: libxml2-devel >= %{_libxml_ver}, libxslt-devel
28BuildRequires: libpng-devel, libart_lgpl-devel
29BuildRequires: freetype2-devel >= %{_freetype_ver}
30BuildRequires: cairo-devel >= %{_cairo_ver}
31BuildRequires: libSM-devel
32BuildRequires: perl
33BuildConflicts: glitz-devel
34
35Vendor: Project Vine
36Distribution: Vine Linux
37
38%description
39Dia is a program designed to be much like the Windows
40program 'Visio'. It can be used to draw different kind of diagrams. In
41this first version there is support for UML static structure diagrams
42(class diagrams) and Network diagrams. It can currently load and save
43diagrams to a custom fileformat and export to postscript.
44
45%description -l ja
46Dia は Windows にある 'Visio' に似せて設計されたプログラムです。
47種々のダイアグラムを描写、編集することが可能です。
48この最初のバージョンでは、UML の静的構造ダイアグラム (クラス・ダイア
49グラム) とネットワーク・ダイアグラムがサポートされています。
50現在では, カスタムのファイル形式でダイアグラムを読み込みや保存した
51り、PostScript へ保存することができます。
52
53%prep
54%setup -q -n %{name}-%{version}%{?extraver:-%extraver}
55
56%build
57%configure --enable-gnome --enable-db2html --with-cairo
58%__make
59
60%install
61%__rm -rf %{buildroot}
62%makeinstall
63
64# remove unneeded files
65%__rm -rf %{buildroot}%{_localstatedir}/scrollkeeper
66%__rm -f %{buildroot}%{_datadir}/icons/hicolor/icon-theme.cache
67%__rm -rf %{buildroot}%{_datadir}/doc/dia
68
69%find_lang %{name}
70
71%clean
72%__rm -rf %{buildroot}
73
74%post
75%{_bindir}/update-desktop-database ||:
76%{_bindir}/scrollkeeper-update > /dev/null 2>&1 ||:
77touch --no-create %{_datadir}/icons/hicolor
78if [ -x /usr/bin/gtk-update-icon-cache ]; then
79  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
80fi
81
82%postun
83%{_bindir}/update-desktop-database ||:
84%{_bindir}/scrollkeeper-update > /dev/null 2>&1 ||:
85touch --no-create %{_datadir}/icons/hicolor
86if [ -x /usr/bin/gtk-update-icon-cache ]; then
87  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
88fi
89
90%files -f %{name}.lang
91%defattr(-,root,root)
92%doc README TODO NEWS INSTALL COPYING ChangeLog AUTHORS doc
93%{_bindir}/dia
94%{_libdir}/dia
95%{_mandir}/man1/dia.1*
96%{_datadir}/dia
97%{_datadir}/applications/*
98%{_datadir}/mime-info/*
99%{_datadir}/icons/hicolor/*
100%dir %{_datadir}/omf/dia
101%{_datadir}/omf/dia/*
102%{_datadir}/gnome/help/dia
103
104%changelog
105* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.97.2-1
106- new upstream release
107
108* Sun Apr 17 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.97.1-2
109- rebuilt with current VineSeed
110
111* Thu Mar 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.97.1-1
112- new upstream release
113
114* Sun Nov 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.97-2
115- add BR: libSM-devel (<BTS:828>)
116
117* Mon Nov 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.97-1
118- new upstream release
119
120* Tue Jul 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.96.1-1
121- applied new versioning policy
122- spec in UTF-8
123
124* Thu May 24 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.96.1-0vl1
125- new upstream release
126
127* Sat Oct 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.95-0vl4
128- [SECURITY] update to 0.95-1
129
130* Tue Sep 12 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.95-0vl3
131- add BuildConflicts: glitz-devel not to depend on glitz
132
133* Sun Sep 10 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.95-0vl2
134- change Group to Applications/Graphics. <BTS:VineLinux:163>
135
136* Thu Apr 20 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.95-0vl1
137- upstream release
138- update source-URL
139- drop BuildRequires: automake17
140
141* Sat Apr 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.95-0vl0.0pre9
142- 0.95-pre9
143
144* Thu Apr 06 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.95-0vl0.0pre8
145- 0.95-pre8
146- enable cairo plugin
147- add BuildRequires: cairo-devel, Requires: cairo
148
149* Thu Mar 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.95-0vl0.0pre7
150- 0.95-pre7
151
152* Sat Mar 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.95-0vl0.0pre6
153- 0.95-pre6
154
155* Tue Mar 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.95-0vl0.0pre5
156- 0.95-pre5
157
158* Tue Feb 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.95-0vl0.0pre1
159- 0.95-pre1
160- drop obsolete patch1
161- run scrollkeeper-update at %%post,postun
162- add PreReq: scrollkeeper
163
164* Sat Jul 16 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.94-0vl1
165- upstream release
166- drop BuildPrereq: desktop-file-utils (not used)
167- run update-desktop-database at %%post,postun
168- add PreReq: desktop-file-utils
169- drop obsolete patch0
170
171* Thu Aug 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.93-0vl3
172- use defalut ja.po file
173- fixed encoding of sheet/Cybernetics.in (patch1)
174
175* Sat Jul 31 2004 Tomoya TAKA <taka@vinelinux.org> 0.93-0vl2
176- use GtkType rather than guint (patch0)
177- update URL:
178
179* Wed Jul 28 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.93-0vl1
180- new upstream release
181
182* Mon Nov  3 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.92.2-0vl1
183- new upstream release
184- updated ja.po
185
186* Sun Jun 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.91-0vl2
187- applyed dia-0.91-help.patch and dia-0.91-css.patch from Redhat Rawhide
188- fixed Requires, BuildRequires and BuildPreReq
189- fixed gnome-dia.desktop
190- merged newly ja.po
191
192* Sun Jun 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.91-0vl1
193- rebuild with new toolchains and Gnome2
194- modified specfile based on Redhat Rawhide 0.90-11
195
196* Tue Sep 25 2001 Satoshi MACHINO <machino@vinelinux.org> dia-0.88.1-0vl1
197- updated 0.88.1
198- added Requires: gtk+ imlib
199- updated patch1
200
201* Fri Apr 20 2001 Daisuke SUZUKI <daisuke@linux.or.jp> dia-0.86-0vl3
202- brush up this spec files
203
204* Fri Apr 20 2001 Daisuke SUZUKI <daisuke@linux.or.jp> dia-0.86-0vl2
205- changed to use TrueType Fonts for screen.
206
207* Tue Aug 29 2000 MACHINO, Satoshi <mac@netfort.gr.jp>
208- updated dia-0.86 and ja patch's
209- removed vfont.patch
210- fixed %files section to handle compressed man page
211
212* Fri Aug 11 2000  Yasuyuki Furukawa <furukawa@vinelinux.org>
213- updated ja patch to rel 8.
214- added vfont patch
215
216* Fri Mar 31 2000  Yasuyuki Furukawa <furukawa@vinelinux.org>
217- updated to 0.84
218
219* Fri Feb 21 2000  Yasuyuki Furukawa <furukawa@vinelinux.org>
220- updated Japanese patch
221
222* Fri Feb 18 2000  Yasuyuki Furukawa <furukawa@vinelinux.org>
223- added Japanese patch and some bug fix patches from http://www.u-aizu.ac.jp/%7Em5031201/dia/
224
225* Sun Sep 5 1999  James Henstridge <james@daa.com.au>
226- added $(prefix)/share/dia to files list.
227
228* Thu Apr 29 1999  Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
229- Made %setup quiet
230- Enabled build from cvs
231- Removed superfluous mkdir's
232- using DESTDIR and install-strip
233
234* Fri Aug 28 1998  Francis J. Lacoste <francis@Contre.COM>
235- First RPM release.
Note: See TracBrowser for help on using the repository browser.