Accepting request 82264 from KDE:Distro:Factory
- Changed descriptions and summaries (fix for RPMLINT warning) - Removed tests for obsolete openSUSE versions (fix for RPMLINT warning) - Cleaned up spec file formatting (forwarded request 82186 from TheBlackCat) (forwarded request 82187 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/82264 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocs?expand=0&rev=7
This commit is contained in:
parent
142f741302
commit
e34ac34203
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 13 12:41:10 UTC 2011 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Changed descriptions and summaries (fix for RPMLINT warning)
|
||||||
|
- Removed tests for obsolete openSUSE versions (fix for RPMLINT warning)
|
||||||
|
- Cleaned up spec file formatting
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 1 23:32:25 CEST 2011 - dmueller@suse.de
|
Thu Sep 1 23:32:25 CEST 2011 - dmueller@suse.de
|
||||||
|
|
||||||
|
69
rocs.spec
69
rocs.spec
@ -15,11 +15,11 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: rocs
|
Name: rocs
|
||||||
|
BuildRequires: avogadro-devel
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
BuildRequires: freeglut-devel
|
BuildRequires: freeglut-devel
|
||||||
|
BuildRequires: glew-devel
|
||||||
BuildRequires: gsl-devel
|
BuildRequires: gsl-devel
|
||||||
BuildRequires: kdebase4-workspace-devel
|
BuildRequires: kdebase4-workspace-devel
|
||||||
BuildRequires: libcfitsio-devel
|
BuildRequires: libcfitsio-devel
|
||||||
@ -32,15 +32,7 @@ BuildRequires: libqalculate-devel
|
|||||||
BuildRequires: libspectre-devel
|
BuildRequires: libspectre-devel
|
||||||
BuildRequires: python-qt4-devel
|
BuildRequires: python-qt4-devel
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
%if 0%{?sles_version} == 0
|
|
||||||
BuildRequires: glew-devel
|
|
||||||
BuildRequires: python
|
|
||||||
BuildRequires: python-devel
|
|
||||||
%if 0%{?suse_version} > 1120
|
|
||||||
BuildRequires: avogadro-devel
|
|
||||||
%endif
|
|
||||||
%py_requires
|
%py_requires
|
||||||
%endif
|
|
||||||
|
|
||||||
# currently in DOESNOTBUILD (2008-07-03)
|
# currently in DOESNOTBUILD (2008-07-03)
|
||||||
%ifnarch ppc ppc64 s390 s390x
|
%ifnarch ppc ppc64 s390 s390x
|
||||||
@ -50,7 +42,7 @@ BuildRequires: ocaml-facile
|
|||||||
Version: 4.7.1
|
Version: 4.7.1
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Summary: Graph Theory IDE for professors and students
|
Summary: Graph Theory IDE
|
||||||
Url: http://edu.kde.org
|
Url: http://edu.kde.org
|
||||||
Group: Amusements/Teaching/Mathematics
|
Group: Amusements/Teaching/Mathematics
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
@ -66,8 +58,18 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
%description
|
%description
|
||||||
A Graph Theory IDE for professors and students
|
A Graph Theory IDE for professors and students
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
License: GPLv2+
|
||||||
|
Summary: Development files for rocs
|
||||||
|
Group: Development/Libraries/KDE
|
||||||
|
Requires: rocs = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package provides development files and headers needed
|
||||||
|
to build software using rocs
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -79,49 +81,36 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
cd build
|
cd build
|
||||||
%make_install
|
%make_install
|
||||||
%suse_update_desktop_file %{name} Education Math
|
%suse_update_desktop_file %{name} Education Math
|
||||||
%kde_post_install
|
%kde_post_install
|
||||||
%if 0%{?suse_version} > 1020
|
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
%endif
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%package devel
|
%post -p /sbin/ldconfig
|
||||||
License: GPLv2+
|
%postun -p /sbin/ldconfig
|
||||||
Summary: Graph Theory IDE for professors and students
|
|
||||||
Group: Development/Libraries/KDE
|
|
||||||
Requires: rocs = %{version}
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
A Graph Theory IDE for professors and students:
|
|
||||||
|
|
||||||
%post devel -p /sbin/ldconfig
|
|
||||||
|
|
||||||
|
%post devel -p /sbin/ldconfig
|
||||||
%postun devel -p /sbin/ldconfig
|
%postun devel -p /sbin/ldconfig
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/rocs/
|
%{_includedir}/rocs/
|
||||||
%_kde4_libdir/librocslib.so
|
%{_kde4_libdir}/librocslib.so
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_kde4_bindir/rocs
|
%{_kde4_applicationsdir}/rocs.desktop
|
||||||
%_kde4_modulesdir/rocs_*
|
%{_kde4_appsdir}/rocs/
|
||||||
%_kde4_libdir/librocslib.so.*
|
%{_kde4_bindir}/rocs
|
||||||
%_kde4_applicationsdir/rocs.desktop
|
%config %{_kde4_configdir}/rocs.knsrc
|
||||||
%_kde4_htmldir/en/rocs/
|
%config %{_kde4_configkcfgdir}/rocs.kcfg
|
||||||
%_kde4_appsdir/rocs/
|
%doc %{_kde4_htmldir}/en/rocs/
|
||||||
%_kde4_sharedir/config.kcfg/rocs.kcfg
|
%{_kde4_libdir}/librocslib.so.*
|
||||||
%_kde4_configdir/rocs.knsrc
|
%{_kde4_modulesdir}/rocs_*
|
||||||
%_kde4_servicesdir/rocs_*
|
%{_kde4_servicesdir}/rocs_*
|
||||||
%_kde4_servicetypesdir/*.desktop
|
%{_kde4_servicetypesdir}/*.desktop
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user