source: projects/specs/trunk/g/gnome-cups-manager/gnome-cups-manager-vl.spec @ 1443

Revision 1443, 5.0 KB checked in by Takemikaduchi, 14 years ago (diff)

pidgin: rebuild only, others: new upstream release

Line 
1Summary: GNOME CUPS printer management tool
2Summary(ja): GNOME CUPS プリンタ管理ツール
3Name: gnome-cups-manager
4Version: 0.33
5Release: 1%{?_dist_release}
6License: GPL
7Group: Applications/System
8URL: http://www.ximian.com
9Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{version}/%{name}-%{version}.tar.bz2
10Source11: %{name}.desktop
11Source100: vine-testpage-a4.eps
12Patch10: %{name}-0.31cvs-gksu.patch
13Patch11: %{name}-0.30-vine.patch
14Patch12: %{name}-0.31cvs-gksu-quote-args.patch
15
16Patch20: gnome-cups-manager-0.31.0-add-printer.patch
17Patch21: gnome-cups-manager-0.31.0-gnome-cups-icon.patch
18Patch22: gnome-cups-manager-0.31.0-gnome-cups-manager.patch
19
20BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
21BuildRequires: libgnomeui-devel
22BuildRequires: libglade2-devel
23BuildRequires: libgnomecups-devel
24BuildRequires: samba-libsmbclient-devel
25BuildRequires: libSM-devel
26BuildRequires: desktop-file-utils
27Requires: libgnomecups, libgnomeui, libglade2, hicolor-icon-theme, cups
28Requires: gksu
29#Requires: pam, usermode, usermode-gtk
30Obsoletes: printman
31Provides: printman
32
33%description
34gnome-cups-manager is CUPS printer management tool for GNOME environment.
35
36%description -l ja
37gnonme-cups-manager は GNOME 用 CUPS プリンタ管理ツールです。
38
39
40%package devel
41Summary: Development files for GNOME-CUPS library
42Summary(ja): GNOME-CUPS 統合ライブラリ用開発ファイル
43Group: Development/Libraries
44Requires: %{name} = %{version}-%{release}
45Provides: libgnomecupsui-devel = %{version}-%{release}
46
47%description devel
48Development files for GNOME-CUPS library
49
50
51%prep
52%setup -q
53%patch10 -p1 -b .gksu
54%patch11 -p1 -b .vine
55%patch12 -p1 -b .gksu-quote-args
56## %patch20 -p1 -b .add-printer
57%patch21 -p1 -b .gnome-cups-icon
58%patch22 -p1 -b .gnome-cups-manager
59
60# copy vine-testpage-a4
61cp -f %{SOURCE100} gnome-cups-manager/xd2-testpage-a4.eps
62
63sed -i -e 's/GNOME_COMPILE_WARNINGS(maximum)//g' configure.in
64
65%build
66## intltoolize -f -c
67## autoreconf
68%configure
69%__make %{?_smp_mflags}
70
71%install
72rm -rf $RPM_BUILD_ROOT
73%makeinstall
74
75# remove unpackaged files
76rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
77
78%find_lang %{name}
79
80desktop-file-install --vendor=gnome             \
81  --dir %{buildroot}%{_datadir}/applications    \
82  --add-category Application                    \
83  --add-category System                         \
84  %{SOURCE11}
85
86
87%clean
88rm -rf $RPM_BUILD_ROOT
89
90%post -p /sbin/ldconfig
91
92%postun -p /sbin/ldconfig
93
94
95%files -f %{name}.lang
96%defattr(-,root,root,-)
97%doc README ChangeLog NEWS
98%{_bindir}/*
99%{_sbindir}/*
100%{_datadir}/gnome-cups-manager
101%{_datadir}/icons/hicolor/48x48/devices/*
102%{_datadir}/icons/hicolor/48x48/stock/*
103%{_datadir}/pixmaps/*
104%{_datadir}/applications/*.desktop
105%{_libdir}/*.so.*
106%{_libdir}/bonobo/servers/*
107#%{_sysconfdir}/security/console.apps/*
108#%{_sysconfdir}/pam.d/*
109
110%files devel
111%defattr(-,root,root,-)
112%{_libdir}/*.so
113%{_libdir}/*.a
114%{_libdir}/pkgconfig/*
115%{_includedir}/*
116
117
118%changelog
119* Sat Jul 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.33-1
120- new upstream release
121- add BuildRequires: libSM-devel, desktop-file-utils
122- drop Patch20
123- comment out (intltoolize and autoreconf)
124
125* Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 0.31.0.20060307-1vl5
126- applied new versioning policy, spec in utf-8
127
128* Tue Aug 28 2007 Shu KONNO <owa@bg.wakwak.com> 0.31.0.20060307-0vl5
129- add BuildRequires: samba-libsmbclient-devel
130- add Patch20: gnome-cups-manager-0.31.0-add-printer.patch
131- add Patch21: gnome-cups-manager-0.31.0-gnome-cups-icon.patch
132- add Patch22: gnome-cups-manager-0.31.0-gnome-cups-manager.patch
133
134* Wed May 16 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.31.0.20060307-0vl4
135- add Patch12 to fix <BTS:373>
136
137* Mon May 14 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.31.0.20060307-0vl3
138- rebuild with new environment/toolchain
139
140* Sat Mar 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.31.0.20060307-0vl2
141- fix broken testpage
142
143* Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.31.0.20060307-0vl1
144- update to cvs snapshot
145- add vine-testpage-a4.eps
146
147* Sun Mar 27 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.30-0vl1
148- new upstream release
149
150* Tue Aug 10 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.22-0vl2
151- update Patch11 to use gksu instead of gnomesu (to remove printer)
152
153* Tue Aug 10 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.22-0vl1
154- new upstream release
155
156* Sun Aug 01 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.19-0vl1
157- new upstream release
158- update ja.po
159- add Patch11 to not use gnomesu
160- use consolehelper for gnome-cups-add
161- add Requires to usermode and usermode-gtk
162- add Reuiqres to hicolor-icon-theme
163
164* Sun Jul 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.18-0vl2
165- copy hicolor icons to gnome2.4 default icon directory
166
167* Mon Jun 21 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.18-0vl1
168- new upstream release
169
170* Sun Nov 09 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.17-0vl3
171- update ja.po
172- add desktop-files
173
174* Sun Nov 09 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.17-0vl2
175- update Patch10 to add missing entry to POTFILES
176- update ja.po
177
178* Sun Nov 09 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.17-0vl1
179- Initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.