source: projects/specs/trunk/o/obconf/obconf-vl.spec @ 9812

Revision 9812, 3.8 KB checked in by kudoh, 8 years ago (diff)

new upstream and rebuilt

Line 
1Name:           obconf
2Version:        2.0.4
3Release:        3%{?_dist_release}
4Summary:        A graphical configuration editor for the Openbox window manager
5Summary(ja):    Openbox ウインドウマネージャーのためのグラフィカルな設定エディター
6
7Group:          User Interface/X
8License:        GPLv2+
9URL:            http://openbox.org/wiki/ObConf:About
10Source0:        http://openbox.org/dist/obconf/%{name}-%{version}.tar.gz
11Source1:        obconf-2.0.3-ja.po
12#Patch0:         fix_freedesktop_compliance.patch
13#Patch1:         revert_new_button_layout.patch
14#Patch2:         show_specific_tab.dpatch
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17
18Requires:       openbox >= 3.5
19BuildRequires:  openbox-devel >= 3.5
20BuildRequires:  libglade2-devel
21BuildRequires:  startup-notification-devel
22BuildRequires:  pkgconfig
23BuildRequires:  desktop-file-utils
24BuildRequires:  libSM-devel
25
26%description
27ObConf is a graphical configuration editor for the Openbox window manager.
28
29%description -l ja
30ObConf は Openbox ウインドウマネージャーのためのグラフィカルな設定エディターです。
31
32%prep
33%setup -q
34## for ja.po
35%{__cp} -f %{SOURCE1} po/ja.po
36pushd po
37%{__mv} LINGUAS LINGUAS.orig
38grep -v '^ja' LINGUAS.orig > LINGUAS
39echo 'ja' >> LINGUAS
40msgfmt -o ja.gmo ja.po
41popd
42
43#%patch0 -p1
44#%patch1 -p1
45#%patch2 -p1
46
47%build
48%configure
49make %{?_smp_mflags}
50
51
52%install
53rm -rf %{buildroot}
54make install DESTDIR=%{buildroot}
55%find_lang %{name}
56desktop-file-install --vendor vine      \
57        --dir %{buildroot}%{_datadir}/applications      \
58        --add-category  X-System        \
59        --delete-original       \
60        %{buildroot}%{_datadir}/applications/%{name}.desktop
61
62
63%clean
64rm -rf %{buildroot}
65
66
67%post
68update-mime-database %{_datadir}/mime &> /dev/null
69update-desktop-database %{_datadir}/applications &> /dev/null
70:
71
72
73%postun
74update-mime-database %{_datadir}/mime &> /dev/null
75update-desktop-database %{_datadir}/applications &> /dev/null
76:
77
78
79%files -f %{name}.lang
80%defattr(-,root,root,-)
81%doc AUTHORS COPYING README
82%{_bindir}/%{name}
83%{_datadir}/%{name}/
84%{_datadir}/applications/vine-%{name}.desktop
85%{_datadir}/mime/packages/%{name}.xml
86%{_datadir}/mimelnk/
87%{_datadir}/pixmaps/%{name}.png
88
89
90%changelog
91* Sun Nov 15 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.4-3
92- rebuilt with openbox-3.6
93
94* Fri Jul 11 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.0.4-2
95- rebuild with openbox-3.5
96- use 2.0.4 release tar ball
97- drop all patches
98
99* Sat Feb 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.4-1.git20120217
100- new upstream release
101  - built trunk snapshot
102- added patch0-3 from Debian sid
103- fixed Summary(ja) and description -l ja
104- changed URL and Source0
105
106* Fri Jul 08 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-4
107- rebuilt with current environment
108
109* Wed Mar 25 2009 IWAI, Masaharu <iwai@alib.jp> - 2.0.3-3
110- add ja.po (SOURCE1)
111  - update %%prep section for ja.po
112
113* Fri Mar 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-2vl5
114- fixed some little problem
115
116* Fri Mar 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-1vl5
117- initial build for VineSeed
118- fixed Requires: openbox >= 3.4
119
120* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-3
121- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
122
123* Thu Apr 17 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.3-2
124- Rebuild for new openbox
125
126* Sun Feb 03 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.3-1
127- Update to 2.0.3
128
129* Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.2-2
130- Update license tag
131
132* Mon Jul 23 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.2-1
133- Update to 2.0.2
134
135* Thu Jun 14 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.1-1
136- Update to 2.0.1
137
138* Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-3
139- Mass FC6 rebuild
140
141* Thu Jul 13 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-2
142- Add BR: libSM-devel to fix build issue.
143
144* Fri Jun 09 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-1
145- Initial packaging.
Note: See TracBrowser for help on using the repository browser.