source: projects/specs/trunk/g/gtk3-engines/gtk3-engines-vl.spec @ 8084

Revision 8084, 3.9 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary:        Theme engines for GTK+ 3.x
4Summary(ja):    GTK+ 3.x 用テーマエンジン
5Name:           gtk3-engines
6Version:        2.91.1
7Release:                2%{?_dist_release}
8License:        GPL
9Group:          System Environment/Libraries
10Source:         ftp://ftp.gnome.org/pub/gnome/sources/gtk-engines/2.91/gtk-engines-%{version}.tar.bz2
11
12Requires:       gtk3 >= 2.91.0
13BuildRequires:  gtk3-devel >= 2.91.0
14Conflicts:      gnome-themes < 2.8.2-0vl1
15Conflicts:      gnome-themes-extras < 0.8-0vl2
16
17URL:            http://www.gnome.org/
18
19BuildRoot:      %{_tmppath}/%{name}-%{version}-root
20
21Vendor: Project Vine
22Distribution: Vine Linux
23
24%description
25The gtk3-engines package contains shared objects and configuration
26files that implement a number of GTK+ theme engines. Theme engines
27provide different looks for GTK+, some of which resemble other
28toolkits or operating systems. This package is for GTK+ 3.0,
29the gtk+-engines package is for GTK+ 1.2.
30the gtk2-engines package is for GTK+ 2.x.
31
32
33%package devel
34Summary:        Development environment for gtk3-engines
35Summary(ja):    gtk3-enginesの開発環境
36Group:          Development/Libraries
37Requires:       %{name} = %{version}-%{release}
38Requires:       pkgconfig
39
40%description devel
41Header files and libraries for building a extension library for the
42gtk3-engines.
43
44
45# compat32
46%package -n compat32-%{name}
47Summary:        Theme engines for GTK+ 3.x
48Summary(ja):    GTK+ 3.x 用テーマエンジン
49Group:          System Environment/Libraries
50Requires:       %{name} = %{version}-%{release}
51
52%description -n compat32-%{name}
53The gtk3-engines package contains shared objects and configuration
54files that implement a number of GTK+ theme engines. Theme engines
55provide different looks for GTK+, some of which resemble other
56toolkits or operating systems. This package is for GTK+ 3.0,
57the gtk+-engines package is for GTK+ 1.2.
58the gtk2-engines package is for GTK+ 2.x.
59
60%package -n compat32-%{name}-devel
61Summary:        Development environment for gtk3-engines
62Summary(ja):    gtk3-enginesの開発環境
63Group:          Development/Libraries
64Requires:       %{name} = %{version}-%{release}
65Requires:       pkgconfig
66
67%description -n compat32-%{name}-devel
68Header files and libraries for building a extension library for the
69gtk3-engines.
70
71%prep
72%setup -q -n gtk-engines-%{version}
73
74%build
75
76%configure
77%__make
78
79%install
80rm -rf $RPM_BUILD_ROOT
81
82%makeinstall
83
84# remove backup files that shouldn't be here.  Fix me.
85find $RPM_BUILD_ROOT%{_datadir}/themes -name \*~ | xargs rm -rvf
86
87# No, we don't need to package these either
88find $RPM_BUILD_ROOT%{_datadir}/themes -type d -name ".xvpics" | xargs rm -rvf
89
90# sanitize permissions
91find $RPM_BUILD_ROOT%{_datadir}/themes -type d -exec chmod 755 {} \;
92find $RPM_BUILD_ROOT%{_datadir}/themes -type f -name "*.png" -exec chmod 644 {} \;
93find $RPM_BUILD_ROOT%{_datadir}/themes -name "gtkrc*" -perm +111 -exec chmod 644 {} \;
94
95# remove unpackaged files
96rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/*/engines/lib*.la
97
98%clean
99rm -rf $RPM_BUILD_ROOT
100
101%files
102%defattr(-, root, root, -)
103%doc COPYING README ChangeLog
104%attr (755, root, root) %{_libdir}/gtk-3.0/*/engines/*.so
105%dir %{_libdir}/gtk-3.0
106%dir %{_libdir}/gtk-3.0/*
107%dir %{_libdir}/gtk-3.0/*/engines
108%{_datadir}/themes/*
109%{_datadir}/gtk-engines/3.0/*.xml
110%{_datadir}/locale
111
112%files devel
113%defattr(-, root, root, -)
114%{_libdir}/pkgconfig/*
115
116# compat32
117%if %{build_compat32}
118%files -n compat32-%{name}
119%defattr(-, root, root, -)
120%attr (755, root, root) %{_libdir}/gtk-3.0/*/engines/*.so
121%dir %{_libdir}/gtk-3.0
122%dir %{_libdir}/gtk-3.0/*
123%dir %{_libdir}/gtk-3.0/*/engines
124%{_libdir}/pkgconfig/*
125
126%files -n compat32-%{name}-devel
127%defattr(-, root, root, -)
128%{_libdir}/pkgconfig/*
129%endif
130
131%changelog
132* Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.1-2
133- rebuild with VineSeed environment
134
135* Sat May 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.1-1
136- initial build for Vine Linux
137
Note: See TracBrowser for help on using the repository browser.